Difference between revisions of "Template:Infobox Character"
J McKalling (Talk | contribs) m (finally fixed: leaving the title parameter empty now still displays a title row) |
J McKalling (Talk | contribs) (Undo revision 11810 by J McKalling (talk) - it didn't work) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>This template is used as an infobox in characters' articles. It should be the first of the article, before the general description. | + | <noinclude>{{Infobox Template |
+ | |purpose=infobox | ||
+ | |singletag=no | ||
+ | |multiline=yes | ||
+ | |gamerelated=yes | ||
+ | |suppressible=recursively | ||
+ | |choice=none | ||
+ | |cat1=Characters | ||
+ | |var1=infobox_messages!Infobox!active | ||
+ | |var2=maintenance_message!Infobox!active | ||
+ | }} | ||
+ | |||
+ | This template is used as an infobox in characters' articles. It should be the first of the article, before the general description. | ||
==Parameters== | ==Parameters== | ||
Line 47: | Line 59: | ||
==Example== | ==Example== | ||
On a page called "Twinsen": | On a page called "Twinsen": | ||
− | </noinclude><includeonly>{{ | + | </noinclude><includeonly>{{categorizer|category=Characters|display=emptyinfobox|nocat={{{nocat|false}}}}}</includeonly> |
{{Infobox | {{Infobox | ||
|title=<includeonly>{{#if: {{{title|}}} |{{{title|}}}}}</includeonly><noinclude>Twinsen</noinclude> | |title=<includeonly>{{#if: {{{title|}}} |{{{title|}}}}}</includeonly><noinclude>Twinsen</noinclude> | ||
− | | | + | |theme=green |
|infoboxname=Infobox Character | |infoboxname=Infobox Character | ||
|float=yes | |float=yes | ||
Line 121: | Line 133: | ||
''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. | ''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. | ||
− | |||
</noinclude> | </noinclude> |
Latest revision as of 23:58, 4 June 2014
Infobox Character | |
---|---|
Purpose |
Infobox [list all] |
Single tag |
No [list all] |
Multi-line |
Yes [list all] |
Protected |
No [list all] |
Game related |
Yes [list all] |
Categorization | |
Suppressible |
Recursively [list all] |
Choice |
No choice [list all] |
Categories |
One: [list all] |
Variables | |
Names |
Multiple: [list all] |
Subpages |
This template is used as an infobox in characters' articles. It should be the first of the article, before the general description.
Parameters
- title: An optional title to display at the top of the infobox (case sensitive, defaults to {{PAGENAME}})
- image: An image filename of the character (case sensitive, defaults to empty portrait, see Template:Articleimage)
- race and label: 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)
- lba1, lba2 and lba3: Whether the character is encountered in said adventure (defaults to "no", see the /adventure subpage)
- alignment: The deity this character follows (defaults to "unknown", see the /alignment 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 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)
- fam1, fam2, fam3, fam4 and fam5: The family members 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= |alignment= |occupation= |requires= |amount= |fam1= |fam2= |planet= |island= |building= }}
Example
On a page called "Twinsen":Twinsen | |
---|---|
Race | |
Gender |
Male [list all] |
Size |
Average [list all] |
Age |
Adult [list all] |
Magical |
Yes [list all] |
Adventure |
Multiple: [list all] |
Character | |
Alignment | |
Occupation |
Hero |
Family | |
Residence | |
Planet | |
Island | |
Building |
{{Infobox Character |image=Twinsen.jpg |race=Quetch |gender=male |size=average |age=adult |magical=YES |lba1=yes |lba2=yes |alignment=sendell |occupation=Hero |fam1=Zoé |planet=Twinsun |island=Citadel Island |building=Twinsen's House }}
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.