Template:Icon

From Corsair Cove Official Wiki
Revision as of 17:54, 26 July 2026 by Aeredor (talk | contribs) (Standardized icon template with standardized sizes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Formats an icon image with standardized sizes, alt text, and link markup

Usage

Parameter Purpose
filename the filename of the icon, including its extension; but not the namespace, like File:
label the name of the thing represented by the icon
size= the size to display at, or it defaults to extra small for inlining in paragraphs:
  • xs - default
  • sm
  • md
  • lg
  • xl

Examples

{{Icon|T_ICO_resource_plank.png|Planks}}

Planks


{{Icon|T_ICO_resource_Hardwood.png|Planks|size=lg}}

Planks