Template:Pirate icon: Difference between revisions
From Corsair Cove Official Wiki
Added default of generic pirate vector icon |
adjusted sizes slightly |
||
| Line 16: | Line 16: | ||
-->|Renegades|Renegade=gray<!-- | -->|Renegades|Renegade=gray<!-- | ||
-->|Corsairs|Corsair=gray<!-- | -->|Corsairs|Corsair=gray<!-- | ||
-->}}}}}}}" style="--instance-sized-border-width: {{#switch: {{{size|xs}}}|xs=0|sm= | -->}}}}}}}" style="--instance-sized-border-width: {{#switch: {{{size|xs}}}|xs=0|sm=1|md=2|lg=3|xl=4}}px;">[[File:{{#switch: {{{1|}}} | ||
|Drifters|Drifter|Pirates|Pirate=T Population Drifter.png | |Drifters|Drifter|Pirates|Pirate=T Population Drifter.png | ||
|Builders|Builder=T Population Builder.png | |Builders|Builder=T Population Builder.png | ||
| Line 34: | Line 34: | ||
|#default=T ICO VEC idle pop.png | |#default=T ICO VEC idle pop.png | ||
}}|x{{#switch: {{{size|xs}}} | }}|x{{#switch: {{{size|xs}}} | ||
|xs= | |xs=16 | ||
|sm= | |sm=30 | ||
|md= | |md=60 | ||
|lg= | |lg=90 | ||
|xl= | |xl=120 | ||
}}px|link={{{1|Pirates}}}|{{{1|Pirates}}}]]</span></includeonly><noinclude> | }}px|link={{{1|Pirates}}}|{{{1|Pirates}}}]]</span></includeonly><noinclude> | ||
Revision as of 00:22, 7 August 2026
Generates an icon for the specified pirate.
Usage
| Parameter | Purpose |
|---|---|
| pirate | the in-game name of the pirate whose icon to show (note the apostrophe in Crow's Eyes must be left out:
|
size= |
the size of the icon, chosen from the standardized sizes, or omit for default of extra small for use inline in paragraphs:
|
color= |
the color backdrop to show behind the pirate's icon, or omit for the default color as seen in the Overview (the background color is not shown on the smallest size icon:
|
Examples
{{Pirate icon}}
{{Pirate icon|Drifters}}
{{Pirate icon|Masterhands|size=sm}}
{{Pirate icon|Buccaneers|size=md}}
{{Pirate icon|Scallywags|size=lg}}
{{Pirate icon|Crows Eyes|size=xl|color=yellow}}


