Template:Building icon: Difference between revisions

From Corsair Cove Official Wiki
Dorce (talk | contribs)
Created page with "<includeonly>{{#invoke:BuildingIcon|icon|{{{1|}}}|size={{{size|xs}}}}} </includeonly><noinclude> Generates the icon for the specified building. == Usage == {|class=wikitable ! Parameter !! Purpose |- | resource name || the name of the building 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>xs</code> - default * <code>sm</code> * <code>md</code> * <code..."
 
Dorce (talk | contribs)
No edit summary
Line 29: Line 29:




<pre>{{Building icon|Bucaneer Grill|size=xl}}</pre>
<pre>{{Building icon|Buccaneer Grill|size=xl}}</pre>
{{Building icon|Bucaneer Grill|size=xl}}
{{Building icon|Buccaneer Grill|size=xl}}




[[Category: Icon templates]]
[[Category: Icon templates]]
</noinclude>
</noinclude>

Revision as of 20:31, 2 August 2026


Generates the icon for the specified building.

Usage

Parameter Purpose
resource name the name of the building 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

{{Building icon|Sawmill|size=md}}

Sawmill


{{Building icon|Quarry}}

Quarry


{{Building icon|Buccaneer Grill|size=xl}}

Buccaneer Grill