Template:Pirate: Difference between revisions

From Corsair Cove Official Wiki
Dorce (talk | contribs)
Created page with "<includeonly>{{Pirate icon|{{{1}}}|{{#if:{{{2|}}}|size={{{2}}}}}}} [[{{{1}}}]]</includeonly>"
 
Dorce (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{Pirate icon|{{{1}}}|{{#if:{{{2|}}}|size={{{2}}}}}}} [[{{{1}}}]]</includeonly>
<includeonly><span style="text-wrap: nowrap;">{{Pirate icon|{{{1}}}|{{#if:{{{2|}}}|size={{{2}}}}}}} [[{{{1}}}]]</span></includeonly>
 
<noinclude>
Generates the icon for a pirate and the link together so it doesn't break across lines. Uses a default size of extra small to go inline in paragraphs.
 
== Usage ==
 
{|class=wikitable
! Parameter !! Purpose
|-
| pirate name || the name of the pirate as it is spelled and capitalized in-game
|-
| <code>size=</code> || the size of the icon, or omit for the default size appropriate for inline in paragraphs:
* <code>xs</code> - default
* <code>sm</code>
* <code>md</code>
* <code>lg</code>
* <code>xl</code>
|}
 
<pre>{{Pirate|Drifter}}</pre>
{{Pirate|Drifter}}
 
<pre>{{Pirate|Scallywags|size=md}}</pre>
{{Pirate|Scallywags|size=md}}
 
<pre>{{Pirate|Masterhands|size=xl}}</pre>
{{Pirate|Masterhands|size=xl}}
 
 
[[Category: Formatting templates]]
</noinclude>

Latest revision as of 09:43, 14 August 2026


Generates the icon for a pirate and the link together so it doesn't break across lines. Uses a default size of extra small to go inline in paragraphs.

Usage

Parameter Purpose
pirate name the name of the pirate as it is spelled and capitalized in-game
size= the size of the icon, or omit for the default size appropriate for inline in paragraphs:
  • xs - default
  • sm
  • md
  • lg
  • xl
{{Pirate|Drifter}}

Drifter Drifter


{{Pirate|Scallywags|size=md}}

Scallywags Scallywags


{{Pirate|Masterhands|size=xl}}

Masterhands Masterhands