Template:Pirate icon: Difference between revisions
From Corsair Cove Official Wiki
Added default of generic pirate vector icon |
apostrophe works in Crow's Eyes after all |
||
| (One intermediate revision by the same user not shown) | |||
| Line 10: | Line 10: | ||
-->|Scallywags|Scallywag=gray<!-- | -->|Scallywags|Scallywag=gray<!-- | ||
-->|Bombardiers|Bombardier=gray<!-- | -->|Bombardiers|Bombardier=gray<!-- | ||
-->|Crows Eyes=gray<!-- | -->|Crow's Eyes|Crows Eyes|Crow's Eye|Crows Eye=gray<!-- | ||
-->|Buccaneers|Buccaneer=gray<!-- | -->|Buccaneers|Buccaneer=gray<!-- | ||
-->|Navigators|Navigator=gray<!-- | -->|Navigators|Navigator=gray<!-- | ||
| 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 26: | Line 26: | ||
|Scallywags|Scallywag=T Population Ablehand.png | |Scallywags|Scallywag=T Population Ablehand.png | ||
|Bombardiers|Bombardier=T Population Powdermonkey.png | |Bombardiers|Bombardier=T Population Powdermonkey.png | ||
|Crows Eyes=T Population Lookout.png | |Crow's Eyes|Crows Eyes|Crow's Eye|Crows Eye=T Population Lookout.png | ||
|Buccaneers|Buccaneer=T Population Helmsmen.png | |Buccaneers|Buccaneer=T Population Helmsmen.png | ||
|Navigators|Navigator=T Population Navigator.png | |Navigators|Navigator=T Population Navigator.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> | ||
| Line 48: | Line 48: | ||
! Parameter !! Purpose | ! Parameter !! Purpose | ||
|- | |- | ||
| pirate || the in-game name of the pirate whose icon to show | | pirate || the in-game name of the pirate whose icon to show: | ||
* <code>Drifters</code> | * <code>Drifters</code> | ||
* <code>Builders</code> | * <code>Builders</code> | ||
| Line 58: | Line 58: | ||
* <code>Scallywags</code> | * <code>Scallywags</code> | ||
* <code>Bombardiers</code> | * <code>Bombardiers</code> | ||
* <code> | * <code>Crow's Eyes</code> | ||
* <code>Buccaneers</code> | * <code>Buccaneers</code> | ||
* <code>Navigators</code> | * <code>Navigators</code> | ||
| Line 103: | Line 103: | ||
<pre>{{Pirate icon| | <pre>{{Pirate icon|Crow's Eyes|size=xl|color=yellow}}</pre> | ||
{{Pirate icon| | {{Pirate icon|Crow's Eyes|size=xl|color=yellow}} | ||
[[Category: Icon templates]] | [[Category: Icon templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 18:44, 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:
|
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|Crow's Eyes|size=xl|color=yellow}}


