Difference between revisions of "Template:Infobox card"
| Line 24: | Line 24: | ||
| above = {{Card data: {{{1}}}|1}} | | above = {{Card data: {{{1}}}|1}} | ||
| label1 = {{#if:{{Card data: {{{1}}}|2}}|Set}} | | label1 = {{#if:{{Card data: {{{1}}}|2}}|Set}} | ||
| − | | data1 = {{#if:{{Card data: {{{1}}}|2}}|{{SetSymbol|{{Card data: {{{1}}}|2}}}} {{Set_expand|{{Card data: {{{1}}}|2}}}}}}<br><small>''{{#if:{{#pos:{{StandardSetList}}|{{Card data: {{{1}}}|2}}}}|[[Standard]] format|[[File:Legacy-bg.png|x14px|link=Legacy|Legacy]] [[Legacy]] format [[File:Legacy-bg.png|x14px|link=Legacy|Legacy]]}}''</small> | + | | data1 = {{#if:{{Card data: {{{1}}}|2}}|{{SetSymbol|{{Card data: {{{1}}}|2}}}} [[{{Set_expand|{{Card data: {{{1}}}|2}}}}]]}}<br><small>''{{#if:{{#pos:{{StandardSetList}}|{{Card data: {{{1}}}|2}}}}|[[Standard]] format|[[File:Legacy-bg.png|x14px|link=Legacy|Legacy]] [[Legacy]] format [[File:Legacy-bg.png|x14px|link=Legacy|Legacy]]}}''</small> |
| label2 = {{#if:{{Card data: {{{1}}}|3}}|Rarity}} | | label2 = {{#if:{{Card data: {{{1}}}|3}}|Rarity}} | ||
| data2 = {{#if:{{Card data: {{{1}}}|3}}| {{Rarity icon lineup|{{Card data: {{{1}}}|3}}}} {{Rarity_expand|{{Card data: {{{1}}}|3}}}}}} | | data2 = {{#if:{{Card data: {{{1}}}|3}}| {{Rarity icon lineup|{{Card data: {{{1}}}|3}}}} {{Rarity_expand|{{Card data: {{{1}}}|3}}}}}} | ||
Revision as of 00:05, 2 March 2019
Template usage
The only parameter is the card name. The card data is pulled from the associated card data template.
Example
This shorthand:
{{Infobox card|Gishath, Sun's Avatar}}
{{Infobox card|Aether Hub}}
| Gishath, Sun's Avatar | |
|---|---|
| Set |
|
| Rarity |
|
| Color(s) |
|
| Cost | 26 mana |
| Type |
|
| Sub-type(s) | Dinosaur, Avatar |
| Power | 10 |
| Toughness | 10 |
| Abilities |
|
| Cards | |
| Aether Hub | |
|---|---|
| Set |
|
| Rarity |
|
| Color(s) |
|
| Cost | 6 mana |
| Type |
|
| Shields | 3 |
| Abilities |
Activate Energize Overload |
| Cards | |
Produces: