Template:Yaku list: Difference between revisions

From Japanese Mahjong Wiki
Jump to navigation Jump to search
mNo edit summary
(added {{{yakuarticle}}} variable for when the article name is not identical to the yaku name)
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="wikitable" width=100%
{| class="wikitable" width=100% id="{{{yakuname}}}"
|-style="background: #{{#switch:{{{yasume}}}|no=FF99FF|yes=99FF99}};"
|-
|width=25%| '''[[{{{yakuname}}}]]'''
|width=25% valign="top"| '''{{#if: {{{yakuarticle|}}}|[[{{{yakuarticle}}}|{{{yakuname}}}]]|[[{{{yakuname}}}]]}}'''
:{{{kanji}}}
: {{kana|{{{kanji}}}}}
:: {{{english|}}}
: {{{closeopen}}}
: {{{closeopen}}}
: {{{value|}}}
: {{{value|}}}
: [[{{{yakuname}}}/Replays|Replays]]
|width=75%|{{{description}}}  
|width=75%| {{{description}}}
|-style="background:#AFCDFC"
|-
|align=center|<!--[[List of {{{yakuname}}} replays|Replays]]-->
|bgcolor="#AFCDFC" align=center colspan=2| {{{tilepattern|}}}
|colspan=2| {{{tilepattern|}}}
|}
|}
<noinclude>
<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 02:49, 7 March 2025

[[{{{yakuname}}}]]
「{{{kanji}}}」
{{{closeopen}}}
{{{description}}}
Documentation icon Template documentation[view] [edit] [history] [purge]
{{yaku list
| yakuname    = 
| yakuarticle = <!--optional, for if the article title is not identical to the yaku name-->
| kanji       = 
| english     = 
| closeopen   = 
| value       = <!--optional-->
| tilepattern = 
| description = 
}}