Template:Building icon: Difference between revisions
From Corsair Cove Official Wiki
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..." |
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| | <pre>{{Building icon|Buccaneer Grill|size=xl}}</pre> | ||
{{Building icon| | {{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:
|
Examples
{{Building icon|Sawmill|size=md}}
{{Building icon|Quarry}}
{{Building icon|Buccaneer Grill|size=xl}}



