Difference between revisions of "Template:Infobox set"
Line 23: | Line 23: | ||
| 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}})}}{{#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}}''' }}{{#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>}} | ||
− | | label2 = | + | | label2 = Set mechanics |
| data2 = {{#if:{{Card set data: {{{1}}}|7}}|<!-- {{#replace:{{Card set data: {{{1}}}|7}}|,|<br>}}}} | | data2 = {{#if:{{Card set data: {{{1}}}|7}}|<!-- {{#replace:{{Card set data: {{{1}}}|7}}|,|<br>}}}} | ||
-->[[Abilities#{{#explode:{{Card set data: {{{1}}}|7}}|,|0}}|{{#explode:{{Card set data: {{{1}}}|7}}|,|0}}]]<!-- | -->[[Abilities#{{#explode:{{Card set data: {{{1}}}|7}}|,|0}}|{{#explode:{{Card set data: {{{1}}}|7}}|,|0}}]]<!-- |
Revision as of 05:00, 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|GRN}}
Produces:
Guilds of Ravnica (GRN) | |
---|---|
Released |
Nov 2018 (version 3.0) Release notes |
Format | Legacy |
ZVE ← GRN → RNA Sep 2018 Nov 2018 Mar 2019 | |
Set mechanics |
Convoke Jump-start Mentor Surveil Undergrowth |
Cards | 200 |
100 · 63 · 37 | |
60 · 55 · 40 · 35 · 10 | |
Portal:Cards (Infobox · Data) |