Module:Domino Unicode/doc

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 &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x26;#x&#x3c;some_codepoint&#x3e;;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e;.
 * For example: to get the horizontal tile that has 1 followed by 2, write &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x26;#x;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e;, which gives you the output "&#x26;#x;".

Usage
&#x3c;pre&#x3e;&#x3c;/pre&#x3e; Parameters (letters are case-insensitive):
 * 1) &#x3c;code&#x3e;direction&#x3c;/code&#x3e;: to indicate whether the tile should be horizontal or vertical.
 * 2) * &#x3c;code&#x3e;H&#x3c;/code&#x3e; or &#x3c;code&#x3e;horizontal&#x3c;/code&#x3e; for horizontal tiles.
 * 3) * &#x3c;code&#x3e;V&#x3c;/code&#x3e; or &#x3c;code&#x3e;vertical&#x3c;/code&#x3e; for vertical tiles.
 * 4) &#x3c;code&#x3e;num1&#x3c;/code&#x3e; (optional): the first number on the tile.
 * 5) * Valid numbers are: 0 &#x26;ndash; 6.
 * 6) * If omitted, then output the code point of the back of the tile.
 * 7) ** &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e; or &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e; gives "".
 * 8) ** &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e; or &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e; gives "".
 * 9) &#x3c;code&#x3e;num2&#x3c;/code&#x3e; (optional): the second number on the tile.
 * 10) * Valid numbers are: 0 &#x26;ndash; 6.
 * 11) * If omitted, then &#x3c;code&#x3e;num2&#x3c;/code&#x3e; is treated as the same as &#x3c;code&#x3e;num1&#x3c;/code&#x3e;.
 * 12) ** For example: &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e; gives the same output as &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e;: "".