Template:Resource icon: Difference between revisions

From Corsair Cove Official Wiki
Dorce (talk | contribs)
Connected Template with resource data
Dorce (talk | contribs)
No edit summary
 
Line 1: Line 1:
<includeonly>{{#invoke:ResourceIcon|icon|{{{1|}}}|size={{{size|xs}}}}}
<includeonly>{{#invoke:ResourceIcon|icon|{{{1|}}}|size={{{size|xs}}}}}</includeonly><noinclude>
</includeonly><noinclude>


Generates the icon for the specified resource.
Generates the icon for the specified resource.

Latest revision as of 08:17, 3 August 2026


Generates the icon for the specified resource.

Usage

Parameter Purpose
resource name the name of the resource as it is spelled and capitalized in-game
size= the size of the icon, or omit for the default size appropriate for inline in paragraphs:
  • xs - default
  • sm
  • md
  • lg
  • xl

Examples

{{Resource icon|Planks|size=md}}

Planks


{{Resource icon|Booze}}

Booze


{{Resource icon|Coins|size=xl}}

Coins