7,180
edits
Changes
Created page with "<noinclude> == Usage == Display a total number of cards, as well as the number of cards of each rarity. The parameters are: * <code>set</code>: (Optional) The three-letter a..."
<noinclude>
== Usage ==
Display a total number of cards, as well as the number of cards of each rarity.
The parameters are:
* <code>set</code>: (Optional) The three-letter abbreviation of a card set associated with these card counts.
* <code>total</code>: The total number of cards
* <code>mp</code>: The number of Masterpiece cards
* <code>m</code>: The number of Mythic cards
* <code>r</code>: The number of Rare cards
* <code>u</code>: The number of Uncommon cards
* <code>c</code>: The number of Common cards
== Example ==
This shorthand:
<pre><nowiki>
{{Card rarity counts
|set = DOM
|total = 211
|mp = 10
|m = 29
|r = 48
|u = 64
|c = 60
}}
{{Card rarity counts
|total = 23
|mp = 3
|m = 8
|r = 12
}}
</nowiki></pre>
Produces:
{{Card rarity counts
|set = DOM
|total = 211
|mp = 10
|m = 29
|r = 48
|u = 64
|c = 60
}}
{{Card rarity counts
|total = 23
|mp = 3
|m = 8
|r = 12
}}
</noinclude><includeonly>'''Cards: '''<!--
-->{{#if: {{{set|}}}|[https://mtgpq.info/cards/search?sets={{{set}}} {{{total}}}]|{{{total}}}}} (<small><!--
-->{{#if: {{{c|}}}|{{Rarity|C}}<!--
-->{{#if: {{{set|}}}|[https://mtgpq.info/cards/search?rarities=5&sets={{{set}}} {{{c}}}]|{{{c}}} }}<!--
--> '''·''' }}<!--
-->{{#if: {{{u|}}}|{{Rarity|U}}<!--
-->{{#if: {{{set|}}}|[https://mtgpq.info/cards/search?rarities=4&sets={{{set}}} {{{u}}}]|{{{u}}} }}<!--
--> '''·''' }}<!--
-->{{#if: {{{r|}}}|{{Rarity|R}}<!--
-->{{#if: {{{set|}}}|[https://mtgpq.info/cards/search?rarities=3&sets={{{set}}} {{{r}}}]|{{{r}}} }} }}<!--
-->{{#if: {{{m|}}}| '''·''' {{Rarity|M}}<!--
-->{{#if: {{{set|}}}|[https://mtgpq.info/cards/search?rarities=2&sets={{{set}}} {{{m}}}]|{{{m}}} }} }}<!--
-->{{#if: {{{mp|}}}| '''·''' {{Rarity|MP}}<!--
-->{{#if: {{{set|}}}|[https://mtgpq.info/cards/search?rarities=1&sets={{{set}}} {{{mp}}}]|{{{mp}}} }} }}<!--
--></small>)</includeonly>
== Usage ==
Display a total number of cards, as well as the number of cards of each rarity.
The parameters are:
* <code>set</code>: (Optional) The three-letter abbreviation of a card set associated with these card counts.
* <code>total</code>: The total number of cards
* <code>mp</code>: The number of Masterpiece cards
* <code>m</code>: The number of Mythic cards
* <code>r</code>: The number of Rare cards
* <code>u</code>: The number of Uncommon cards
* <code>c</code>: The number of Common cards
== Example ==
This shorthand:
<pre><nowiki>
{{Card rarity counts
|set = DOM
|total = 211
|mp = 10
|m = 29
|r = 48
|u = 64
|c = 60
}}
{{Card rarity counts
|total = 23
|mp = 3
|m = 8
|r = 12
}}
</nowiki></pre>
Produces:
{{Card rarity counts
|set = DOM
|total = 211
|mp = 10
|m = 29
|r = 48
|u = 64
|c = 60
}}
{{Card rarity counts
|total = 23
|mp = 3
|m = 8
|r = 12
}}
</noinclude><includeonly>'''Cards: '''<!--
-->{{#if: {{{set|}}}|[https://mtgpq.info/cards/search?sets={{{set}}} {{{total}}}]|{{{total}}}}} (<small><!--
-->{{#if: {{{c|}}}|{{Rarity|C}}<!--
-->{{#if: {{{set|}}}|[https://mtgpq.info/cards/search?rarities=5&sets={{{set}}} {{{c}}}]|{{{c}}} }}<!--
--> '''·''' }}<!--
-->{{#if: {{{u|}}}|{{Rarity|U}}<!--
-->{{#if: {{{set|}}}|[https://mtgpq.info/cards/search?rarities=4&sets={{{set}}} {{{u}}}]|{{{u}}} }}<!--
--> '''·''' }}<!--
-->{{#if: {{{r|}}}|{{Rarity|R}}<!--
-->{{#if: {{{set|}}}|[https://mtgpq.info/cards/search?rarities=3&sets={{{set}}} {{{r}}}]|{{{r}}} }} }}<!--
-->{{#if: {{{m|}}}| '''·''' {{Rarity|M}}<!--
-->{{#if: {{{set|}}}|[https://mtgpq.info/cards/search?rarities=2&sets={{{set}}} {{{m}}}]|{{{m}}} }} }}<!--
-->{{#if: {{{mp|}}}| '''·''' {{Rarity|MP}}<!--
-->{{#if: {{{set|}}}|[https://mtgpq.info/cards/search?rarities=1&sets={{{set}}} {{{mp}}}]|{{{mp}}} }} }}<!--
--></small>)</includeonly>