Template:Infobox character: Difference between revisions
No edit summary |
(Fixed) |
||
Line 1: | Line 1: | ||
<includeonly>{{infobox | <includeonly>{{infobox | ||
|name = | |name = | ||
|bodystyle = | |bodystyle = background-color: #F0F0FA; | ||
|title = Character | |title = Character | ||
|titlestyle = font-size: | |titlestyle = font-size: 90%; | ||
text-transform: uppercase; | |||
background-color: #EEE; | |||
border: 1px solid #AAA; | |||
border-bottom: none; | |||
|above = {{PAGENAME}} | |above = {{PAGENAME}} | ||
|abovestyle = | |abovestyle = font-size: 150%; | ||
|image = {{#if:{{{image|}}}|[[File:{{{image}}}|{{#if:{{{size|}}}|{{{size|}}}|170px}}|center|{{{caption}}}]]}} | |image = {{#if:{{{image|}}}|[[File:{{{image}}}|{{#if:{{{size|}}}|{{{size|}}}|170px}}|center|{{{caption}}}]]}} | ||
Line 12: | Line 16: | ||
|captionstyle = {{{captionstyle|}}} | |captionstyle = {{{captionstyle|}}} | ||
|headerstyle = background:# | |headerstyle = background:#444; color: #fff; | ||
|labelstyle = background:# | |labelstyle = background:#ddd; | ||
|datastyle = | |datastyle = | ||
Revision as of 18:05, 2 June 2012
- This documentation is imported from Template:Infobox character/doc
This infobox should be used on ALL character pages, to display a table.
- To add this template to a page, simply use Form:Character
This is a semantic template - the values for dob, dod and gender are Properties which can be searched for and filtered onto pages.
For this reason, it is important that those values are correctly set - using a date (or just a year) or M/F. Do not add links, other text (such as an age) or anything else to those properties.
These are the variables for this infobox:
{{infobox character| |image = Image.jpg (DO NOT use [[image code]] or add the File: prefix) |game_1 = GTA San Andreas DO NOT USE LINKS |game_2 = GTA Vice City |game_10 = Maximum of 10 games |games = DO NOT USE THIS. Use game_1 to game_10 above. |name = Use this where the characters name is not the page name |aka = MAJOR alternative names only (not just nicknames) like [[Sweet]] being Sean Johnson |status = Alive or Deceased |gender = M or F |dob = date or year |dob-comment = A comment that goes after the date of birth such as: (estimated) |pob = |dod = date or year |dod-comment = A comment after the date of death |home = |nationality = south africa (just write the country name) |family = |affiliations = |vehicles = |businesses = |voice = }}