Template:Resource: Difference between revisions
From Corsair Cove Official Wiki
Wraps the Resource icon template to give an icon and linked name together |
m Added a space |
||
| Line 1: | Line 1: | ||
<includeonly><span style="text-wrap: nowrap;">{{Resource icon|{{{1}}}|size={{{size|xs}}}}}[[{{{1|Resource name needed}}}]]</span></includeonly><noinclude> | <includeonly><span style="text-wrap: nowrap;">{{Resource icon|{{{1}}}|size={{{size|xs}}}}} [[{{{1|Resource name needed}}}]]</span></includeonly><noinclude> | ||
Generates the icon for a resource and the link together so it doesn't break across lines. Uses a default size of extra small to go inline in paragraphs. | Generates the icon for a resource and the link together so it doesn't break across lines. Uses a default size of extra small to go inline in paragraphs. | ||
Latest revision as of 17:05, 29 July 2026
Generates the icon for a resource and the link together so it doesn't break across lines. Uses a default size of extra small to go inline in paragraphs.
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:
|
{{Resource|Roast Bird}}
{{Resource|Jolly Roger|size=xl}}



