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

From mtgpq wiki
Jump to: navigation, search
Line 17: Line 17:
 
|}
 
|}
  
</noinclude><includeonly>{{#if:{{{1|}}}|
+
</noinclude><includeonly>{{#if:{{{1|}}}|<br>
 
{{!}}-
 
{{!}}-
 
! rowspan="2" {{!}} {{SetSymbol|{{{1}}}|48}}
 
! rowspan="2" {{!}} {{SetSymbol|{{{1}}}|48}}
Line 34: Line 34:
 
-->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|8}} |&nbsp;'''·''' [[Abilities#{{#explode:{{Card set data: {{{1}}}|7}}|,|8}}|{{#explode:{{Card set data: {{{1}}}|7}}|,|8}}]]}}<!--
 
-->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|8}} |&nbsp;'''·''' [[Abilities#{{#explode:{{Card set data: {{{1}}}|7}}|,|8}}|{{#explode:{{Card set data: {{{1}}}|7}}|,|8}}]]}}<!--
 
-->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|9}} |&nbsp;'''·''' [[Abilities#{{#explode:{{Card set data: {{{1}}}|7}}|,|9}}|{{#explode:{{Card set data: {{{1}}}|7}}|,|9}}]]}}<!--
 
-->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|9}} |&nbsp;'''·''' [[Abilities#{{#explode:{{Card set data: {{{1}}}|7}}|,|9}}|{{#explode:{{Card set data: {{{1}}}|7}}|,|9}}]]}}<!--
-->{{!}} <small>''(No new mechanics added)''
+
-->|<small>''(No new mechanics added)''
 
}}</small>}}</includeonly>
 
}}</small>}}</includeonly>

Revision as of 09:51, 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