Template:Building

From Corsair Cove Official Wiki
Revision as of 20:36, 2 August 2026 by Dorce (talk | contribs) (Created page with "<includeonly><span style="text-wrap: nowrap;">{{Building icon|{{{1}}}|size={{{size|xs}}}}} [[{{{1|Building name needed}}}]]</span></includeonly><noinclude> Generates the icon for a building and the link together so it doesn't break across lines. Uses a default size of extra small to go inline in paragraphs. == Usage == {|class=wikitable ! Parameter !! Purpose |- | resource name || the name of the resource as it is spelled and capitalized in-game |- | <code>size=</code...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Generates the icon for a building 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:
  • xs - default
  • sm
  • md
  • lg
  • xl
{{Building|Tent}}

Tent Tent


{{Building|Warehouse|size=xl}}

Warehouse Warehouse