Template:Contains special characters/doc: Difference between revisions
| [checked revision] | [checked revision] |
Content deleted Content added
Caleb Cooper (talk | contribs) Created page with "{{Documentation subpage}} {{High-use}} {{Commons Import}} This template flags potential font/encoding issues for users when an article contains text which may not be rendered..." |
Caleb Cooper (talk | contribs) m Text replacement - "[[WP:" to "[[Wikipedia:WP:" |
||
Line 95:
; <code>|section=</code>: (optional) By default, this display "article" in an article and "page" on all other pages. You can manually specify a replacement for that word, usually {{para|section|section}}, but other values might be <code>list</code> or <code>table</code>. Note: The "{{para|section|y}}" syntax does not work; it will output the letter "y". <small>[[Template:YesNo|Support for that option]] can be added if it is desired.</small>
; <code>|image=</code>: (optional) Just the title (no <code>File:</code> or <code>Image:</code> 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 [[:File:Replacement character.svg|Replacement character.svg]]: [[File:Replacement character.svg|20px]], which can be given an {{para|alt=<?>}} description. (This is the default replacement character on Windows systems.)
; <code>|alt=</code>: (optional) The alt text for the image, for visually-impaired readers. See [[Wikipedia:WP:ALT]]. If the image is merely some text, the alt text should simply repeat that text.
; <code>|link=</code>: (optional) Name of the article that the image should link to. This should just be the title of the page, unlinked, usually <code>Specials (Unicode block)#Replacement character</code>, but perhaps <code>Mojibake</code> 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.
; <code>|width=</code>: (unusually unused) The default width of the image is <code>22em</code>. This can be made larger with this parameters, for a very small character, or considerably smaller for a short word.
| |||