Difference between revisions of "Template:Infobox set"
(8 intermediate revisions by one other user not shown) | |||
Line 19: | Line 19: | ||
<!--| headerstyle = {{Infobox sec|header}}--> | <!--| headerstyle = {{Infobox sec|header}}--> | ||
| labelstyle = {{Infobox sec|label|width=33%}} | | labelstyle = {{Infobox sec|label|width=33%}} | ||
+ | | subheader = {{Portal icons|noicon=1}} | ||
| above = {{Card set data: {{{1}}}|1}} {{#if:{{Card set data: {{{1}}}|2}}|({{Card set data: {{{1}}}|2}})}} | | above = {{Card set data: {{{1}}}|1}} {{#if:{{Card set data: {{{1}}}|2}}|({{Card set data: {{{1}}}|2}})}} | ||
| 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}}''' }}{{#if:{{Card set data: {{{1}}}|5}}|(version {{Card set data: {{{1}}}|5}})}} | + | | data1 = {{#if:{{Card set data: {{{1}}}|4}}|'''{{Card set data: {{{1}}}|4}}''' }}{{#if:{{Card set data: {{{1}}}|5}}|(version {{Card set data: {{{1}}}|5}})}}<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]]}} | ||
| 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}} }}|<!-- |
− | -->[[{{{1}}}]] [[File:{{{1}}}_Symbol.png|x16px|{{{1}}}]]<!-- | + | -->[[{{Set_relative|{{{1}}}|-2}}]] [[File:{{Set_relative|{{{1}}}|-2}}_Symbol.png|x16px|{{Set_relative|{{{1}}}|-2}}]]<!-- |
− | -->{{#if: {{#pos:{{LegacySetList}} {{StandardSetList}}|{{ | + | --> ← }}}}<!-- |
− | --> → [[{{ | + | -->'''[[{{{1}}}]]''' [[File:{{{1}}}_Symbol.png|x16px|{{{1}}}]]<!-- |
− | -->|{{#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}}|{{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 | ||
− | | data5 = {{#if:{{Card set data: {{{1}}}|7}}|<!-- | + | | data5 = {{#if:{{Card set data: {{{1}}}|7}}|<!-- |
− | --> | + | -->{{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|0}}}}<!-- |
− | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|1}} |< | + | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|1}} |<br>{{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|1}}}}}}<!-- |
− | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,| | + | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|2}} |<br>{{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|2}}}}}}<!-- |
− | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,| | + | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|3}} |<br>{{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|3}}}}}}<!-- |
− | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,| | + | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|4}} |<br>{{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|4}}}}}}<!-- |
− | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,| | + | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|5}} |<br>{{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|5}}}}}}<!-- |
− | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,| | + | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|6}} |<br>{{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|6}}}}}}<!-- |
− | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|7}} |< | + | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|7}} |<br>{{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|7}}}}}}<!-- |
− | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,| | + | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|8}} |<br>{{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|8}}}}}}<!-- |
− | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,| | + | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|9}} |<br>{{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|9}}}}}}<!-- |
+ | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|10}} |<br>{{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|10}}}}}}<!-- | ||
+ | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|11}} |<br>{{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|11}}}}}}<!-- | ||
+ | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|12}} |<br>{{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|12}}}}}}<!-- | ||
+ | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|13}} |<br>{{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|13}}}}}}<!-- | ||
+ | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|14}} |<br>{{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|14}}}}}}<!-- | ||
+ | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|15}} |<br>{{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|15}}}}}}<!-- | ||
+ | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|16}} |<br>{{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|16}}}}}}<!-- | ||
+ | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|17}} |<br>{{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|17}}}}}}<!-- | ||
+ | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|18}} |<br>{{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|18}}}}}}<!-- | ||
+ | -->{{#if: {{#explode:{{Card set data: {{{1}}}|7}}|,|19}} |<br>{{Ability|{{#explode:{{Card set data: {{{1}}}|7}}|,|19}}}}}}<!-- | ||
-->|<small>''No new mechanics added''</small>}} | -->|<small>''No new mechanics added''</small>}} | ||
| label6 = {{#if:{{Card set data: {{{1}}}|8}}|Cards}} | | label6 = {{#if:{{Card set data: {{{1}}}|8}}|Cards}} |
Latest revision as of 16:58, 11 October 2022
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) |