Template:Icon
From DominionStrategy Wiki
(Difference between revisions)
Line 166: | Line 166: | ||
|Avanto |Governor |Stash |Prince |Summon |Captain | |Avanto |Governor |Stash |Prince |Summon |Captain | ||
= Promo | = Promo | ||
+ | |||
+ | |Base Cards | ||
+ | = Base Cards | ||
}} icon.png{{#if:{{{2|}}}|{{!}}{{{2}}}}}|link={{#if:{{Card2set|{{{1|}}}}}|{{Card2set|{{{1|}}}}}|{{{1|}}}}}]]<noinclude> | }} icon.png{{#if:{{{2|}}}|{{!}}{{{2}}}}}|link={{#if:{{Card2set|{{{1|}}}}}|{{Card2set|{{{1|}}}}}|{{{1|}}}}}]]<noinclude> | ||
{{doc}}</noinclude> | {{doc}}</noinclude> |
Revision as of 18:01, 3 May 2021
Template documentation [edit]
This template converts a card name to its set/expansion icon.
Contents |
Usage
{{Icon|name|size}}
Parameters
Required
- name
- The name of the card (or expansion). Note that it must be properly capitalized.
Optional
- size
- numberpx - the size of the icon; if omitted, the icon will be displayed in its full size.