Template:Machi

From Japanese mahjong wiki
Jump to: navigation, search
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
}}
Tile-1m.pngTile-9m.pngTile-1p.pngTile-9p.pngTile-1s.pngTile-9s.pngTile-1z.pngTile-2z.pngTile-3z.pngTile-5z.pngTile-6z.pngTile-6z.pngTile-7z.png Waiting for: Tile-4z.png
{{machi
|pattern      = 1114z
|tilewaits    = 4z
|called tiles = 22'23"330660z
}}
Tile-1z.pngTile-1z.pngTile-1z.pngTile-4z.png Tile-2z.pngTile-2z-e.pngTile-2z.pngTile-3z-k.pngTile-3z.pngTile-3z.pngTile-unknown.pngTile-6z.pngTile-6z.pngTile-unknown.png Waiting for: Tile-4z.png
{{machi
|pattern   = 1112345578999p
|tilewaits = 6p
|yasume    = 59p
}}
Tile-1p.pngTile-1p.pngTile-1p.pngTile-2p.pngTile-3p.pngTile-4p.pngTile-5p.pngTile-5p.pngTile-7p.pngTile-8p.pngTile-9p.pngTile-9p.pngTile-9p.png Waiting for: Tile-6p.png Yasume: Tile-5p.pngTile-9p.png
{{machi
|pattern     = 2223m678p345567s
|tilewaits   = 4m
|wait status = Takame
|yasume      = 13m
}}
Tile-2m.pngTile-2m.pngTile-2m.pngTile-3m.pngTile-6p.pngTile-7p.pngTile-8p.pngTile-3s.pngTile-4s.pngTile-5s.pngTile-5s.pngTile-6s.pngTile-7s.png Takame: Tile-4m.png Yasume: Tile-1m.pngTile-3m.png