Template:Resource icon: Difference between revisions

From Corsair Cove Official Wiki
Looks up the icon for the specified resource
 
m fixed the table formatting
Line 85: Line 85:
! Parameter !! Purpose
! Parameter !! Purpose
|-
|-
| resource name | the name of the resource as it is spelled and capitalized in-game
| resource name || the name of the resource as it is spelled and capitalized in-game
|-
|-
| <code>size=</code> | the size of the icon, or omit for the default size appropriate for inline in paragraphs:
| <code>size=</code> || the size of the icon, or omit for the default size appropriate for inline in paragraphs:
* <code>xs</code> - default
* <code>xs</code> - default
* <code>sm</code>
* <code>sm</code>

Revision as of 17:03, 29 July 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