Template:Pirate icon: Difference between revisions

From Corsair Cove Official Wiki
Generates an icon for the pirate type
 
Added default of generic pirate vector icon
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=1|sm=2|md=3|lg=4|xl=5}}px;">[[File:{{#switch: {{{1|Drifter}}}
-->}}}}}}}" style="--instance-sized-border-width: {{#switch: {{{size|xs}}}|xs=0|sm=2|md=3|lg=4|xl=5}}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 32: Line 32:
|Renegades|Renegade=T Population Buccaneer.png
|Renegades|Renegade=T Population Buccaneer.png
|Corsairs|Corsair=T Population Seadog.png
|Corsairs|Corsair=T Population Seadog.png
|#default=T ICO VEC idle pop.png
}}|x{{#switch: {{{size|xs}}}
}}|x{{#switch: {{{size|xs}}}
|xs=14
|xs=14
Line 48: Line 49:
|-
|-
| pirate || the in-game name of the pirate whose icon to show (note the apostrophe in ''Crow's Eyes'' must be left out:
| pirate || the in-game name of the pirate whose icon to show (note the apostrophe in ''Crow's Eyes'' must be left out:
* <code>Drifters</code> - default
* <code>Drifters</code>
* <code>Builders</code>
* <code>Builders</code>
* <code>Fetchers</code>
* <code>Fetchers</code>
Line 81: Line 82:


=== Examples ===
=== Examples ===
<pre>{{Pirate icon}}</pre>
{{Pirate icon}}


<pre>{{Pirate icon|Drifters}}</pre>
<pre>{{Pirate icon|Drifters}}</pre>

Revision as of 20:13, 29 July 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:
  • Drifters
  • Builders
  • Fetchers
  • Greenhands
  • Masterhands
  • Swabbies
  • Picaroons
  • Scallywags
  • Bombardiers
  • Crows Eyes
  • Buccaneers
  • Navigators
  • Marauders
  • Renegades
  • Corsairs
size= the size of the icon, chosen from the standardized sizes, or omit for default of extra small for use inline in paragraphs:
  • xs - default
  • sm
  • md
  • lg
  • xl
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:
  • red
  • yellow
  • green
  • purple
  • blue
  • gray - default

Examples

{{Pirate icon}}

Pirates


{{Pirate icon|Drifters}}

Drifters


{{Pirate icon|Masterhands|size=sm}}

Masterhands


{{Pirate icon|Buccaneers|size=md}}

Buccaneers


{{Pirate icon|Scallywags|size=lg}}

Scallywags


{{Pirate icon|Crows Eyes|size=xl|color=yellow}}

Crows Eyes