* {{code|<nowiki>{{unicode|&#8905;}}</nowiki>}} → {{unicode|⋉}}
* {{code|<nowiki>{{unicode|⋉}}</nowiki>}} → {{unicode|⋉}}
==Subject==
The template also takes a ''subject'' parameter, to use alternate fonts for specific sets of characters, organized thematically, where the usual fonts don't provide glyphs. The currently supported subjects are animal, astro, chem, communication, dentistry, education, emoticon, enclosed, event, food, game, map, medicine, money, music, person, picto, plant, politicsreligion, region, sport, technology, time, ui, warning, weather. <!-- EDITORS, the COMPLETE list of which symbols are included in which subjects, and support for the subjects by various fonts, is in the TALK page for the doco. The displayed doco may be outdated, or have only an abbreviated list for illustrative purposes. --> Depending on your browser's built-in font substitution capabilities, and fonts you have installed, you may or may not see any difference.
{| class="wikitable"
! subject
! template (class)
! result
|-
{{unicode/example|🐀🐁🐂🐃🐄🐅🐆🐇🐈🐉🐊🐋🐌🐍🐎🐏 🐐🐑🐒🐓🐔🐕🐖🐗🐘🐙🐚🐛🐜🐝🐞🐟 🐠🐡🐢🐣🐤🐥🐦🐧🐨🐩🐪🐫🐬🐭🐮🐯 🐰🐱🐲🐳🐴🐵🐶🐷🐸🐹🐺🐻🐼🐽🐾 😸😹😺😻😼😽😾😿🙀 🙈🙉🙊|subject=animal}}
{{unicode/example|☀ ☄★☆ ☉☊☋☌☍ ☼☽☾☿ ♀♁♂♃♄♅♆♇♈♉♊♋♌♍♎♏ ♐♑♒♓ ⚳⚴⚵⚶⚷⚸⚹⚺⚻⚼ ⛎ ⛢ ⭐⭑⭒ 🌃 🌌🌍🌎🌏 🌐🌑🌒🌓🌔🌕🌖🌗🌘🌙🌚🌛🌜🌝🌞🌟🌠 🔭|subject=astro}}
{{unicode/example|⌬ ⏣ ⚗ 🜀🜁🜂🜃🜄🜅🜆🜇🜈🜉🜊🜋🜌🜍🜎🜏 🜐🜑🜒🜓🜔🜕🜖🜗🜘🜙🜚🜛🜜🜝🜞🜟 🜠🜡🜢🜣🜤🜥🜦🜧🜨🜩🜪🜫🜬🜭🜮🜯 🜰🜱🜲🜳🜴🜵🜶🜷🜸🜹🜺🜻🜼🜽🜾🜿 🝀🝁🝂🝃🝄🝅🝆🝇🝈🝉🝊🝋🝌🝍🝎🝏 🝐🝑🝒🝓🝔🝕🝖🝗🝘🝙🝚🝛🝜🝝🝞🝟 🝠🝡🝢🝣🝤🝥🝦🝧🝨🝩🝪🝫🝬🝭🝮🝯 🝰🝱🝲🝳|subject=chem}}
{{unicode/example|☎☏ ✆ ✉ ✍✎✏✐✑✒ 💌 💬💭 📕📖📗📘📙 📝📞📟 📠📡📢📣📤📥📦📧📨📩📪📫📬📭📮📯 📰📱📲📳📴📵📶 📺📻|subject=communication}}
{{unicode/example|⎾⎿⏀⏁⏂⏃⏄⏅⏆⏇⏈⏉⏊⏋⏌|subject=dentistry}}
{{unicode/example|✎✏✐ 🍎🍏 🎒🎓 🏫 💯 📏 📓📔📕📖📗📘📙📚|subject=education}}
{{unicode/example|☹☺☻ ♡ ♥ ❤ 💋 💏💐💑💒💓💔💕💖💗💘💙💚💛💜💝💞💟 😀😁😂😃😄😅😆😇😈😉😊😋😌😍😎😏 😐😑😒😓😔😕😖😗😘😙😚😛😜😝😞😟 😠😡😢😣😤😥😦😧😨😩😪😫😬😭😮😯 😰😱😲😳😴😵😶😷😸😹😺😻😼😽😾😿🙀 🙅🙆🙇🙈🙉🙊🙋🙌🙍🙎🙏|subject=emoticon}}
{{unicode/example|①②③④⑤⑥⑦⑧⑨⑩⑪⑫⑬⑭⑮⑯ ⑰⑱⑲⑳⑴⑵⑶⑷⑸⑹⑺⑻⑼⑽⑾⑿ ⒀⒁⒂⒃⒄⒅⒆⒇⒈⒉⒊⒋⒌⒍⒎⒏ ⒐⒑⒒⒓⒔⒕⒖⒗⒘⒙⒚⒛⒜⒝⒞⒟ ⒠⒡⒢⒣⒤⒥⒦⒧⒨⒩⒪⒫⒬⒭⒮⒯ ⒰⒱⒲⒳⒴⒵ⒶⒷⒸⒹⒺⒻⒼⒽⒾⒿ ⓀⓁⓂⓃⓄⓅⓆⓇⓈⓉⓊⓋⓌⓍⓎⓏ ⓐⓑⓒⓓⓔⓕⓖⓗⓘⓙⓚⓛⓜⓝⓞⓟ ⓠⓡⓢⓣⓤⓥⓦⓧⓨⓩ⓪⓫⓬⓭⓮⓯ ⓰⓱⓲⓳⓴⓵⓶⓷⓸⓹⓺⓻⓼⓽⓾⓿ 🄀🄁🄂🄃🄄🄅🄆🄇🄈🄉🄊 🄐🄑🄒🄓🄔🄕🄖🄗🄘🄙🄚🄛🄜🄝🄞🄟 🄠🄡🄢🄣🄤🄥🄦🄧🄨🄩🄪🄫🄬🄭🄮 🄰🄱🄲🄳🄴🄵🄶🄷🄸🄹🄺🄻🄼🄽🄾🄿 🅀🅁🅂🅃🅄🅅🅆🅇🅈🅉🅊🅋🅌🅍🅎🅏 🅐🅑🅒🅓🅔🅕🅖🅗🅘🅙🅚🅛🅜🅝🅞🅟 🅠🅡🅢🅣🅤🅥🅦🅧🅨🅩🅪🅫 🅰🅱🅲🅳🅴🅵🅶🅷🅸🅹🅺🅻🅼🅽🅾🅿 🆀🆁🆂🆃🆄🆅🆆🆇🆈🆉🆊🆋🆌🆍🆎🆏 🆐🆑🆒🆓🆔🆕🆖🆗🆘🆙🆚|subject=enclosed}}
{{unicode/example|🍻 🎀🎁🎂🎃🎄🎅🎆🎇🎈🎉🎊🎋🎌🎍🎎🎏 🎐🎑🎒🎓 🎠🎡🎢🎣🎤🎥🎦🎧🎨🎩🎪🎫🎬🎭 💒|subject=event}}
{{unicode/example|☕ 🌽🌾🌿 🍄🍅🍆🍇🍈🍉🍊🍋🍌🍍🍎🍏 🍐🍑🍒🍓🍔🍕🍖🍗🍘🍙🍚🍛🍜🍝🍞🍟 🍠🍡🍢🍣🍤🍥🍦🍧🍨🍩🍪🍫🍬🍭🍮🍯 🍰🍱🍲🍳🍴🍵🍶🍷🍸🍹🍺🍻🍼|subject=food}}
{{unicode/example|☖☗ ♔♕♖♗♘♙♚♛♜♝♞♟ ♠♡♢♣♤♥♦♧ ⚀⚁⚂⚃⚄⚅⚆⚇⚈⚉ ⛀⛁⛂⛃ ⛉⛊⛋ ✊✋✌ ❌ ⭕ 🀀🀁🀂🀃🀄🀅🀆🀇🀈🀉🀊🀋🀌🀍🀎🀏 🀐🀑🀒🀓🀔🀕🀖🀗🀘🀙🀚🀛🀜🀝🀞🀟 🀠🀡🀢🀣🀤🀥🀦🀧🀨🀩🀪🀫 🀰🀱🀲🀳🀴🀵🀶🀷🀸🀹🀺🀻🀼🀽🀾🀿 🁀🁁🁂🁃🁄🁅🁆🁇🁈🁉🁊🁋🁌🁍🁎🁏 🁐🁑🁒🁓🁔🁕🁖🁗🁘🁙🁚🁛🁜🁝🁞🁟 🁠🁡🁢🁣🁤🁥🁦🁧🁨🁩🁪🁫🁬🁭🁮🁯 🁰🁱🁲🁳🁴🁵🁶🁷🁸🁹🁺🁻🁼🁽🁾🁿 🂀🂁🂂🂃🂄🂅🂆🂇🂈🂉🂊🂋🂌🂍🂎🂏 🂐🂑🂒🂓 🂠🂡🂢🂣🂤🂥🂦🂧🂨🂩🂪🂫🂬🂭🂮 🂱🂲🂳🂴🂵🂶🂷🂸🂹🂺🂻🂼🂽🂾 🃁🃂🃃🃄🃅🃆🃇🃈🃉🃊🃋🃌🃍🃎🃏 🃑🃒🃓🃔🃕🃖🃗🃘🃙🃚🃛🃜🃝🃞🃟 🎮🎯🎰🎱🎲🎳🎴|subject=game}}
{{unicode/example|⌘ ♨ ♿ ⚐⚑⚒⚓⚔ ⚛ ⛌⛍ ⛏ ⛐⛑⛒⛓⛔⛕⛖⛗⛘⛙⛚⛛⛜⛝⛞⛟ ⛠⛡ ⛣ ⛨⛩⛪⛫⛬⛭⛮⛯ ⛰⛱⛲⛳⛴⛵⛶⛷⛸⛹⛺⛻⛼⛽⛾⛿ ✈ 🌋 🌍🌎🌏🌐 🍴 🏠🏡🏢🏣🏤🏥🏦🏧🏨🏩🏪🏫🏬🏭🏮🏯🏰 🗻🗼🗽🗾🗿 🚀🚁🚂🚃🚄🚅🚆🚇🚈🚉🚊🚋🚌🚍🚎🚏 🚐🚑🚒🚓🚔🚕🚖🚗🚘🚙🚚🚛🚜🚝🚞🚟 🚠🚡🚢🚣🚤🚥🚦🚧🚨🚩🚪🚫🚬🚭🚮🚯 🚰🚱🚲🚳🚴🚵🚶🚷🚸🚹🚺🚻🚼🚽🚾🚿 🛀🛁🛂🛃🛄🛅|subject=map}}
{{unicode/example|℞ ☠ ⚕ ⛨ ✚ 🅰🅱 🅾 🆎 🏥 💉💊|subject=medicine}}
{{unicode/example|$ ¢£¤¥ ƒ ؋ ৲৳ ૱ ௹ ฿ ៛ ₠₡₢₣₤₥₦₧₨₩₪₫€₭₮₯ ₰₱₲₳₴₵₶₷₸₹₺ ℳ 元 円 圆 圓 ﷼ ﹩ $ 🏦🏧 💰💱💲💳💴💵💶💷💸💹 📈📉📊|subject=money}}
{{unicode/example||subject=music}}
{{unicode/example|👤👥👦👧👨👩👪👫👬👭👮👯 👰👱👲👳👴👵👶👷👸👹👺👻👼👽👾👿 💀💁💂💃 💑 🙋🙌🙍🙎🙏|subject=person}}
{{unicode/example|☓ ☚☛☜☝☞☟ ☤ ♲♳♴♵♶♷♸♹♺♻♼♽♾♿ ⚐⚑⚒⚓⚔⚕⚖⚗⚘⚙⚚⚛⚜⚝⚞⚟ ⚢⚣⚤⚥⚦⚧⚨⚩⚪⚫⚬⚭⚮⚯ ⚰⚱⚲ ⚿ ✁✂✃✄✅ ✊✋✌✍✎✏ ✐✑✒✓✔✕✖ ✛✜ ✢✣✤✥✦✧✨✩✪✫✬✭✮✯ ✰✱✲✳✴✵✶✷✸✹✺✻✼✽✾✿ ❀❁❂❃❄❅❆❇❈❉❊❋ 🌂🌃🌄🌅🌆🌇🌈🌉🌊🌋🌌 👀 👂👃👄👅👆👇👈👉👊👋👌👍👎👏 👐👑👒👓👔👕👖👗👘👙👚👛👜👝👞👟 👠👡👢👣 💄💅💆💇💈💉💊💋💌💍💎💏 💐 💠💡💢💣💤💥💦💧💨💩💪💫💬💭 💺 💼 📁📂📃📄📅📆📇📈📉📊📋📌📍📎📏 📐📑📒📓📔 📛📜 🔅🔆🔇🔈🔉🔊🔋🔌🔍🔎🔏 🔐🔑🔒🔓🔔🔕🔖🔗🔘 🔥🔦🔧🔨🔩🔪🔫🔬🔭🔮🔯 🔰🔱|subject=picto}}
{{unicode/example|☘ 🌰🌱🌲🌳🌴🌵 🌷🌸🌹🌺🌻🌼🌽🌾🌿 🍀🍁🍂🍃🍄🍅🍆🍇🍈🍉🍊🍋🍌🍍🍎🍏 🍐🍑🍒🍓|subject=plant}}
{{unicode/example||subject=politics|note=projected}}<!-- future -->
{{unicode/example|🇦🇧🇨🇩🇪🇫🇬🇭🇮🇯 🇰🇱🇲🇳🇴🇵🇶🇷🇸🇹🇺🇻🇼🇽🇾🇿 (🇨🇳 🇩🇪 🇪🇸 🇫🇷 🇬🇧 🇮🇹 🇯🇵 🇰🇷 🇷🇺 🇺🇸)|subject=region}}
{{unicode/example||subject=religion|note=projected}}<!-- future -->
{{unicode/example|⚽⚾ ⛳ ⛷⛸⛹ 🎯 🎳 🎽🎾🎿🏀🏁🏂🏃🏄 🏆🏇🏈🏉🏊|subject=sport}}
{{unicode/example|⌁ ⌐⌑ ⌕ ⌘⌙⌚⌛ ⌤⌥⌦⌧⌨ ⌫ ⍻ ⍽⍾⍿ ⎀⎁⎂⎃⎄⎅⎆⎇⎈⎉⎊⎋⎌⎍⎎⎏ ⎐⎑⎒⎓⎔ ⎖⎗⎘⎙⎚ ⏎⏏ ⏚⏛ ⏦⏧⏨⏩⏪⏫⏬⏭⏮⏯ ⏰⏱⏲⏳ ␀␁␂␃␄␅␆␇␈␉␊␋␌␍␎␏ ␐␑␒␓␔␕␖␗␘␙␚␛␜␝␞␟ ␠␡␢␣␥␦ ☎☏ ✇ 💻 💽💾💿📀 📞📟📠📡 📧 📱📲📳📴📵📶📷 📹📺📻📼|subject=technology}}
{{unicode/example|⌚⌛ ⏰⏱⏲⏳ 🕐🕑🕒🕓🕔🕕🕖🕗🕘🕙🕚🕛🕜🕝🕞🕟🕠🕡🕢🕣🕤🕥🕦🕧|subject=time}}
{{unicode/example|⌘ ⌚⌛ ⌤⌥⌦⌧⌨ ⌫ ⎀⎁⎂⎃⎄⎅⎆⎇⎈⎉⎊⎋⎌ ⎖⎗⎘⎙⎚ ⏎⏏ ⏩⏪⏫⏬⏭⏮⏯⏰⏱⏲⏳ 🔀🔁🔂🔃🔄🔅🔆🔇🔈🔉🔊🔋🔌🔍🔎🔏 🔐🔑🔒🔓🔔🔕🔖🔗🔘🔙🔚🔛🔜🔝 🔠🔡🔢🔣🔤|subject=ui}}
{{unicode/example|! ? ‼‽ ⁇⁈⁉ ☠☡☢☣ ⚛ ⚠⚡ ⛐ ⛔ ⛚ 💣 💥 🚧 🚫 🚭 🚯 🚱 🚳 🚷|subject=warning}}
{{unicode/example|☀☁☂☃ ☇☈ ☔ ☼ ⛄⛅⛆⛇⛈ ❄❅❆ 🌀🌁🌂|subject=weather}}
|}
== Purpose ==
The source for the template is:
<source lang="XML">
<span class="Unicode{{#if:{{{subject|}}}|{{ucfirst:{{lc:{{{subject}}}}}}}}}">{{{1}}}</span>
</source>
and <code>class="Unicode"</code> is defined in [[MediaWiki:Common.js]] as follows:
You can override this with your own <code>Unicode</code> class definition in your [[Help:User_style|personal stylesheet]] (e.g. <tt>User:''username''/common.css</tt>).
The <code>Unicode''Subject''</code> classes are defined in [[MediaWiki:Common.css]] for all browsers.
==Template data==
"type": "string",
"description": "The code, either in decimal, hexadecimal, or symbol form."
},
"subject": {
"label": "Character subject",
"type": "string",
"description": "The subject of the character (for some characters only). The supported values are animal, astro, chem, communication, dentistry, education, emoticon, enclosed, event, food, game, map, medicine, money, music, person, picto, plant, politics, religion, region, sport, technology, time, ui, warning, weather."
}
}
|