Template:Machi: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Shows as bold face in the Takame and yasume article, while Takame does not.) |
||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
:{{#mjt:{{{pattern}}}}} {{#if:{{{tiles called|}}}|{{#mjt:{{{tiles called}}}}}}} {{{wait status | <includeonly>:{{#mjt:{{{pattern}}}}} {{#if:{{{tiles called|}}}|{{#mjt:{{{tiles called}}}}}}} {{{wait status|Waiting for}}}: {{#mjt:{{{tilewaits|}}}}} {{#if:{{{yasume|}}}|Yasume: {{#mjt:{{{yasume}}}}}|}}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 19:48, 30 March 2015
{{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. |