Template:Contains special characters

From blackwiki
Jump to navigation Jump to search

Template:Side box

Template documentation[view] [edit] [history] [purge]

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).

Usage

Place at the top of affected articles, below any infobox. Specific languages have pre-programmed values installed in "Contains special characters" that hard-code the following (as appropriate for that language, see list below).

Code Renders as
Typical implementations, with generally useful values:

{{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    = 
}}

Template:Side box


{{Contains special characters
| special    = uncommon [[Unicode]] characters
| fix        = Help:Multilingual support
| image      = Replacement character.svg
| link       = Specials (Unicode block)#Replacement character
| alt        = <?>
| compact    = yes
}}

Template:Side box

Language-specific simplification
{{Contains special characters|Armenian}}
Template:Side box
{{Contains special characters|Runic|section}}
Template:Side box
{{Contains special characters|Baybayin|compact=yes}}
Template:Side box

Parameters

|special=
The languages or special content the page includes. This is the text immediately after "This page contains". Free-form, so you can specify as many as you like. Remember to link to the articles for the characters / languages.
|fix=
The "rendering support" link to a page with the solution (installing fonts, etc.). This should just be the title of the fix page, unlinked. This should usually be 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 {{Contains special characters|IPA}} variant of this template).
|error=
(optiona; must be given a value or omitted entirely) The type of rendering error that will observed without the required support. Free-form wikicode, and will appear between "you may see" and "instead of". Defaults to: [[Specials (Unicode block)#Replacement character|question marks, boxes, or other symbols]], though ''[[mojibake]]'' may be good for East Asian languages.
|characters=
The specific type of characters that might be missing (i.e. kanji, kana). This is the final wording of the template, after "instead of". Free-form, remember to use links, if not already linked in |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=
(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 |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=
(optional) Just the title (no 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: Replacement character.svg, which can be given an | description. (This is the default replacement character on Windows systems.)
|alt=
(optional) The alt text for the image, for visually-impaired readers. See WP:ALT. If the image is merely some text, the alt text should simply repeat that text.
|link=
(optional) Name of the article that the image should link to. This should just be the title of the page, unlinked, usually 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=
(unusually unused) The default width of the image is 22em. This can be made larger with this parameters, for a very small character, or considerably smaller for a short word.
|compact=y
(optional) If set to any value, it will display a shorter form of the standard text, to save space. I suppresses display of the values of |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.

Languages

The following languages have hard-coded values, removing the necessity of the above Script error: No such module "Section link".. Note that |section= and |compact= are available for use even if the language is specified.

"Simplified" languages available for direct input
Language parameter Template rendering Examples of characters in question
{{Contains special characters|AA}} Template:Side box
  ____∧∧
~' ____(,,゚Д゚)
  UU    U U
{{Contains special characters|APL}} Template:Side box ⍟⍋⌹⋆⍕⍀←⌽⍳⍝
{{Contains special characters|Armenian}} Template:Side box հայերէն
{{Contains special characters|Balinese}} Template:Side box ᬅᬓ᭄ᬱᬭᬩᬮᬶ
{{Contains special characters|Baluchi}} Template:Side box بلوچی
{{Contains special characters|Baybayin}} Template:Side box ᜊᜌ᜔ᜊᜌᜒᜈ᜔ᜊᜇ᜔ᜎᜒᜆ᜔
{{Contains special characters|Braille}} Template:Side box ⠁⠧⠮⡀⢅⢑⢷⣪⣿
{{Contains special characters|Burmese}} Template:Side box မြန်မာအက္ခရာ
{{Contains special characters|Canadian}} Template:Side box ᐇᑹᑹᓓᓔᔔᕧᗶᙥᙶᙽ
{{Contains special characters|Cherokee}} Template:Side box ᏣᎳᎩ ᎦᏬᏂᎯᏍᏗ
{{Contains special characters|Coptic}} Template:Side box ϯⲙⲉⲧⲣⲉⲙⲛ̀ⲭⲏⲙⲓ ⲧⲙⲛ̄ⲧⲣⲙ̄ⲛ̄ⲕⲏⲙⲉ
{{Contains special characters|cuneiform}} Template:Side box 𒅇𒀉𒆤𒈿𒅅𒄠𒅈𒅕𒄑𒌦
{{Contains special characters|Deseret}} Template:Side box 𐐔𐐯𐑅𐐨𐑉𐐯𐐻 𐐔𐐯𐑆𐐲𐑉𐐯𐐻
{{Contains special characters|emoticon}} Template:Side box ⏰❤️🍉😂😩🛶☃✌❽🥇🏝️👧🏾
{{Contains special characters|Ethiopic}} Template:Side box ሀለበተኀነ𐩠𐩡ዘየደገጠ𐩴𐩮𐩰
{{Contains special characters|Georgian}} Template:Side box ქართული
{{Contains special characters|Glagolitic}} Template:Side box Ⰳⰾⰰⰳⱁⰾⰻⱌⰰ
{{Contains special characters|Gothic}} Template:Side box 𐌰𐌱𐌲𐌳𐌴𐌵𐌶𐌷𐌸𐌹𐌺𐌻𐌼𐌽𐌾𐌿𐍀𐍁𐍂𐍃𐍄𐍅𐍆𐍇𐍈𐍉𐍊
{{Contains special characters|Hebrew}} Template:Side box אָלֶף־בֵּית עִבְרִי
{{Contains special characters|Hindko}} Template:Side box بثجچشظعقگلمھے
{{Contains special characters|Hokkien}} Template:Side box 福建话閩南語Pe̍hōejīTâilô
{{Contains special characters|Indic}} Template:Side box 𑀕𑀖𑀗𑀘𑀙𑀚𑀝𑀞𑀟𑀢𑀣𑀤𑀧𑀨𑀩𑀪𑀭𑀮𑀴𑀱
{{Contains special characters|Javanese}} Template:Side box ꦲꦏ꧀ꦱꦫꦗꦮ
{{Contains special characters|Karen}} Template:Side box ကညီလံာ်ခီၣ်ထံး
{{Contains special characters|Khmer}} Template:Side box ភាសាខ្មែរ
{{Contains special characters|Khoekhoe}} Template:Side box ǀǁǃǂǀʰǁʰǃʰǂʰᵑǀᵑǁᵑǃᵑǂᵑ̊ǀʰᵑ̊ǁʰᵑ̊ǃʰᵑ̊ǂʰᵑ̊ǁˀᵑ̊ǃˀᵑ̊ǂˀ
{{Contains special characters|Lao}} Template:Side box ພາສາລາວ
{{Contains special characters|Lontara}} Template:Side box ᨒᨚᨈᨑ
{{Contains special characters|Manchu}} Template:Side box Page Template:MongolUnicode/fonts.css has no content.ᠮᠠᠨᠵᡠ
ᡤᡳᠰᡠᠨ
{{Contains special characters|Mongolian}} Template:Side box Template:MongolUnicode Template:MongolUnicode
{{Contains special characters|Nom}} Template:Side box 𡨸喃
{{Contains special characters|Ogham}} Template:Side box ᚁᚂᚃᚄᚅᚆᚇᚈᚉᚊᚋᚌᚍᚎᚏᚐᚑᚒᚓᚔᚕᚖᚗᚘᚙᚚ᚛᚜
{{Contains special characters|Old Hungarian}} Template:Side box 𐲀𐲄𐲅𐲆𐲇𐲍𐲎𐲜𐲝𐲞𐲟𐲠𐳄𐳅𐳥𐳦𐳧𐳨𐳱𐳲𐳺𐳾𐳿
{{Contains special characters|Old Persian}} Template:Side box 𐎠𐎣𐎤𐎫𐎬𐎭𐎮𐎳𐎴𐎵𐏊𐏋𐏏𐏐𐏑𐏕
{{Contains special characters|Ottoman Turkish}} Template:Side box ا‎ـا‎ء‎بـ‎ـ‎پـ‎ت‎ـت‎ـضـ‎ظ‎ـظ‎ـغـ‎ف‎ـقـ‎قـ‎ـ‎گـ‎ل‎ـم‎ـمـنـ‎نـ‎ـه‎ـهـ‎ـی‎ـیـ‎
{{Contains special characters|Pashto}} Template:Side box ﺍپﺕﺙﺝچﺩﺭﺱښﻁﻕکﻡﻥيئ
{{Contains special characters|Perso-Arabic}} Template:Side box ابپجچسضطعغگلوهی
{{Contains special characters|PIE}} Template:Side box *h₂ŕ̥tḱos
{{Contains special characters|Ruby}} Template:Side box

東京( とうきょう)
(ㄅㄟˇ) (ㄐ丨ㄥ) () () ()

{{Contains special characters|Runic}} Template:Side box ᚱᚢᚾᛟᚠᚥᛊᛋᛌᛍᛓᛔᛤᛥᛨᛩᛪ᛫᛭ᛮᛯᛰᛴᛵᛸ
{{Contains special characters|Saraiki}} Template:Side box ابٹخدڊڈزژسصضعغقکمنھے
{{Contains special characters|Shavian}} Template:Side box 𐑖𐑱𐑝𐑾𐑯𐑤𐑓𐑧𐑑𐑤𐑥𐑦𐑧𐑸𐑹𐑺𐑿
{{Contains special characters|SignWriting}} Template:Side box 𝠀𝠁𝠂𝠥𝠧𝡩𝡪𝡫𝣶𝪛𝣷𝣸𝣺𝦙𝦚𝦛𝩆𝩈𝩉
{{Contains special characters|Sindhi}} Template:Side box सिन्धी ਸਿੰਧੀ سنڌي
{{Contains special characters|Sundanese}} Template:Side box ᮃᮊ᮪ᮞᮞᮥᮔ᮪ᮓ°ᮂ᮸᳅
{{Contains special characters|Syriac}} Template:Side box ܐܠܦ ܒܝܬ ܣܘܪܝܝܐ
{{Contains special characters|Tamil}} Template:Side box தமிழ் அரிச்சடி
{{Contains special characters|Tangut}} Template:Side box 𗃰𗁼𗀪𘄠𘢓𘫖
{{Contains special characters|Thai}} Template:Side box ภาษาไทยฒุุุุุููิิิ่่่้้้้้ึึืืั๎๎
{{Contains special characters|Tibetan}} Template:Side box ༁༂༖༗ཆཇླྀཹྪྫ࿂࿃࿘࿙
{{Contains special characters|Tifinagh}} Template:Side box ⴰⴲⴸⴹⴺⴻⴼⴽⵃⵈⵏⵐⵞⵟⵥⵯ⵰
{{Contains special characters|Urdu}} Template:Side box اردو تہجی
{{Contains special characters|Uyghur}} Template:Side box ئۇيغۇر يېزىقى
{{Contains special characters|Vietnamese}} Template:Side box Tiếng Việt
{{Contains special characters|IPA}} Template:Side box øɤ̞ɰ̊ɖʈd͡ʑʥʘʄɻ̍t̪tᶣo̙ɝ
{{Contains special characters|Uncommon Unicode}} Template:Side box N/A

See also

Template:Unicode templates