Template:Icon

From DominionStrategy Wiki
(Difference between revisions)
Jump to: navigation, search
Line 91: Line 91:
 
|Palace              |Tomb                |Tower              |Triumphal Arch      |Wall
 
|Palace              |Tomb                |Tower              |Triumphal Arch      |Wall
 
|Wolf Den = Empires
 
|Wolf Den = Empires
 +
 +
|Sauna              |Avanto              |Summon = Promo
  
 
|Black Market
 
|Black Market
 
|Envoy
 
|Envoy
|Sauna
 
|Avanto
 
 
|Walled Village
 
|Walled Village
 
|Governor
 
|Governor
 
|Prince
 
|Prince
|Summon
 
 
|Stash = {{{1}}}
 
|Stash = {{{1}}}
 
}} 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 11:03, 23 September 2016

Icon.png

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.

Examples

  • {{Icon|Gold|24px}} → Dominion icon.png
  • {{Icon|Spoils|18px}} → Dark Ages icon.png
  • {{Icon|Jack of All Trades|22px}} → Hinterlands icon.png
  • {{Icon|Prosperity|20px}} → Prosperity icon.png
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Toolbox