Difference between revisions of "Template:Infobox set"

From mtgpq wiki
Jump to: navigation, search
Line 23: Line 23:
 
| image  = [[File:{{{1}}}_Symbol.png|x80px]]
 
| image  = [[File:{{{1}}}_Symbol.png|x80px]]
 
| label1  = {{#if:{{Card set data: {{{1}}}|4}}|Released}}
 
| label1  = {{#if:{{Card set data: {{{1}}}|4}}|Released}}
| data1  = {{#if:{{Card set data: {{{1}}}|4}}|'''{{Card set data: {{{1}}}|4}}'''&nbsp;}}{{#if:{{Card set data: {{{1}}}|5}}|(version {{Card set data: {{{1}}}|5}})}}{{#if:{{Card set data: {{{1}}}|6}}|<br><small>[{{Card set data: {{{1}}}|6}} Release notes]</small>}}
+
| data1  = {{#if:{{Card set data: {{{1}}}|4}}|'''{{Card set data: {{{1}}}|4}}'''&nbsp;}}{{#if:{{Card set data: {{{1}}}|5}}|(version {{Card set data: {{{1}}}|5}})}}{{#if:{{Card set data: {{{1}}}|6}}|<br><small>[{{Release data: {{Card set data: {{{1}}}|5}}|2}} Release notes]</small>}}
 
| label2  = {{#if: {{#pos:{{LegacySetList}} {{StandardSetList}}|{{{1}}}}}|Format}}
 
| label2  = {{#if: {{#pos:{{LegacySetList}} {{StandardSetList}}|{{{1}}}}}|Format}}
 
| data2  = {{#if: {{#pos:{{StandardSetList}}|{{{1}}}}}|[[Standard]]| [[File:Legacy-bg.png|x18px|Legacy]] [[Legacy]]}}
 
| data2  = {{#if: {{#pos:{{StandardSetList}}|{{{1}}}}}|[[Standard]]| [[File:Legacy-bg.png|x18px|Legacy]] [[Legacy]]}}

Revision as of 10:54, 18 March 2020

Template usage

The only parameter is the three-letter expansion set abbreviation. The card set data is pulled from the associated data template.

Example

This shorthand:

{{Infobox set|M19}}

Produces:

Core Set 2019 (M19)
EventsStoryPlaneswalkersCardsGuides
M19 Symbol.png
Released Jul 2018 (version 2.8)
Release notes
Format Legacy Legacy
DOM DOM    ←    M19 M19    →    ZVE ZVE
May 2018              Jul 2018              Sep 2018
Set mechanics FlashFlash
Stored ManaStored Mana
Cards 190
Creatures104 · Spells56 · Supports30
Common60 · Uncommon55 · Rare40 · Mythic25 · Masterpiece10
Portal:Cards   (Infobox · Data)