Difference between revisions of "Template:Infobox Formats Row"

From mtgpq wiki
Jump to: navigation, search
 
Line 5: Line 5:
 
There are four parameters:
 
There are four parameters:
 
* The abbreviation of the card set (e.g. "ORI")
 
* 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 first format (0, 1, or 2)
* Whether the set is included in the second format (0 or 1)
+
* Whether the set is included in the second format (0, 1, or 2)
* Whether the set is included in the third format (0 or 1)
+
* Whether the set is included in the third format (0, 1, or 2)
  
 
For parameters 2 to 4, the values are:
 
For parameters 2 to 4, the values are:

Latest revision as of 03:30, 19 April 2020

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, 1, or 2)
  • Whether the set is included in the second format (0, 1, or 2)
  • Whether the set is included in the third format (0, 1, or 2)

For parameters 2 to 4, the values are:

  • 0: Not included in the format
  • 1: Included in the format
  • 2: Included in the format, but not a main-line card set

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}}
| label3  = DvK
| data3   = {{Infobox Formats Row|DvK|1|0|2}}
}}

Produces:

ORI
 
Origins
 
Origins
 
Origins
BFZ
 
Battle for Zendikar
 
  -
 
  -
DvK
 
Daxos vs Kalemne
 
  -
 
Daxos vs Kalemne*