Template:Producer icon

From Corsair Cove Official Wiki
Revision as of 21:11, 18 July 2026 by Aeredor (talk | contribs) (added parameters table)


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

Usage

Do not use this for displaying icons inline in a paragraph; it's too small. Just use the building name itself or rewrite to refer to the resource itself so you can use just the resource icon. Size xs is not supported by this template for this reason.

Parameter Purpose
filename specify the filename only, no File: namespace
size= choose the size, from small to extra large:
  • sm
  • md
  • lg
  • xl

Examples

{{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|size=lg}} || small
|-
| {{Producer icon|T ICO resource Hardwood.png|size=lg}} || medium
|-
| {{Producer icon|T ICO resource Hardwood.png|size=lg}} || large
|-
| {{Producer icon|T ICO resource Hardwood.png|size=xl}} || extra-large
|}
Icon Name
small
medium
large
extra-large