Difference between revisions of "Template:Deck List"

From mtgpq wiki
Jump to: navigation, search
(added help text.)
Line 1: Line 1:
 +
<noinclude>
 +
The Deck List template is used for recording the enemy's deck contents.  It is typically coupled with the [[Template:Enemy Stats]] Template as well.
 +
 +
== Parameters ==
 +
 +
The parameters for this table are positional. 
 +
 +
The odd numbered parameters should be card names enclosed in double square brackets.  Even numbered parameters should be the card type in lower case.
 +
 +
The suggested format is to insert the card name as the first parameter on a line, the a pipe, then the card type on the same line.
 +
 +
The template will default to "(unknown card)" for card names and "(unknown)" for card types.
 +
 +
== Example ==
 +
 +
The following is an example of how to use this template to document a deck list:
 +
 +
<pre><nowiki>
 +
 +
==== Eternal of Harsh Truths Deck List ====
 +
 +
{{Deck List
 +
|[[Champion of Wits]]|creature
 +
|[[Ominous Sphinx]]|creature
 +
|[[The Locust God]]|creature
 +
|[[Unesh, Criosphinx Sovereign]]|creature
 +
|[[Vizier of the Anointed]]|creature
 +
|[[Endless Sands]]|spell
 +
|[[Imaginary Threats]]|spell
 +
|[[Kefnet’s Last Word]]|spell
 +
|[[Riddleform]]|support
 +
|[[Swarm Intelligence]]|support
 +
}}
 +
 +
</nowiki></pre>
 +
 +
== Template ==
 +
 +
</noinclude>
 +
 +
 
{| class="wikitable sortable mw-collapsible mw-collapsed"
 
{| class="wikitable sortable mw-collapsible mw-collapsed"
 
!Card Name
 
!Card Name

Revision as of 21:59, 11 August 2018

The Deck List template is used for recording the enemy's deck contents. It is typically coupled with the Template:Enemy Stats Template as well.

Parameters

The parameters for this table are positional.

The odd numbered parameters should be card names enclosed in double square brackets. Even numbered parameters should be the card type in lower case.

The suggested format is to insert the card name as the first parameter on a line, the a pipe, then the card type on the same line.

The template will default to "(unknown card)" for card names and "(unknown)" for card types.

Example

The following is an example of how to use this template to document a deck list:


==== Eternal of Harsh Truths Deck List ====

{{Deck List
|[[Champion of Wits]]|creature
|[[Ominous Sphinx]]|creature
|[[The Locust God]]|creature
|[[Unesh, Criosphinx Sovereign]]|creature
|[[Vizier of the Anointed]]|creature
|[[Endless Sands]]|spell
|[[Imaginary Threats]]|spell
|[[Kefnet’s Last Word]]|spell
|[[Riddleform]]|support
|[[Swarm Intelligence]]|support
}}

Template

Card Name Type
(unknown card) (unknown)
(unknown card) (unknown)
(unknown card) (unknown)
(unknown card) (unknown)
(unknown card) (unknown)
(unknown card) (unknown)
(unknown card) (unknown)
(unknown card) (unknown)
(unknown card) (unknown)
(unknown card) (unknown)