Template:Machi/doc: Difference between revisions

From Japanese Mahjong Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<pre>
<pre>
{{machi
{{machi
|pattern     =  
|pattern     =  
|open        =  
|tiles called =  
|wait status =  
|wait status =  
|tilewaits   =  
|tilewaits   =
|yasume      =  
}}
}}
</pre>
</pre>
== Usage ==
This template is used to display hand patterns throughout the Wiki.
{| class="wikitable"
|-
! 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 ==
<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
}}

Latest revision as of 19:49, 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
}}
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: