Difference between revisions of "Template:Character Infobox"
(some automatic categorization) |
m |
||
Line 13: | Line 13: | ||
|[[File:defaultportrait.png{{!}}100x100px]] | |[[File:defaultportrait.png{{!}}100x100px]] | ||
}} | }} | ||
− | }}<span style="position:relative;"><span style="position:absolute; top:40px; left:-104px; width:100px; text-align:right; font-size:12px; font-weight:bold; color:white; font-family:monospace;" title="Level">{{#if:{{{level|}}}|{{{level}}}|?}}</span></span><!-- | + | }}<!-- |
+ | |||
+ | |||
+ | level number on top of portrait | ||
+ | --><span style="position:relative;"><span style="position:absolute; top:40px; left:-104px; width:100px; text-align:right; font-size:12px; font-weight:bold; color:white; font-family:monospace;" title="Level">{{#if:{{{level|}}}|{{{level}}}|?}}</span></span><!-- | ||
health bar | health bar | ||
− | --><div style="text-align:center; line-height:8px; font-weight:bold; margin-left:auto; margin-right:auto; margin-top:3px; color:white; background-color:DarkRed; width:100px; height:10px; border:#AE5700 3px solid; border-radius:3px;" title="Health">{{{health|}}}<noinclude>{{{health}}}</noinclude></div><!-- | + | --><div style="font-family:monospace; text-align:center; line-height:8px; font-weight:bold; margin-left:auto; margin-right:auto; margin-top:3px; color:white; background-color:DarkRed; width:100px; height:10px; border:#AE5700 3px solid; border-radius:3px;" title="Health">{{{health|}}}<noinclude>{{{health}}}</noinclude></div><!-- |
shield bar | shield bar | ||
− | -->{{#if:<noinclude>string</noinclude>{{{shield|}}}|<div style="text-align:center; line-height:8px; font-weight:bold; margin-left:auto; margin-right:auto; margin-top:3px; color:white; background-color:DarkBlue; width:100px; height:10px; border:#AE5700 3px solid; border-radius:3px;" title="Shield capacity">{{{shield}}}</div>|}}<!-- | + | -->{{#if:<noinclude>string</noinclude>{{{shield|}}}|<div style="font-family:monospace; text-align:center; line-height:8px; font-weight:bold; margin-left:auto; margin-right:auto; margin-top:3px; color:white; background-color:DarkBlue; width:100px; height:10px; border:#AE5700 3px solid; border-radius:3px;" title="Shield capacity">{{{shield}}}</div>|}}<!-- |
psi bar | psi bar | ||
− | -->{{#if:<noinclude>string</noinclude>{{{psipool|}}}|<div style="text-align:center; line-height:8px; font-weight:bold; margin-left:auto; margin-right:auto; margin-top:3px; color:white; background-color:DarkMagenta; width:100px; height:10px; border:#AE5700 3px solid; border-radius:3px;" title="Psi points">{{{psipool}}}</div>|}}<!-- | + | -->{{#if:<noinclude>string</noinclude>{{{psipool|}}}|<div style="font-family:monospace; text-align:center; line-height:8px; font-weight:bold; margin-left:auto; margin-right:auto; margin-top:3px; color:white; background-color:DarkMagenta; width:100px; height:10px; border:#AE5700 3px solid; border-radius:3px;" title="Psi points">{{{psipool}}}</div>|}}<!-- |
Revision as of 07:16, 21 June 2014
Character or creature name | |||||||||||
| |||||||||||
Biography | |||||||||||
Faction |
faction, examples: | ||||||||||
Role |
roles, examples: | ||||||||||
Location |
location, examples: | ||||||||||
Quests |
quest1 | ||||||||||
Loot |
Ammunition | ||||||||||
Statistics | |||||||||||
Abilities |
misc. combat stuff, examples: | ||||||||||
Combat stats |
Attack damage: n | ||||||||||
Base abilities |
Strength: n | ||||||||||
Skills |
Guns: n | ||||||||||
Resistances |
Mechanical: n% / n | ||||||||||
|
Important notice!
Any (or even all) of the statistics can be left out, the template won't be this huge in its usual uses.
Though, it can also be adapted for player character builds this way.
Visit Template:Character_Infobox/doc to view this documentation. (edit) (How does this work?)
Usage
Paste the following code into the top of an article, filling all known fields:
{{Character Infobox | name = | type = automaton, critter, generic, important (for bots, animals and generic/named NPCs) | portrait = portrait image (see [[Category:Portraits]]) | background = portrait background image (see [[Category:Portrait backgrounds]]) | health = shown as a bar below portrait | shield = | psipool = | image = in-game model image. tries '{{PAGENAME}} model.png' if not specified (see [[Category:In-game models]] or [[Category:Sprites]]) | faction = | roles = | location = | loot = | abilities = | |Combat stats section: | level = | damage = | range = | actionpoints = 50 | movepoints = | detection = | resolve = | fortitude = | |Base abilities section: | strength = | dexterity = | agility = | constitution = | perception = | will = | intelligence = | |Skills section: | guns = | heavyguns = | throwing = | crossbows = | melee = | | dodge = | evasion = | stealth = | hacking = | lockpicking = | pickpocketing = | traps = | | mechanics = | electronics = | chemistry = | biology = | tailoring = | | thoughtctrl = | psychokinesis = | metathermics = | temporal = | | persuasion = | intimidation = | mercantile = | |Resistances section: | mechanical = | heat = | cold = | electricity = | acid = | energy = | bio = | |Technical section: | charfile = | dialogfile = | shopfile = | animfiles = }}
Examples
Minimal infobox example | |||
| |||
Description | |||
Role |
Styg's old forum avatar | ||
Location |
some upcoming release |
See the source.