Template:Pirate Artist
From YPPedia
Usage
These usage notes will not be included in articles bearing this template.
This template can display a Template:Message_box for pirates who have one or more game design trophies. This template should be included a custom parameter of the Template:infobox_pirate like following :
{{infobox pirate | ... | custom={{Pirate Artist | pirate=Pirate's name | egg=yes}} }}
Please see Template:Pirate_Artist/doc#Fileds for more details.
Contents
Fields
name | number | default value | note |
---|---|---|---|
pirate | 1 | Required. A pirate's name as it would appear in-game. | |
pbg | 2 | no | If the pirate won the Portrait Background Contest, set "pbg=yes". (optional) |
trinket | 3 | no | If the pirate won the Seasonal Trinket Contest, set "trinket=yes". (optional) |
egg | 4 | no | If the pirate has Gilded Egg Trophy, set "egg=yes". (optional) |
gcpp | 5 | no | If the pirate has participated in the Grand Crafting Puzzle Project substantial, set "gcpp=yes". (optional) |
other | 6 | no | If the pirate made the in-game art to the Y!PP, set "other=yes". (optional) |
other-values | 7 | something... | If set other=yes and set this field something, this template will display its value. (optional) |
Note :If you set "no" to all fields, this template doesn't show the message box.
Sample
For the portrait background artists
Code | Display | |||
---|---|---|---|---|
{{Pirate Artist | pirate=Samplepirate | pbg=yes}} |
|
For the trinket designers
Code | Display | |||
---|---|---|---|---|
{{Pirate Artist | pirate=Samplepirate | trinket=yes}} |
|
For the egg designers
Code | Display | |||
---|---|---|---|---|
{{Pirate Artist | pirate=Samplepirate | egg=yes}} |
|
For the GCPP members
Code | Display | |||
---|---|---|---|---|
{{Pirate Artist | pirate=Samplepirate | gcpp=yes}} |
|
For the banner creators
Code | Display | |||
---|---|---|---|---|
{{Pirate Artist | pirate=Samplepirate | other=yes | other-values= * {{Fl | B | Banner - Crab | Pirate Banner}} }} |
|
Other sample
Code | Display | |||
---|---|---|---|---|
{{Pirate Artist | pirate=Samplepirate | other=yes | other-values=----'''Winner'''<br>August 2006<br>December 2006<br>September 2007<br>December 2007<br>June 2008<br>October 2008<br>[[Art:Portrait_Background_Contest|Limited Edition Portrait Background Contest]] }} |
|
Full settings
Code | Display | |||
---|---|---|---|---|
{{Pirate Artist | pirate=Samplepirate | pbg=yes | trinket=yes | egg=yes | gcpp=yes | other=yes | other-values=* Contribution 1 * Contribution 2 * Contribution 3 }} |
|
Included by {{infobox pirate}} template
Code | Display |
---|---|
{{Infobox pirate |piratename= Samplepirate |portrait= no |pet=yes |petname=Venerable |pettype=Rat |petcolor1=white |petcolor2=ignored |petcolor3=ignored |trinket=yes |trinkettype=Skull |trinketcolor1=ignored |trinketcolor2=ignored |galleries= 1 |ocean1= Ice |rank1=officer | custom={{Pirate Artist| | pirate=Samplepirate | pbg=yes | trinket=yes | egg=yes | gcpp=yes | other=yes | other-values=* [http://forums.puzzlepirates.com/community/mvnforum/viewthread?p=2188881#2188881 Seasonal Color Name] * {{fl|B|Banner - Trophy}} }} }} |
Wrong settings
Code | Display | Note |
---|---|---|
{{Pirate Artist}} | pirate field should be required. | |
{{Pirate Artist | pirate= | other=yes | other-values=TEXT }} |
If you don't set the pirate field, this template doesn't show the message box. | |
{{Pirate Artist | pirate=Samplepirate}} | At least one of the below fields should be required : "pbg", "trinket", "egg", "gcpp", or "other". | |
{{Pirate Artist | pirate=Samplepirate | pbg=no | trinket=no | egg=no | gcpp=no | other=no | other-values=TEXT }} |
If you set "no" to all fields, this template doesn't show the message box. |
Categorization
This template doesn't categorize the article that include this.
To Edit/Modify this template
- Please don't remove {{clear}} from this template.
- If you need edit usage of this template, or if you need categorize this template, please edit Template:Pirate_Artist/doc.
See also
- {{Message box}} (Usage) — This template includes Template:Message box.
- {{Infobox pirate}} (Usage) — This template should be included by Template:Infobox pirate.