Difference between revisions of "Template:BandaiRule"

From Yugipedia
Jump to: navigation, search
(switching to a definition list)
(Added localisation and simplified the code (with a weird definition of simplified))
Line 1: Line 1:
;~{{ #switch: {{{1}}} |1|2|3|4|5|6|7|8|9|10|11|12|13= |SPECIAL }}RULE {{#switch:{{{1}}}|1=➀|2=➁|3=➂|4=➃|5=➄|6=➅|7=➆|8=➇|9=➈|10=➉|11=⑪|12=⑫|13=⑬}}
+
{{ #if: {{{lang|}}}
 +
|
 +
;~{{ #iferror: {{ #expr: 1/{{{1|}}} }} | 特別ルール | ルール&#{{ #expr: 10111 + {{{1|}}} }}; }}~
 +
|
 +
;~{{ #iferror: {{ #expr: 1/{{{1}}} }} | Special Rule | Rule &#{{ #expr: 10111 + {{{1|}}} }}; }}~
 +
}}
 
:{{Bandai rule|{{{1|}}}}}<noinclude>
 
:{{Bandai rule|{{{1|}}}}}<noinclude>
  
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 11:25, 11 October 2013

~Special Rule~