Template:Machi: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
:{{#mjt:{{{pattern}}}}} Waiting for: {{#mjt:{{{tilewaits|}}}}}<noinclude> | :{{#mjt:{{{pattern}}}}} {{#if:{{{open|}}}|{{#mjt:{{{open}}}}}}} Waiting for: {{#mjt:{{{tilewaits|}}}}}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 20:20, 17 March 2015
- (MahjongTile error: unrecognised or stray character: {) Waiting for:
{{machi |pattern = |tiles called = |wait status = |tilewaits = |yasume = }}
Usage
This template is used to display hand patterns throughout the Wiki.
Parameter | Description |
---|---|
pattern | Closed tiles "in hand" |
tiles called | Any tiles used for open calls, including kan. |
wait status | Default "Waiting for". Either the hand is waiting for tiles, or the hand patterns indicate winning status such as "Agari", "Ron" or "Tsumo". |
tilewaits | List of tiles necessary to win the hand. |
yasume | List of tiles which will be shown after the tilewaits as yasume tiles. |
Examples
{{machi |pattern = 19m19p19s1235667z |tilewaits = 4z }}
{{machi |pattern = 1114z |tilewaits = 4z |called tiles = 22'23"330660z }}
{{machi |pattern = 1112345578999p |tilewaits = 6p |yasume = 59p }}
{{machi |pattern = 2223m678p345567s |tilewaits = 4m |wait status = Takame |yasume = 13m }}
The above documentation is transcluded from Template:Machi/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |