Difference between revisions of "Template:Infobox Character"
J McKalling (Talk | contribs) m |
J McKalling (Talk | contribs) m |
||
Line 59: | Line 59: | ||
|building=Twinsen's House | |building=Twinsen's House | ||
}}</nowiki> | }}</nowiki> | ||
− | </noinclude><includeonly>{{#ifeq: {{lc: {{{nocat|false}}} }} | false | [[Category:Characters]] }}</includeonly> | + | </noinclude><includeonly>{{#ifeq: {{lc: {{{nocat|false}}} }} | false | [[Category:Characters]] }}{{ |
+ | #if: {{#var_final: maintenance | }} | ||
+ | | {{#vardefine: infobox_messages | {{#var:infobox_messages|}}{{#var_final:maintenance}} }} | ||
+ | }}</includeonly> | ||
{{Infobox | {{Infobox | ||
|<includeonly>{{#if: {{{title|}}} |title={{{title|}}}}}</includeonly><noinclude>title=Twinsen</noinclude> | |<includeonly>{{#if: {{{title|}}} |title={{{title|}}}}}</includeonly><noinclude>title=Twinsen</noinclude> |
Revision as of 12:38, 8 December 2012
This template is used as an infobox in characters' articles. It should be the first of the article, before the general description.
Parameters
- image: An image filename of the character (case sensitive, defaults to empty portrait, see Template:Articleimage)
- race: The race of the character; quetch, grobo, sphero etc. (case insensitive, defaults to "unknown", see the race subpage)
- gender: Male or female (case insensitive, defaults to "unknown", see the gender subpage)
- size: The length of the character; small, average, large (case insensitive, defaults to "unknown", see the size subpage)
- age: The general age of the character; child or adult (case insensitive, defaults to "unknown", see the age subpage)
- magical: Whether the character is magical; yes or no (case insensitive, defaults to "unknown", see the magical subpage)
- lba#: Whether the character is encountered in the #(=1, 2 or 3) adventure (defaults to "no", see the adventure subpage)
- occupation: A short phrase about the character's profession if it has one (case sensitive, defaults to not displayed)
- requires: An articlename of an Inventory Item (case sensitive, defaults to none displayed, see the requires subpage)
- amount: An amount for the above requirement (positive numeric, defaults to "none of:", see the requires subpage)
- fam#: The #(=1, 2, 3, 4 or 5) family member the character is related to (defaults to none displayed, see the family subpage)
- planet: The planet this character lives on (case insensitive, defaults to none displayed, see Template:Planetlink)
- island: The island this character lives on (case sensitive, defaults to none displayed, see Template:Islandlink)
- building: The building of residence of this character (case sensitive, defaults to none displayed)
- nocat: Whether or not to suppress categorization under all the chosen categories (defaults to false, which means auto categorization).
Note: The article is automatically categorized under Category:Articles without an image if no filename was specified, or Category:Articles with a missing image if the specified filename doesn't exist. The nocat parameter will also suppress these.
Syntax
Copy and paste the following for quick use:
{{Infobox Character |image= |race= |gender= |size= |age= |magical= |lba1= |lba2= |occupation= |requires= |amount= |fam1= |fam2= |planet= |island= |building= }}
Example
On a page called "Twinsen":
{{Infobox Character |image=Twinsen.jpg |race=Quetch |gender=male |size=average |age=adult |magical=aye!! |lba1=yes |lba2=yes |occupation=Hero |fam1=Zoé |planet=Twinsun |island=Citadel Island |building=Twinsen's House }}
Twinsen | |
---|---|
Race | |
Gender |
Male [list all] |
Size |
Average [list all] |
Age |
Adult [list all] |
Magical |
unknown [list all] |
Adventure |
Multiple: [list all] |
Character | |
Occupation |
Hero |
Family | |
Residence | |
Planet | |
Island | |
Building |
example paragraph: Description text about the character, in this case Twinsen. Description text about the character, in this case Twinsen. Description text about the character, in this case Twinsen. Description text about the character, in this case Twinsen. Description text about the character, in this case Twinsen. Description text about the character, in this case Twinsen. Description text about the character, in this case Twinsen. Description text about the character, in this case Twinsen. Description text about the character, in this case Twinsen. Description text about the character, in this case Twinsen. Description text about the character, in this case Twinsen. Description text about the character, in this case Twinsen. Description text about the character, in this case Twinsen. Description text about the character, in this case Twinsen. Description text about the character, in this case Twinsen. Description text about the character, in this case Twinsen. Description text about the character, in this case Twinsen. Description text about the character, in this case Twinsen. Description text about the character, in this case Twinsen.