Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:Domino Unicode/doc
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
This module is the helper module for [[Template:Domino Unicode]] to output [[Unicode]] characters of [[Domino]] tiles. '''Note:''' This module only outputs the '''HEX codepoint'''. To convert it to the Unicode character in HTML, write <code><nowiki>&#x<some_codepoint>;</nowiki></code>. * For example: to get the horizontal tile that has 1 followed by 2, write <code><nowiki>&#x{{#invoke:Domino Unicode|output|h|1|2}};</nowiki></code>, which gives you the output "&#x{{#invoke:Domino Unicode|output|h|1|2}};". == Usage == <pre>{{#invoke:Domino Unicode|output|<direction>|<num1>|<num2>}}</pre> Parameters (letters are case-insensitive): # <code>direction</code>: to indicate whether the tile should be horizontal or vertical. #* <code>'''H'''</code> or <code>'''horizontal'''</code> for horizontal tiles. #* <code>'''V'''</code> or <code>'''vertical'''</code> for vertical tiles. # <code>num1</code> ''(optional)'': the first number on the tile. #* Valid numbers are: '''0''' – '''6'''. #* If omitted, then output the code point of the back of the tile. #** <code><nowiki>{{#invoke:Domino Unicode|output|H}}</nowiki></code> or <code><nowiki>{{#invoke:Domino Unicode|output|horizontal}}</nowiki></code> gives "{{#invoke:Domino Unicode|output|H}}". #** <code><nowiki>{{#invoke:Domino Unicode|output|V}}</nowiki></code> or <code><nowiki>{{#invoke:Domino Unicode|output|vertical}}</nowiki></code> gives "{{#invoke:Domino Unicode|output|V}}". # <code>num2</code> ''(optional)'': the second number on the tile. #* Valid numbers are: '''0''' – '''6'''. #* If omitted, then <code>num2</code> is treated as the same as <code>num1</code>. #** For example: <code><nowiki>{{#invoke:Domino Unicode|output|H|6}}</nowiki></code> gives the same output as <code><nowiki>{{#invoke:Domino Unicode|output|H|6|6}}</nowiki></code>: "{{#invoke:Domino Unicode|output|H|6}}". ==External links== * [https://unicode.org/charts/PDF/U1F030.pdf Unicode Code Chart of the "'''Domino Tiles'''" block (Range: 1F030—1F09F)]
Summary:
Please note that all contributions to Stockhub may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Module:Arguments
(
edit
)
Module:Domino Unicode
(
edit
)