Template:Deck rares: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>@legacy41915546
No edit summary
>@legacy41915546
No edit summary
Line 1: Line 1:
The rares in this deck are{{#if:{{{alt-art-1|}}}|&nbsp;<c>{{{alt-art-1}}}</c> (alternate art)}}{{#if:{{{alt-art-2|}}}|,&nbsp;<c>{{{alt-art-2}}}</c> (alternate art}}{{#if:{{{alt-art-3|}}}|,&nbsp;<c>{{{alt-art-3}}}</c> (alternate art)}}{{#if:{{{holo-1|}}}|&nbsp;<c>{{{holo-1}}}</c> (holographic foil)}}{{#if:{{{holo-2|}}}|,&nbsp;<c>{{{holo-2}}}</c> (holographic foil)}}{{#if:{{{rare-1|}}}|&nbsp;<c>{{{rare-1}}}</c>}}{{#if:{{{rare-2|}}}|,&nbsp;<c> {{{rare-2}}}</c>}}{{#if:{{{rare-3|}}}|,&nbsp;<c>{{{rare-3}}}</c>}}{{#if:{{{rare-4|}}}|,&nbsp;<c>{{{rare-4}}}</c>}}{{#if:{{{rare-5|}}}|,&nbsp;<c>{{{rare-5}}}</c>}}{{#if:{{{rare-6|}}}|,&nbsp;<c>{{{rare-6}}}</c>}}{{#if:{{{rare-last|}}}|&nbsp;and {{{rare-last}}}.}}<noinclude>
The rares in this deck are{{#if:{{{alt-art-1|}}}|&nbsp;{{{alt-art-1}}} (alternate art)}}{{#if:{{{alt-art-2|}}}|,&nbsp;{{{alt-art-2}}} (alternate art}}{{#if:{{{alt-art-3|}}}|,&nbsp;{{{alt-art-3}}} (alternate art)}}{{#if:{{{holo-1|}}}|&nbsp;{{{holo-1}}} (holographic foil)}}{{#if:{{{holo-2|}}}|,&nbsp;{{{holo-2}}} (holographic foil)}}{{#if:{{{rare-1|}}}|&nbsp;{{{rare-1}}}}}{{#if:{{{rare-2|}}}|,&nbsp; {{{rare-2}}}}}{{#if:{{{rare-3|}}}|,&nbsp;{{{rare-3}}}}}{{#if:{{{rare-4|}}}|,&nbsp;{{{rare-4}}}}}{{#if:{{{rare-5|}}}|,&nbsp;{{{rare-5}}}}}{{#if:{{{rare-6|}}}|,&nbsp;{{{rare-6}}}}}{{#if:{{{rare-last|}}}|&nbsp;and {{{rare-last}}}.}}<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.


This template does not employ the Oxford comma.
:<code><nowiki>{{Deck rares|alt-art-1=...|alt-art-2=...|alt-art-3=...|holo-1=...|holo-2=...|rare-1=...|rare-2=...|rare-3=...|rare-4=...|rare-5=...|rare-6=...|rare-last=...}}</nowiki></code>
===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".
*<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>{{{holo-''n''}}}</code>: The names of the rares with holographic foil treatment.
*<code>{{{rare-''n''}}}</code>: The names of non-alternate-art, non-holographic-foil rares.
*<code>{{{rare-last}}}</code>: The name of last rare.


[[Category:Magic product templates]]</noinclude>
[[Category:Magic product templates]]</noinclude>

Revision as of 04:52, 25 September 2012

The rares in this deck are

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.

{{Deck rares|alt-art-1=...|alt-art-2=...|alt-art-3=...|holo-1=...|holo-2=...|rare-1=...|rare-2=...|rare-3=...|rare-4=...|rare-5=...|rare-6=...|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.
  • {{{holo-n}}}: The names of the rares with holographic foil treatment.
  • {{{rare-n}}}: The names of non-alternate-art, non-holographic-foil rares.
  • {{{rare-last}}}: The name of last rare.