No edit summary |
en>Jundie No edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{documentationpage}}</noinclude> | |||
Infobox template for [[:Category:Characters|characters]]. | |||
Based on {{tl|Infobox}}. | |||
| | |||
}} | |||
==Usage== | |||
Place the following at the top of the article, below any [[:Category:Page management templates|page management templates]]: | |||
<pre> | |||
{{Infobox character | |||
<!-- insert parameters --> | |||
}} | |||
</pre> | |||
===Parameters=== | |||
====Specific parameters==== | |||
{{Docparam|name=affiliation|req=no|default=|desc= | |||
Organizations/factions/groups this character is affiliated with. | |||
}} | |||
{{Docparam|name=family|req=no|default=|desc= | |||
Family/relatives of this character. | |||
}} | |||
{{Docparam|name=gender|req=yes|default=|desc= | |||
Gender of character ("male" or "female") | |||
}} | |||
{{ | {{Docparam|name=location|req=yes|default=|desc= | ||
| name | Location(s) where this character is from or can be located. | ||
| | |||
| | |||
| | |||
}} | }} | ||
< | {{Docparam|name=mentions|req=semi|default=|desc= | ||
"Mentioned" means that the character does not actually appear in the book (dead or alive), but is mentioned by other characters or in-book sources. For accepted abbreviations please see {{tl|abb}}. Multiple abbreviations can be specified if separated by commas (<code>,</code>). | |||
}} | |||
{{Docparam|name=race|req=yes|default=|desc= | |||
Race of character (human, vurg, tekira, etc). | |||
}} | |||
{{Docparam|name=rank|req=no|default=|desc= | |||
Which rank within its organization the character holds (if any). | |||
}} | |||
{{Docparam|name=traits|req=no|default=|desc= | |||
[[Trait]]s of character. | |||
}} | |||
====General infobox parameters==== | |||
{{Infobox/doc/standard|footer}} | |||
{{Infobox/doc/standard|books}} | |||
{{Infobox/doc/standard|icon}} | |||
{{Infobox/doc/standard|icon offset}} | |||
{{Infobox/doc/standard|image}} | |||
{{Infobox/doc/standard|image desc}} | |||
{{Infobox/doc/standard|image size}} | |||
{{Infobox/doc/standard|name}} | |||
{{Infobox/doc/standard|subtitle}} | |||
==Example== | |||
{{Infobox character | |||
|games =FO3 | |||
|name =Colin Moriarty | |||
|image =Colin_Moriarty.jpg | |||
|race =[[Human]] | |||
|role =Saloon owner | |||
|location =[[Megaton]] | |||
|quests =[[Following in His Footsteps]]<br>''[[300 Pieces of Silver]]'' | |||
|alignment =Neutral | |||
|special ={{SPECIAL|5,5,4,7,5,5,5}} | |||
|actor =[[Mike Rosson]] | |||
|baseid ={{ID|000A61}} | |||
|refid ={{ID|003B3C}} | |||
}} | |||
<pre> | |||
{{Infobox character | |||
|games =FO3 | |||
|name =Colin Moriarty | |||
|image =Colin_Moriarty.jpg | |||
|race =[[Human]] | |||
|role =Saloon owner | |||
|location =[[Megaton]] | |||
|quests =[[Following in His Footsteps]]<br>''[[300 Pieces of Silver]]'' | |||
|alignment =Neutral | |||
|special ={{SPECIAL|5,5,4,7,5,5,5}} | |||
|actor =[[Mike Rosson]] | |||
|baseid ={{ID|000A61}} | |||
|refid ={{ID|003B3C}} | |||
}} | |||
</pre> | |||
{{clear}} | |||
==Copy/paste== | |||
Premade template configurations for various games for copy and paste purposes. | |||
===Mentioned-only=== | |||
Characters who do not actually appear in any game (dead or alive) but are only mentioned. | |||
<pre> | |||
{{Infobox character | |||
|games =none | |||
|mentions = | |||
|image = | |||
|race = | |||
|affiliation = | |||
|role = | |||
|location = | |||
|quests = | |||
}} | |||
</pre> | |||
===''Fallout'', ''Fallout 2''=== | |||
<pre> | |||
{{Infobox character | |||
|games =FO1 | |||
|image = | |||
|race = | |||
|affiliation = | |||
|role = | |||
|location = | |||
|quests = | |||
|actor = | |||
|proto ={{proto|}} | |||
|dialogue = | |||
}} | |||
</pre> | |||
===''Fallout 3'', ''Fallout: New Vegas''=== | |||
<pre> | |||
{{Infobox character | |||
|games =FO3 | |||
|image = | |||
|race = | |||
|affiliation = | |||
|role = | |||
|location = | |||
|quests = | |||
|family = | |||
|alignment = | |||
|actor = | |||
|baseid ={{ID|}} | |||
|refid ={{ID|}} | |||
}} | |||
</pre> | |||
===''Fallout Tactics''=== | |||
<pre> | |||
{{Infobox character | |||
|games =FOT | |||
|image = | |||
|race = | |||
|affiliation = | |||
|role = | |||
|location = | |||
|missions = | |||
|actor = | |||
}} | |||
</pre> | |||
===''Van Buren''=== | |||
<pre> | |||
{{Infobox character | |||
|games =VB | |||
|image = | |||
|race = | |||
|affiliation = | |||
|role = | |||
|location = | |||
|quests = | |||
|dialogue = | |||
}} | |||
</pre> |
Revision as of 08:34, 28 December 2011
![]() |
This page contains usage information for [[{{#sub:Template:Infobox character/doc|0|{{#rpos:Template:Infobox character/doc|/doc}}}}]]. |
---|
Infobox template for characters.
Based on {{Infobox}}.
Usage
Place the following at the top of the article, below any page management templates:
{{Infobox character <!-- insert parameters --> }}
Parameters
Specific parameters
{{#replace:{{#replace:{{#replace:{{#replace:affiliation|| }}| >> | up to }}| // | or }}| ++ |, }}
Organizations/factions/groups this character is affiliated with.
{{#replace:{{#replace:{{#replace:{{#replace:family|| }}| >> | up to }}| // | or }}| ++ |, }}
Family/relatives of this character.
{{#replace:{{#replace:{{#replace:{{#replace:gender|| }}| >> | up to }}| // | or }}| ++ |, }}
Gender of character ("male" or "female")
{{#replace:{{#replace:{{#replace:{{#replace:location|| }}| >> | up to }}| // | or }}| ++ |, }}
Location(s) where this character is from or can be located.
{{#replace:{{#replace:{{#replace:{{#replace:mentions|| }}| >> | up to }}| // | or }}| ++ |, }}
"Mentioned" means that the character does not actually appear in the book (dead or alive), but is mentioned by other characters or in-book sources. For accepted abbreviations please see {{abb}}. Multiple abbreviations can be specified if separated by commas (
,
).{{#replace:{{#replace:{{#replace:{{#replace:race|| }}| >> | up to }}| // | or }}| ++ |, }}
Race of character (human, vurg, tekira, etc).
{{#replace:{{#replace:{{#replace:{{#replace:rank|| }}| >> | up to }}| // | or }}| ++ |, }}
Which rank within its organization the character holds (if any).
{{#replace:{{#replace:{{#replace:{{#replace:traits|| }}| >> | up to }}| // | or }}| ++ |, }}
Traits of character.
General infobox parameters
{{#replace:{{#replace:{{#replace:{{#replace:footer|| }}| >> | up to }}| // | or }}| ++ |, }}
Content of row below main infobox content.
{{#replace:{{#replace:{{#replace:{{#replace:books|| }}| >> | up to }}| // | or }}| ++ |, }}
Abbreviation(s) for books of appearance. For accepted abbreviations please see {{abb}}. Multiple abbreviations can be specified if separated by commas (
,
).{{#replace:{{#replace:{{#replace:{{#replace:icon|| }}| >> | up to }}| // | or }}| ++ |, }}
File name of icon (without "File:"), i.e. the small image which is displayed in the top right corner of the main image area.
{{#replace:{{#replace:{{#replace:{{#replace:icon offset|| }}| >> | up to }}| // | or }}| ++ |, }}
Offset for
icon
in pixels, i.e. the icon is moved "upwards" by the specified amount of pixels. Setting this to "@outside" results in the icon being placed completely outside (above) the image area.{{#replace:{{#replace:{{#replace:{{#replace:image >> image5|| }}| >> | up to }}| // | or }}| ++ |, }}
File name of image(s) (without "File:") to be displayed below main header and above main infobox content.
{{#replace:{{#replace:{{#replace:{{#replace:image desc|| }}| >> | up to }}| // | or }}| ++ |, }}
Description for
image
, displayed below the image.(default: "240px")
{{#replace:{{#replace:{{#replace:{{#replace:image size >> image5 size|| }}| >> | up to }}| // | or }}| ++ |, }}Width of corresponding
image
in pixels (e.g. "240px").{{#replace:{{#replace:{{#replace:{{#replace:name|| }}| >> | up to }}| // | or }}| ++ |, }}
Main title/"headline" of the infobox. By default, the name of the current page without any disambiguation suffixes (i.e. terms in brackets at the end) is used.
{{#replace:{{#replace:{{#replace:{{#replace:subtitle|| }}| >> | up to }}| // | or }}| ++ |, }}
Text in small font below the main infobox title.
Example
Colin Moriarty | |
---|---|
Colin_Moriarty.jpg | |
Biography | |
Alias | {{{alias}}} |
Gender | {{{gender}}} |
Race | Human |
Birth | {{{born}}} |
Death | {{{death}}} |
Affiliation | {{{affiliation}}} |
Rank | {{{rank}}} |
Role | Saloon owner |
Location | Megaton |
Education | {{{education}}} |
Family | {{{family}}} |
Features | {{{features}}} |
Statistics | |
Appearances | {{{appears}}} |
Mentions | {{{mentions}}} |
{{Infobox character |games =FO3 |name =Colin Moriarty |image =Colin_Moriarty.jpg |race =[[Human]] |role =Saloon owner |location =[[Megaton]] |quests =[[Following in His Footsteps]]<br>''[[300 Pieces of Silver]]'' |alignment =Neutral |special ={{SPECIAL|5,5,4,7,5,5,5}} |actor =[[Mike Rosson]] |baseid ={{ID|000A61}} |refid ={{ID|003B3C}} }}
Copy/paste
Premade template configurations for various games for copy and paste purposes.
Mentioned-only
Characters who do not actually appear in any game (dead or alive) but are only mentioned.
{{Infobox character |games =none |mentions = |image = |race = |affiliation = |role = |location = |quests = }}
Fallout, Fallout 2
{{Infobox character |games =FO1 |image = |race = |affiliation = |role = |location = |quests = |actor = |proto ={{proto|}} |dialogue = }}
Fallout 3, Fallout: New Vegas
{{Infobox character |games =FO3 |image = |race = |affiliation = |role = |location = |quests = |family = |alignment = |actor = |baseid ={{ID|}} |refid ={{ID|}} }}
Fallout Tactics
{{Infobox character |games =FOT |image = |race = |affiliation = |role = |location = |missions = |actor = }}
Van Buren
{{Infobox character |games =VB |image = |race = |affiliation = |role = |location = |quests = |dialogue = }}