Template:Infobox character/doc: Difference between revisions
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
This infobox should be used on ALL character pages, to display a table. | 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 [[Special:Properties|Properties]] which can be [[Special:Ask|searched for]] and filtered onto pages. | This is a semantic template - the values for dob, dod and gender are [[Special:Properties|Properties]] which can be [[Special:Ask|searched for]] and filtered onto pages. | ||
Line 7: | Line 9: | ||
These are the variables for this infobox: | These are the variables for this infobox: | ||
<pre>{{infobox character| | <pre>{{infobox character| | ||
|image = | |image = Image.jpg (DO NOT use <nowiki>[[image code]]</nowiki> or add the File: prefix) | ||
|games = | |game_1 = GTA San Andreas DO NOT USE LINKS | ||
|name = | |game_2 = GTA Vice City | ||
|aka = | |game_10 = Maximum of 10 games | ||
|status = | |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 | |gender = M or F | ||
|dob = date or year | |dob = date or year | ||
Line 19: | Line 24: | ||
|dod-comment = A comment after the date of death | |dod-comment = A comment after the date of death | ||
|home = | |home = | ||
|nationality = | |nationality = south africa (just write the country name) | ||
|family = | |family = | ||
|affiliations = | |affiliations = |
Latest revision as of 00:37, 26 November 2012
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 = }}