Template:Building: Difference between revisions

From Corsair Cove Official Wiki
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..."
 
Dorce (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
! Parameter !! Purpose
! Parameter !! Purpose
|-
|-
| resource name || the name of the resource as it is spelled and capitalized in-game
| building name || the name of the bulding 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:

Latest revision as of 08:15, 3 August 2026


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
building name the name of the bulding 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