Template:Machi/doc: Difference between revisions

From Japanese Mahjong Wiki
Jump to navigation Jump to search
No edit summary
(Add examples)
Line 21: Line 21:
| 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".
| 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".
|-
|-
| tile waits || List of tiles necessary to win the hand.
| tilewaits || List of tiles necessary to win the hand.
|-
| yasume || List of tiles which will be shown after the tilewaits as yasume tiles.
|}
|}
== Examples ==
<pre>
{{machi
|pattern  = 19m19p19s1235667z
|tilewaits = 4z
}}
</pre>
{{machi
|pattern  = 19m19p19s1235667z
|tilewaits = 4z
}}
<pre>
{{machi
|pattern      = 1114z
|tilewaits    = 4z
|called tiles = 22'23"330660z
}}
</pre>
{{machi
|pattern      = 1114z
|tilewaits    = 4z
|tiles called = 22'23"330660z
}}
<pre>
{{machi
|pattern  = 1112345578999p
|tilewaits = 6p
|yasume    = 59p
}}
</pre>
{{machi
|pattern  = 1112345578999p
|tilewaits = 6p
|yasume    = 59p
}}
<pre>
{{machi
|pattern    = 2223m678p345567s
|tilewaits  = 4m
|wait status = Takame
|yasume      = 13m
}}
</pre>
{{machi
|pattern    = 2223m678p345567s
|tilewaits  = 4m
|wait status = Takame
|yasume    = 13m
}}

Revision as of 16:54, 30 March 2015

{{machi
|pattern      = 
|tiles called = 
|wait status  = 
|tilewaits    = 
}}

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
}}
Waiting for:
{{machi
|pattern      = 1114z
|tilewaits    = 4z
|called tiles = 22'23"330660z
}}
Waiting for:
{{machi
|pattern   = 1112345578999p
|tilewaits = 6p
|yasume    = 59p
}}
Waiting for: Yasume:
{{machi
|pattern     = 2223m678p345567s
|tilewaits   = 4m
|wait status = Takame
|yasume      = 13m
}}
Takame: Yasume: