This template is used on 3839 pages, and changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in a user subpage, and consider discussing changes at the talk page before implementing them. |
This template flags potential font/encoding issues for users when an article contains text which may not be rendered correctly on out-of-the-box installations of current operating systems.
Use this only in articles in which the presence of special characters is likely to confuse readers of affected articles; it is not needed on articles where special characters are ordinarily expected (mathematics articles, for instance).
Place at the top of affected articles, below any infobox. Each particular language should have a separate template that calls "Contains special characters" with the following parameters (as appropriate for that language).
Code | Renders as |
---|---|
{{Contains special characters | special = uncommon [[Unicode]] characters | fix = Help:Multilingual support | error = [[Specials (Unicode block)#Replacement character|question marks, boxes, or other symbols]] | characters = the intended characters | image = Replacement character.svg | link = Specials (Unicode block)#Replacement character | alt = <?> | compact = }} |
|
{{Contains special characters | special = uncommon [[Unicode]] characters | fix = Help:Multilingual support | image = Replacement character.svg | link = Specials (Unicode block)#Replacement character | alt = <?> | compact = yes }} |
|special=
|fix=
Help:Multilingual support
unless you have something more specific to point to for a particular language or use case (e.g. Help:IPA#Rendering issues
, used in the {{IPA notice}} derivative of this template).|error=
[[Specials (Unicode block)#Replacement character|question marks, boxes, or other symbols]]
, though ''[[mojibake]]''
may be good for East Asian languages.|characters=
|special=
. The entire "instead of" clause will not appear if this is blank (i.e., the template will end with the wording of |error=
or its default value).|section=
|section=section
, but other values might be list
or table
. Note: The "|section=y
" syntax does not work; it will output the letter "y". Support for that option can be added if it is desired.|image=
File:
or Image:
prefix) of an image of the characters, ideally legible at 65x50px and either square or slightly wider than tall. The template defaults to blank, but a reasonable suggestion for many circumstances is Replacement character.svg: , which can be given an |
description. (This is the default replacement character on Windows systems.)|alt=
|link=
Specials (Unicode block)#Replacement character
, but perhaps Mojibake
for East Asian languages. By default, the image is considered to be purely decorative and does not link to any article. If this parameter is specified, the alt parameter should also be specified.|width=
22em
. This can be made larger with this parameters, for a very small character, or considerably smaller for a short word.|compact=y
|characters=
and |error=
(so having an image |link=
that goes to the same page as |error=
is particularly useful, in case someone later turns on the |compact=y
feature. The above documentation is transcluded from সাঁচ:Contains special characters/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |