Difference between revisions of "Template:Infobox set"
Line 27: | Line 27: | ||
| headerstyle = background:#eaecf0;font-weight:normal | | headerstyle = background:#eaecf0;font-weight:normal | ||
| header3 =<!-- | | header3 =<!-- | ||
− | -->{{#if: {{#pos:{{LegacySetList}} {{StandardSetList}}|{{ | + | -->{{#if: {{#pos:{{LegacySetList}} {{StandardSetList}}|{{Set_relative|{{{1}}}|-1}} }}|<!-- |
− | -->[[{{ | + | -->[[{{Set_relative|{{{1}}}|-1}}]] [[File:{{Set_relative|{{{1}}}|-1}}_Symbol.png|x16px|{{Set_relative|{{{1}}}|-1}}]]<!-- |
− | -->|{{#if: {{#pos:{{LegacySetList}} {{StandardSetList}}|{{ | + | --> ← <!-- |
− | -->[[{{ | + | -->|{{#if: {{#pos:{{LegacySetList}} {{StandardSetList}}|{{Set_relative|{{{1}}}|-2}} }}|<!-- |
+ | -->[[{{Set_relative|{{{1}}}|-2}}]] [[File:{{Set_relative|{{{1}}}|-2}}_Symbol.png|x16px|{{Set_relative|{{{1}}}|-2}}]]<!-- | ||
+ | --> ← }}}}<!-- | ||
-->[[{{{1}}}]] [[File:{{{1}}}_Symbol.png|x16px|{{{1}}}]]<!-- | -->[[{{{1}}}]] [[File:{{{1}}}_Symbol.png|x16px|{{{1}}}]]<!-- | ||
− | -->{{#if: {{#pos:{{LegacySetList}} {{StandardSetList}}|{{ | + | -->{{#if: {{#pos:{{LegacySetList}} {{StandardSetList}}|{{Set_relative|{{{1}}}|+1}} }}|<!-- |
− | --> → [[{{ | + | --> → <!-- |
− | -->|{{#if: {{#pos:{{LegacySetList}} {{StandardSetList}}|{{ | + | -->[[{{Set_relative|{{{1}}}|+1}}]] [[File:{{Set_relative|{{{1}}}|+1}}_Symbol.png|x16px|{{Set_relative|{{{1}}}|+1}}]]<!-- |
− | --> → [[{{ | + | -->|{{#if: {{#pos:{{LegacySetList}} {{StandardSetList}}|{{Set_relative|{{{1}}}|+2}} }}|<!-- |
+ | --> → <!-- | ||
+ | -->[[{{Set_relative|{{{1}}}|+2}}]] [[File:{{Set_relative|{{{1}}}|+2}}_Symbol.png|x16px|{{Set_relative|{{{1}}}|+2}}]]<!-- | ||
-->}}}}<!-- | -->}}}}<!-- | ||
--><br><small>''<!-- | --><br><small>''<!-- | ||
− | -->{{#if: {{#pos:{{LegacySetList}} {{StandardSetList}}|{{ | + | -->{{#if: {{#pos:{{LegacySetList}} {{StandardSetList}}|{{Set_relative|{{{1}}}|-1}} }}|<!-- |
− | -->{{Card set data: {{ | + | -->{{Card set data: {{Set_relative|{{{1}}}|-1}}|4}} <!-- |
− | -->|{{#if: {{#pos:{{LegacySetList}} {{StandardSetList}}|{{ | + | -->|{{#if: {{#pos:{{LegacySetList}} {{StandardSetList}}|{{Set_relative|{{{1}}}|-2}} }}|<!-- |
− | -->{{Card set data: {{ | + | -->{{Card set data: {{Set_relative|{{{1}}}|-2}}|4}} }}}}<!-- |
-->{{Card set data: {{{1}}}|4}}<!-- | -->{{Card set data: {{{1}}}|4}}<!-- | ||
− | -->{{#if: {{#pos:{{LegacySetList}} {{StandardSetList}}|{{ | + | -->{{#if: {{#pos:{{LegacySetList}} {{StandardSetList}}|{{Set_relative|{{{1}}}|+1}} }}|<!-- |
− | --> {{Card set data: {{ | + | --> {{Card set data: {{Set_relative|{{{1}}}|+1}}|4}}<!-- |
− | -->|{{#if: {{#pos:{{LegacySetList}} {{StandardSetList}}|{{ | + | -->|{{#if: {{#pos:{{LegacySetList}} {{StandardSetList}}|{{Set_relative|{{{1}}}|+2}} }}|<!-- |
− | --> {{Card set data: {{ | + | --> {{Card set data: {{Set_relative|{{{1}}}|+2}}|4}}<!-- |
-->}}}}''</small> | -->}}}}''</small> | ||
| label5 = Set mechanics | | label5 = Set mechanics |
Revision as of 08:18, 25 February 2019
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) | |
---|---|
Released |
Jul 2018 (version 2.8) Release notes |
Format | Legacy |
DOM ← M19 → ZVE May 2018 Jul 2018 Sep 2018 | |
Set mechanics |
Flash Stored Mana |
Cards | 190 |
104 · 56 · 30 | |
60 · 55 · 40 · 25 · 10 | |
Portal:Cards (Infobox · Data) |