Difference between revisions of "Template:Set-Details-Compact"

From mtgpq wiki
Jump to: navigation, search
Line 8: Line 8:
 
The following shorthand:
 
The following shorthand:
 
<pre><nowiki>
 
<pre><nowiki>
{| class="wikitable"
+
{| class="wikitable" {{Set-Details-Compact|DOM}}
{{Set-Details-Compact|DOM}}
+
|}
|}</nowiki></pre>
+
</nowiki></pre>
  
 
Produces:
 
Produces:
{| class="wikitable"
+
{| class="wikitable" {{Set-Details-Compact|DOM}}
{{Set-Details-Compact|DOM}}
 
 
|}
 
|}
  

Revision as of 10:03, 25 February 2019

Usage

Shorthand for creating a row of a table containing set details for a given card set.

The only parameter is the three-letter abbreviation of the card set. The other data is pulled from the corresponding card set data template. If the parameter is empty or not present, no output is produced.

Example

The following shorthand:

{| class="wikitable" {{Set-Details-Compact|DOM}}
|}

Produces:

Dominaria Dominaria (DOM)

May 2018 (version 2.7)

Cards: 192  (Common60 · Uncommon55 · Rare41 · Mythic26 · Masterpiece10)

New mechanics:   Historic · LeaderLeader · Saga