This module is the helper module for 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 <nowiki>&#x<some_codepoint>;</nowiki>
.
<nowiki>&#x{{#invoke:Domino Unicode|output|h|1|2}};</nowiki>
, which gives you the output "&#x;".{{#invoke:Domino Unicode|output|<direction>|<num1>|<num2>}}Parameters (letters are case-insensitive):
direction
: to indicate whether the tile should be horizontal or vertical.'''H'''
or '''horizontal'''
for horizontal tiles.'''V'''
or '''vertical'''
for vertical tiles.num1
(optional): the first number on the tile.<nowiki>{{#invoke:Domino Unicode|output|H}}</nowiki>
or <nowiki>{{#invoke:Domino Unicode|output|horizontal}}</nowiki>
gives "".<nowiki>{{#invoke:Domino Unicode|output|V}}</nowiki>
or <nowiki>{{#invoke:Domino Unicode|output|vertical}}</nowiki>
gives "".num2
(optional): the second number on the tile.num2
is treated as the same as num1
.<nowiki>{{#invoke:Domino Unicode|output|H|6}}</nowiki>
gives the same output as <nowiki>{{#invoke:Domino Unicode|output|H|6|6}}</nowiki>
: "".