Template:Deck rares: Difference between revisions
Jump to navigation
Jump to search
>@legacy41915546 (Awesome!) |
>@legacy41915546 No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>The rares in this deck are{{#if:{{{alt-art-1|}}}| [http://magiccards.info/query?q={{urlencode:["{{{alt-art-1}}}"]}}&v=card&s=cname {{{alt-art-1}}}] (alternate art)}}{{#if:{{{alt-art-2|}}}|, [http://magiccards.info/query?q={{urlencode:["{{{alt-art-2}}}"]}}&v=card&s=cname {{{alt-art-2}}}] (alternate art}}{{#if:{{{alt-art-3|}}}|, [http://magiccards.info/query?q={{urlencode:["{{{alt-art-3}}}"]}}&v=card&s=cname {{{alt-art-3}}}] (alternate art)}}{{#if:{{{alt-art-4|}}}|, [http://magiccards.info/query?q={{urlencode:["{{{alt-art-4}}}"]}}&v=card&s=cname {{{alt-art-4}}}] (alternate art)}}{{#if:{{{holo-1|}}}| [http://magiccards.info/query?q={{urlencode:["{{{holo-1}}}"]}}&v=card&s=cname {{{holo-1}}}] (holographic foil)}}{{#if:{{{holo-2|}}}|, [http://magiccards.info/query?q={{urlencode:["{{{holo-2}}}"]}}&v=card&s=cname {{{holo-2}}}] (holographic foil)}}{{#if:{{{holo-3|}}}|, [http://magiccards.info/query?q={{urlencode:["{{{holo-3}}}"]}}&v=card&s=cname {{{holo-3}}}] (holographic foil)}}{{#if:{{{holo-4|}}}|, [http://magiccards.info/query?q={{urlencode:["{{{holo-4}}}"]}}&v=card&s=cname {{{holo-4}}}] (holographic foil)}}{{#if:{{{rare-1|}}}| {{{rare-1}}}}}{{#if:{{{rare-2|}}}|, [http://magiccards.info/query?q={{urlencode:["{{{rare-2}}}"]}}&v=card&s=cname {{{rare-2}}}]}}{{#if:{{{rare-3|}}}|, [http://magiccards.info/query?q={{urlencode:["{{{rare-3}}}"]}}&v=card&s=cname {{{rare-3}}}]}}{{#if:{{{rare-4|}}}|, [http://magiccards.info/query?q={{urlencode:["{{{rare-4}}}"]}}&v=card&s=cname {{{rare-4}}}]}}{{#if:{{{rare-5|}}}|, [http://magiccards.info/query?q={{urlencode:["{{{rare-5}}}"]}}&v=card&s=cname {{{rare-5}}}]}}{{#if:{{{rare-6|}}}|, [http://magiccards.info/query?q={{urlencode:["{{{rare- | <includeonly>The rares in this deck are{{#if:{{{alt-art-1|}}}| [http://magiccards.info/query?q={{urlencode:["{{{alt-art-1}}}"]}}&v=card&s=cname {{{alt-art-1}}}] (alternate art)}}{{#if:{{{alt-art-2|}}}|, [http://magiccards.info/query?q={{urlencode:["{{{alt-art-2}}}"]}}&v=card&s=cname {{{alt-art-2}}}] (alternate art}}{{#if:{{{alt-art-3|}}}|, [http://magiccards.info/query?q={{urlencode:["{{{alt-art-3}}}"]}}&v=card&s=cname {{{alt-art-3}}}] (alternate art)}}{{#if:{{{alt-art-4|}}}|, [http://magiccards.info/query?q={{urlencode:["{{{alt-art-4}}}"]}}&v=card&s=cname {{{alt-art-4}}}] (alternate art)}}{{#if:{{{holo-1|}}}| [http://magiccards.info/query?q={{urlencode:["{{{holo-1}}}"]}}&v=card&s=cname {{{holo-1}}}] (holographic foil)}}{{#if:{{{holo-2|}}}|, [http://magiccards.info/query?q={{urlencode:["{{{holo-2}}}"]}}&v=card&s=cname {{{holo-2}}}] (holographic foil)}}{{#if:{{{holo-3|}}}|, [http://magiccards.info/query?q={{urlencode:["{{{holo-3}}}"]}}&v=card&s=cname {{{holo-3}}}] (holographic foil)}}{{#if:{{{holo-4|}}}|, [http://magiccards.info/query?q={{urlencode:["{{{holo-4}}}"]}}&v=card&s=cname {{{holo-4}}}] (holographic foil)}}{{#if:{{{rare-1|}}}| {{{rare-1}}}}}{{#if:{{{rare-2|}}}|, [http://magiccards.info/query?q={{urlencode:["{{{rare-2}}}"]}}&v=card&s=cname {{{rare-2}}}]}}{{#if:{{{rare-3|}}}|, [http://magiccards.info/query?q={{urlencode:["{{{rare-3}}}"]}}&v=card&s=cname {{{rare-3}}}]}}{{#if:{{{rare-4|}}}|, [http://magiccards.info/query?q={{urlencode:["{{{rare-4}}}"]}}&v=card&s=cname {{{rare-4}}}]}}{{#if:{{{rare-5|}}}|, [http://magiccards.info/query?q={{urlencode:["{{{rare-5}}}"]}}&v=card&s=cname {{{rare-5}}}]}}{{#if:{{{rare-6|}}}|, [http://magiccards.info/query?q={{urlencode:["{{{rare-6}}}"]}}&v=card&s=cname {{{rare-6}}}]}}{{#if:{{{rare-last|}}}| and [http://magiccards.info/query?q={{urlencode:["{{{rare-last}}}"]}}&v=card&s=cname {{{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. | ||
Line 5: | Line 5: | ||
This template does not employ the Oxford comma. 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. | This template does not employ the Oxford comma. 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. | ||
:<code><nowiki>{{Deck rares|alt-art- | :<code><nowiki>{{Deck rares|alt-art-n=...|holo-n=...|rare-n=...|rare-last=...}}</nowiki></code> | ||
===Parameters=== | ===Parameters=== | ||
'''N.B.''': Any parameter may be left out. <code>{{{rare-last}}}</code>, however, should never be left empty, as this part of the template is responsible for the "and". | '''N.B.''': Any parameter may be left out. <code>{{{rare-last}}}</code>, however, should never be left empty, as this part of the template is responsible for the "and". | ||
*<code>{{{alt-art-''n''}}}</code>: The names of the rares with alternate art. If alternate art cards are holographic foils, they are first alternate art cards. | *<code>{{{alt-art-''n''}}}</code>: 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. | ||
*<code>{{{holo-''n''}}}</code>: The names of the rares with holographic foil treatment. | *<code>{{{holo-''n''}}}</code>: The names of the rares with holographic foil treatment. Currently, the largest value of ''n'' supported is 6. | ||
*<code>{{{rare-''n''}}}</code>: The names of non-alternate-art, non-holographic-foil rares. | *<code>{{{rare-''n''}}}</code>: The names of non-alternate-art, non-holographic-foil rares. Currently, the largest value of ''n'' supported is 6. | ||
*<code>{{{rare-last}}}</code>: The name of last rare. | *<code>{{{rare-last}}}</code>: The name of last rare. | ||
[[Category:Magic product templates]]</noinclude> | [[Category:Magic product templates]]</noinclude> |
Revision as of 05:03, 25 September 2012
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 does not employ the Oxford comma. 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=...}}
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 6.{{{rare-last}}}
: The name of last rare.