Template:Stats

From Magic the Archiving
Revision as of 02:44, 30 April 2024 by AntiTcb (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template is meant to make the statistical breakdown by color easier and more consistent across the wiki.

The template calculates the total and the percentage breakdown.

Parameter[edit]

  • {{{1}}} (optional) If there should be a descriptor before the word "cards" (e.g. XX morph cards).
    • If set to split the number of whole cards will be calculated as well.
    • If set to meld or "partner with" the number of pairs will be calculated as well.
  • {{{state}}} (optional) Can be set to "collapsed" to start in a collapsed state.

Each of the following parameter requires the number of cards of that certain characteristic:

  • {{{C}}} Colorless non-artifact non-land cards (e.g. Eldrazi)
  • Monocolored cards
  • Hybrid or Twocolored cards
    • {{{WU}}} White/Blue
    • {{{UB}}} Blue/Black
    • {{{BR}}} Black/Red
    • {{{RG}}} Red/Green
    • {{{GW}}} Green/White
    • {{{WB}}} White/Black
    • {{{UR}}} Blue/Red
    • {{{BG}}} Black/Green
    • {{{RW}}} Red/White
    • {{{GU}}} Green/Blue
  • {{{M}}} Multicolored cards
  • {{{A}}} Colorless artifacts
  • {{{L}}} Lands

Usage[edit]

Typical Example
Code: {{stats|C=1|W=2|U=3|B=4|R=5|G=6|M=7|A=8|L=9}}
Result:


Collapsed Example with Color Pairs
Code: {{stats|W=1|B=2|UB=2|BR=1|BG=3|state=collapsed}}
Result:
9 cards


Zero Card Example
Code: {{stats}}
Result:
0 cards