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

It is recommended to not use this template for extra small sizes, because it's too small to be clear. For use inline in paragraphs, 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:
  • xs - default
  • sm
  • md
  • lg
  • xl

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