Template:Deck rares: Difference between revisions
Jump to navigation
Jump to search
>Hunterofsalvation m (Changed protection level for "Template:Deck rares": for the templaters ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))) |
>Yandere-sliver (let's test if this works) |
||
Line 1: | Line 1: | ||
<includeonly>The rares in this deck are{{#if:{{{alt-art-1|}}}| | <includeonly>The rares in this deck are{{#if:{{{alt-art-1|}}}| {{#tag:c|{{{alt-art-1}}}}} (alternate art)}}{{#if:{{{alt-art-2|}}}|, {{#tag:c|{{{alt-art-2}}}}} (alternate art}}{{#if:{{{alt-art-3|}}}|, {{#tag:c|{{{alt-art-3}}}}} (alternate art)}}{{#if:{{{alt-art-4|}}}|, {{#tag:c|{{{alt-art-4}}}}} (alternate art)}}{{#if:{{{holo-1|}}}| {{#tag:c|{{{holo-1}}}}} (holographic foil)}}{{#if:{{{holo-2|}}}|, {{#tag:c|{{{holo-2}}}}} (holographic foil)}}{{#if:{{{holo-3|}}}|, {{#tag:c|{{{holo-3}}}}} (holographic foil)}}{{#if:{{{holo-4|}}}|, {{#tag:c|{{{holo-4}}}}} (holographic foil)}}{{#if:{{{rare-1|}}}| {{#tag:c|{{{rare-1}}}}}}}{{#if:{{{rare-2|}}}|, {{#tag:c|{{{rare-2}}}}}}}{{#if:{{{rare-3|}}}|, {{#tag:c|{{{rare-3}}}}}}}{{#if:{{{rare-4|}}}|, {{#tag:c|{{{rare-4}}}}} }}{{#if:{{{rare-5|}}}|, {{#tag:c|{{{rare-5}}}}}}}{{#if:{{{rare-6|}}}|, {{#tag:c|{{{rare-6}}}}}}}{{#if:{{{rare-7|}}}|, {{#tag:c|{{{rare-7}}}}} {{{rare-7}}}]}}{{#if:{{{rare-8|}}}|, {{#tag:c|{{{rare-8}}}}}}}{{#if:{{{comma|}}}|,|}}{{#if:{{{rare-last|}}}| and {{#tag:c|{{{rare-last}}}}}}}.</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
For a standardized, readily mass-changeable line listing the rares in a preconstructed theme deck. Card tags currently do not work with the template; but, as the cards are featured in deck tags anyway, this is redundant. | For a standardized, readily mass-changeable line listing the rares in a preconstructed theme deck. Card tags currently do not work with the template; but, as the cards are featured in deck tags anyway, this is redundant. |
Revision as of 20:40, 20 February 2017
Usage
For a standardized, readily mass-changeable line listing the rares in a preconstructed theme deck. Card tags currently do not work with the template; but, as the cards are featured in deck tags anyway, this is redundant.
This template assumed that there is at least one non-alternate-art, non-holographic foil, and that there is more than one rare in a deck.
{{Deck rares|alt-art-n=...|holo-n=...|rare-n=...|rare-last=...}}
{{Deck rares|alt-art-n=...|holo-n=...|rare-n=...|rare-last=...|comma=yes}}
- If the deck has more than two rares.
Parameters
N.B.: Any parameter may be left out. {{{rare-last}}}
, however, should never be left empty, as this part of the template is responsible for the "and".
{{{alt-art-n}}}
: The names of the rares with alternate art. If alternate art cards are holographic foils, they are first alternate art cards. Currently, the largest value of n supported is 6.{{{holo-n}}}
: The names of the rares with holographic foil treatment. Currently, the largest value of n supported is 6.{{{rare-n}}}
: The names of non-alternate-art, non-holographic-foil rares. Currently, the largest value of n supported is 8. If a deck has holographic foil rares, please commence listing rares with rare-2, not rare-1.{{{rare-last}}}
: The name of last rare.{{{comma}}}
: A terminal serial comma. The variable for this parameter is, by definition, "yes"; "no" or anything else also works but, for consistency, please use "yes".