Difference between revisions of "Template:Infobox Formats Row"

From mtgpq wiki
Jump to: navigation, search
Line 32: Line 32:
  
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
--><div style="float:left;width:7% ">&nbsp;</div><div style="float:left;width:10%">{{#ifeq:{{{2|}}}|1|{{{{{1}}}}}}}</div><!--
+
--><div style="float:left;width:7% ">&nbsp;</div><div style="float:left;width:10%">{{#ifeq:{{{2|}}}|1|{{{{{1}}}}}|&thinsp; -}}</div><!--
--><div style="float:left;width:28%">&nbsp;</div><div style="float:left;width:10%">{{#ifeq:{{{3|}}}|1|{{{{{1}}}}}}}</div><!--
+
--><div style="float:left;width:28%">&nbsp;</div><div style="float:left;width:10%">{{#ifeq:{{{3|}}}|1|{{{{{1}}}}}|&thinsp; -}}</div><!--
--><div style="float:left;width:28%">&nbsp;</div><div style="float:left;width:10%">{{#ifeq:{{{4|}}}|1|{{{{{1}}}}}}}</div><!--
+
--><div style="float:left;width:28%">&nbsp;</div><div style="float:left;width:10%">{{#ifeq:{{{4|}}}|1|{{{{{1}}}}}|&thinsp; -}}</div><!--
 
--></includeonly>
 
--></includeonly>

Revision as of 10:25, 23 October 2019

Template usage

Generates a row of card format info for use in Template:Infobox Formats.

There are four parameters:

  • The abbreviation of the card set (e.g. "ORI")
  • Whether the set is included in the first format (0 or 1)
  • Whether the set is included in the second format (0 or 1)
  • Whether the set is included in the third format (0 or 1)

Example

The following shorthand:

{{Infobox
| label1  = ORI
| data1   = {{Infobox Formats Row|ORI|1|1|1}}
| label2  = BFZ
| data2   = {{Infobox Formats Row|BFZ|1|0|0}}
}}

Produces:

ORI
 
Origins
 
Origins
 
Origins
BFZ
 
Battle for Zendikar
 
  -
 
  -