Template:Machi: Difference between revisions

From Japanese Mahjong Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
:{{#mjt:{{{pattern}}}}} Waiting for: {{#mjt:{{{tilewaits|}}}}}
:{{#mjt:{{{pattern}}}}} Waiting for: {{#mjt:{{{tilewaits|}}}}}<noinclude>
{{documentation}}
</noinclude>

Revision as of 10:20, 26 January 2014

(MahjongTile error: unrecognised or stray character: {) Waiting for:
Documentation icon Template documentation[view] [edit] [history] [purge]
{{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
}}
Waiting for:
{{machi
|pattern      = 1114z
|tilewaits    = 4z
|called tiles = 22'23"330660z
}}
Waiting for:
{{machi
|pattern   = 1112345578999p
|tilewaits = 6p
|yasume    = 59p
}}
Waiting for:
{{machi
|pattern     = 2223m678p345567s
|tilewaits   = 4m
|wait status = Takame
|yasume      = 13m
}}
Waiting for: