Template:Icon

From DominionStrategy Wiki
Revision as of 18:33, 5 June 2022 by Tick Tock (talk | contribs) (typo)
Jump to navigation Jump to search

This template converts a card name to its set/expansion icon.

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}} →
  • {{Icon|Spoils|18px}} →
  • {{Icon|Jack of All Trades|22px}} →
  • {{Icon|Prosperity|20px}} →