Template:Infobox format: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>Corveroth
(typo)
>Yandere-sliver
(lets make that a proper infobox)
Line 3: Line 3:


| label1 = Sanctioned
| label1 = Sanctioned
| data1 = {{{sanctioned|}}} <!-- yes/no -->
| data1 = {{#switch: {{lc:{{{sanctioned|}}}}}
|y|yes|1=[[File:Tick.png|16px|link=]]
|#default=[[File:Cross.png|16px|link=]] }} <!-- yes/no -->


| label2 = Online only
| label2 = Online only
| data2 = {{{onlineonly|}}} <!-- yes/no -->
| data2 = {{#switch: {{lc:{{{onlineonly|}}}}}
|y|yes|1=[[File:Tick.png|16px|link=]]
|#default=[[File:Cross.png|16px|link=]] }} <!-- yes/no -->


| label3 = Multiplayer
| label3 = Multiplayer
| data3 = {{{multiplayer|}}} <!-- ''specifically'' multiplayer. any format coulduse the variant -->
| data3 = {{#switch: {{lc:{{{multiplayer|}}}}}
|y|yes|1=[[File:Tick.png|16px|link=]]
|#default=[[File:Cross.png|16px|link=]] }} <!-- yes/no, ''specifically'' multiplayer.-->


| header5 = Deckbuilding
| header5 = Deckbuilding


| label6 = Play type
| label6 = Play type
| data6 = {{{playtype|}}} <!-- constructed/limited -->
| data6 = [[{{ucfirst:{{lc:{{{playtype|constructed}}}}}}}]] <!-- constructed/limited -->


| label7 = Add. rules
| label7 = Add. rules
| data7 = {{{deckrules|}}} <!-- deckbuilding rules, separated with line breaks -->
| data7 = {{{deckrules|}}} <!-- deckbuilding rules, separated with line breaks -->


| header10 = Dedicated products
| header10 = {{#if: {{{products|}}} | Dedicated products }}


| label11 = Products
| label11 = Products  
| data11 = {{{products|}}} <!-- products specifically for this format, separated with line breaks -->
| data11 = {{{products|}}} <!-- products specifically for this format, separated with line breaks -->


}}
}}

Revision as of 21:49, 13 March 2018

{{{title}}}
Sanctioned File:Cross.png
Online only File:Cross.png
Multiplayer File:Cross.png
Deckbuilding
Play type Constructed