Template:Producer icon
From Corsair Cove Official Wiki
Layers the "Producers" icon shown in the Production Chains overview, a plain wooden shield background, behind the icon with the specified filename. Applies the specified size to the whole stack, so the inner icon will be slightly smaller.
Usage
This skips the shield on extra-small sizes; this means with just the resource icon it could be confusing, so it is recommended to use just the building name itself or rewrite to refer to the resource itself so you can use just the resource icon clearly.
| Parameter | Purpose |
|---|---|
| filename | specify the filename only, no File: namespace |
size= |
the size of the icon, or omit for an extra small default size appropriate for inline in paragraphs:
|
Examples
{{Producer icon|T ICO resource Hardwood.png}}
{{Producer icon|T ICO resource Hardwood.png|size=sm}}
{{Producer icon|T ICO resource Hardwood.png|size=md}}
{{Producer icon|T ICO resource Hardwood.png|size=lg}}
{{Producer icon|T ICO resource Hardwood.png|size=xl}}
And in table cells:
{|class=wikitable
! Icon !! Name
|-
| {{Producer icon|T ICO resource Hardwood.png}} || extra small
|-
| {{Producer icon|T ICO resource Hardwood.png|size=sm}} || small
|-
| {{Producer icon|T ICO resource Hardwood.png|size=md}} || medium
|-
| {{Producer icon|T ICO resource Hardwood.png|size=lg}} || large
|-
| {{Producer icon|T ICO resource Hardwood.png|size=xl}} || extra-large
|}
| Icon | Name |
|---|---|
| extra small | |
| small | |
| medium | |
| large | |
| extra-large |


