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
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#invoke:BuildingIcon|icon|{{{1|}}}|size={{{size|xs}}}}}
<includeonly>{{#invoke:BuildingIcon|icon|{{{1|}}}|size={{{size|xs}}}}}</includeonly><noinclude>
</includeonly><noinclude>


Generates the icon for the specified building.
Generates the icon for the specified building.
Line 29: Line 28:




<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>

Latest revision as of 08:16, 3 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