Module:Domino Unicode/doc explained

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

Usage

{{#invoke:Domino Unicode|output|<direction>|<num1>|<num2>}}
Parameters (letters are case-insensitive):
  1. direction: to indicate whether the tile should be horizontal or vertical.
    • '''H''' or '''horizontal''' for horizontal tiles.
    • '''V''' or '''vertical''' for vertical tiles.
  2. num1 (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.
      • <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 "".
  3. num2 (optional): the second number on the tile.
    • Valid numbers are: 0  - 6.
    • If omitted, then num2 is treated as the same as num1.
      • For example: <nowiki>{{#invoke:Domino Unicode|output|H|6}}</nowiki> gives the same output as <nowiki>{{#invoke:Domino Unicode|output|H|6|6}}</nowiki>: "".

External links