User:Alfwyn/Sandbox/Template:Infobox pirate



{{Usage|1=This template is designed as a simple "catch all" template for placing infoboxes in pirate articles. For complete usage details see this page's talk page, and for an example page featuring this template, see YPPedia:Sample pirate page. Usage:

 {{ Infobox pirate  | piratename= Piratename

 | portrait= yes

 | familiars= #  | fam-type-x= Type-color1(-color2)  | fam-ocean-x= Ocean  | fam-name-x= name

 | designer= no

 | pet= yes  | pettype=Type  | petname=name  | petcolor1=primary  | petcolor2=secondary  | petcolor3=tertiary

 | trinket= yes  | trinkettype=Trinket  | trinketcolor1=primary  | trinketcolor2=secondary

 | galleries= #  | oceanx= Ocean

 }} 

Fields

 * Piratename= - Required. Enter the name of the pirate as it would appear in-game.
 * Portrait= - Optional&mdash;If omitted, no portrait will be displayed. Set portrait=yes if the pirate has a portrait uploaded to Image:Pirates-Piratename.jpg.
 * Familiars= - Optional&mdash;Omit this field if the pirate has won no familiars. If the pirate has won one or more familiars, fill in the number won for x. Then, fill in fam-type-x=, fam-ocean-x=, and fam-name-x= for each familiar won, replacing X for the number of the familiar in each instance. For example, for a pirate who has won two familiars: | fam-type-1=Monkey-tan  | fam-ocean-1=Midnight  | fam-name-1=Monkeybutter  | fam-type-2=Parrot-red-green  | fam-ocean-2=Sage  | fam-name-2=Fingers
 * designer= - Optional&mdash;Only include for pirates who have had islands they designed included in the game.
 * pet= - Optional&mdash;Include if you have a single pet which you especially care for. You can find a list of pets that can be used with this template and the colors that are valid for them at Category:My pet templates
 * trinket= - Optional&mdash;Include if you have a single trinket of which you're very proud. Include colors even if they're not shown on the wiki, in case the trinkets are updated later. You can find a list of trinkets that can be used with this template and the colors that are valid for them at Category:My trinket templates
 * galleries=# - Optional&mdash;Replace # with the number of oceans on which the pirate has galleries. For each ocean required, specify | oceanx=ocean, for example: | galleries=2  | ocean1=Midnight  | ocean2=Sage

This is basic usage. More advanced techniques can be found on the talk page}}.