Difference between revisions of "Template:Character Infobox"
(parser hack) |
m |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | {| style={{Infobox common style}} width="320px" | + | {| cellspacing="0px" style={{Infobox common style}} width="320px" |
|- | |- | ||
| colspan="2" style="text-align:center; font-weight:bold; font-size:140%; color:#AE5700; padding-bottom:10px; border-bottom:#AE5700 2px solid" | {{{name|Character or creature name}}} | | colspan="2" style="text-align:center; font-weight:bold; font-size:140%; color:#AE5700; padding-bottom:10px; border-bottom:#AE5700 2px solid" | {{{name|Character or creature name}}} | ||
Line 47: | Line 47: | ||
|​ | |​ | ||
{{!}}- | {{!}}- | ||
− | {{!}} width="30%" valign="top" align="right" {{!}} Faction | + | {{!}} width="30%" style="padding-right:0.4em;" valign="top" align="right" {{!}} Faction |
{{!}} width="70%" style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" {{!}} | {{!}} width="70%" style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" {{!}} | ||
{{{faction|faction, examples:<br>[[South Gaters]]<br>Wildlife}}} | {{{faction|faction, examples:<br>[[South Gaters]]<br>Wildlife}}} | ||
Line 56: | Line 56: | ||
{{#if:<noinclude>string</noinclude>{{{roles|}}} | {{#if:<noinclude>string</noinclude>{{{roles|}}} | ||
|{{!}}- | |{{!}}- | ||
− | {{!}} width="30%" valign="top" align="right" {{!}} Role | + | {{!}} width="30%" style="padding-right:0.4em;" valign="top" align="right" {{!}} Role |
{{!}} width="70%" style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" {{!}} | {{!}} width="70%" style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" {{!}} | ||
{{{roles|roles, examples:<br>[[Trader]]<br>[[Psi trainer]]<br>Quest NPC}}} | {{{roles|roles, examples:<br>[[Trader]]<br>[[Psi trainer]]<br>Quest NPC}}} | ||
Line 65: | Line 65: | ||
{{#if:<noinclude>string</noinclude>{{{location|}}} | {{#if:<noinclude>string</noinclude>{{{location|}}} | ||
|{{!}}- | |{{!}}- | ||
− | {{!}} width="30%" valign="top" align="right" {{!}} Location | + | {{!}} width="30%" style="padding-right:0.4em;" valign="top" align="right" {{!}} Location |
{{!}} width="70%" style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" {{!}} | {{!}} width="70%" style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" {{!}} | ||
{{{location|location, examples:<br>[[South Gate Outposts]]<br>[[Lower Underrail]]}}} | {{{location|location, examples:<br>[[South Gate Outposts]]<br>[[Lower Underrail]]}}} | ||
Line 74: | Line 74: | ||
{{#if:<noinclude>string</noinclude>{{{quests|}}} | {{#if:<noinclude>string</noinclude>{{{quests|}}} | ||
|{{!}}- | |{{!}}- | ||
− | {{!}} width="30%" valign="top" align="right" {{!}} Quests | + | {{!}} width="30%" style="padding-right:0.4em;" valign="top" align="right" {{!}} Quests |
{{!}} width="70%" style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" {{!}} | {{!}} width="70%" style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" {{!}} | ||
{{{quests|quest1<br>quest2<br>quest3<br>etc}}} | {{{quests|quest1<br>quest2<br>quest3<br>etc}}} | ||
Line 83: | Line 83: | ||
{{#if:<noinclude>string</noinclude>{{{loot|}}} | {{#if:<noinclude>string</noinclude>{{{loot|}}} | ||
|{{!}}- | |{{!}}- | ||
− | {{!}} width="30%" valign="top" align="right" {{!}} Loot | + | {{!}} width="30%" style="padding-right:0.4em;" valign="top" align="right" {{!}} Loot |
{{!}} width="70%" style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" {{!}} | {{!}} width="70%" style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" {{!}} | ||
{{{loot|Ammunition<br>Scraps<br>Firearm Barrels (rarely)}}} | {{{loot|Ammunition<br>Scraps<br>Firearm Barrels (rarely)}}} | ||
Line 105: | Line 105: | ||
|​ | |​ | ||
{{!}}- title="Special abilities" | {{!}}- title="Special abilities" | ||
− | {{!}} valign="top" align="right" {{!}} Abilities | + | {{!}} style="padding-right:0.4em;" valign="top" align="right" {{!}} Abilities |
{{!}} style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" {{!}} | {{!}} style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" {{!}} | ||
{{{abilities|misc. combat stuff, examples:<br>Throws [[Flashbang]]s<br>Can use [[Neural Overload]]<br>Has [[Acid Spray]] special attack}}}<br> | {{{abilities|misc. combat stuff, examples:<br>Throws [[Flashbang]]s<br>Can use [[Neural Overload]]<br>Has [[Acid Spray]] special attack}}}<br> | ||
Line 116: | Line 116: | ||
{{#if:<noinclude>string</noinclude>{{{level|}}}{{{health|}}}{{{shield|}}}{{{psipool|}}}{{{actionpoints|}}}{{{movepoints|}}}{{{damage|}}}{{{range|}}}{{{detection|}}} | {{#if:<noinclude>string</noinclude>{{{level|}}}{{{health|}}}{{{shield|}}}{{{psipool|}}}{{{actionpoints|}}}{{{movepoints|}}}{{{damage|}}}{{{range|}}}{{{detection|}}} | ||
|{{!}}- title="Derived combat statistics" | |{{!}}- title="Derived combat statistics" | ||
− | {{!}} valign="top" align="right" {{!}} Combat stats | + | {{!}} style="padding-right:0.4em;" valign="top" align="right" {{!}} Combat stats |
{{!}} style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" {{!}} | {{!}} style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" {{!}} | ||
{{#if:<noinclude>string</noinclude>{{{level|}}}|Level: {{{level|n}}}<br> | {{#if:<noinclude>string</noinclude>{{{level|}}}|Level: {{{level|n}}}<br> | ||
Line 135: | Line 135: | ||
{{#if:<noinclude>string</noinclude>{{{strength|}}}{{{dexterity|}}}{{{agility|}}}{{{constitution|}}}{{{perception|}}}{{{will|}}}{{{intelligence|}}} | {{#if:<noinclude>string</noinclude>{{{strength|}}}{{{dexterity|}}}{{{agility|}}}{{{constitution|}}}{{{perception|}}}{{{will|}}}{{{intelligence|}}} | ||
|{{!}}- title="Base ability levels" | |{{!}}- title="Base ability levels" | ||
− | {{!}} valign="top" align="right" {{!}} Base abilities | + | {{!}} style="padding-right:0.4em;" valign="top" align="right" {{!}} Base abilities |
{{!}} style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" {{!}} | {{!}} style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" {{!}} | ||
{{#if:<noinclude>string</noinclude>{{{strength|}}}|Strength: {{{strength|n}}}<br> | {{#if:<noinclude>string</noinclude>{{{strength|}}}|Strength: {{{strength|n}}}<br> | ||
Line 152: | Line 152: | ||
{{#if:<noinclude>string</noinclude>{{{guns|}}}{{{throwing|}}}{{{crossbows|}}}{{{melee|}}}{{{dodge|}}}{{{evasion|}}}{{{stealth|}}}{{{hacking|}}}{{{lockpicking|}}}{{{pickpocketing|}}}{{{traps|}}}{{{mechanics|}}}{{{electronics|}}}{{{chemistry|}}}{{{biology|}}}{{{tailoring|}}}{{{thoughtctrl|}}}{{{psychokinesis|}}}{{{metathermics|}}}{{{persuasion|}}}{{{intimidation|}}}{{{mercantile|}}} | {{#if:<noinclude>string</noinclude>{{{guns|}}}{{{throwing|}}}{{{crossbows|}}}{{{melee|}}}{{{dodge|}}}{{{evasion|}}}{{{stealth|}}}{{{hacking|}}}{{{lockpicking|}}}{{{pickpocketing|}}}{{{traps|}}}{{{mechanics|}}}{{{electronics|}}}{{{chemistry|}}}{{{biology|}}}{{{tailoring|}}}{{{thoughtctrl|}}}{{{psychokinesis|}}}{{{metathermics|}}}{{{persuasion|}}}{{{intimidation|}}}{{{mercantile|}}} | ||
|{{!}}- title="Skill levels" | |{{!}}- title="Skill levels" | ||
− | {{!}} valign="top" align="right" {{!}} Skills | + | {{!}} style="padding-right:0.4em;" valign="top" align="right" {{!}} Skills |
{{!}} style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" {{!}} | {{!}} style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" {{!}} | ||
{{#if:<noinclude>string</noinclude>{{{guns|}}}|Guns: {{{guns|n}}}<br> | {{#if:<noinclude>string</noinclude>{{{guns|}}}|Guns: {{{guns|n}}}<br> | ||
Line 184: | Line 184: | ||
{{#if:<noinclude>string</noinclude>{{{mechanical|}}}{{{heat|}}}{{{cold|}}}{{{acid|}}}{{{bio|}}}{{{electricity|}}}{{{energy|}}} | {{#if:<noinclude>string</noinclude>{{{mechanical|}}}{{{heat|}}}{{{cold|}}}{{{acid|}}}{{{bio|}}}{{{electricity|}}}{{{energy|}}} | ||
|{{!}}- title="Damage resistances and tresholds" | |{{!}}- title="Damage resistances and tresholds" | ||
− | {{!}} valign="top" align="right" {{!}} Resistances | + | {{!}} style="padding-right:0.4em;" valign="top" align="right" {{!}} Resistances |
{{!}} style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" {{!}} | {{!}} style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" {{!}} | ||
{{#if:<noinclude>string</noinclude>{{{mechanical|}}}|{{color|white|Mechanical: {{{mechanical|n% / n}}}}}<br> | {{#if:<noinclude>string</noinclude>{{{mechanical|}}}|{{color|white|Mechanical: {{{mechanical|n% / n}}}}}<br> | ||
Line 208: | Line 208: | ||
|​ | |​ | ||
{{!}}- | {{!}}- | ||
− | {{!}} width="30%" valign="top" align="right" {{!}} Character file | + | {{!}} width="30%" style="padding-right:0.4em;" valign="top" align="right" {{!}} Character file |
{{!}} width="70%" style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" {{!}} | {{!}} width="70%" style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" {{!}} | ||
<code>{{{charfile|FileName.char}}}</code> | <code>{{{charfile|FileName.char}}}</code> | ||
Line 218: | Line 218: | ||
{{#if:<noinclude>string</noinclude>{{{dialogfile|}}} | {{#if:<noinclude>string</noinclude>{{{dialogfile|}}} | ||
|{{!}}- | |{{!}}- | ||
− | {{!}} width="30%" valign="top" align="right" {{!}} Dialog file | + | {{!}} width="30%" style="padding-right:0.4em;" valign="top" align="right" {{!}} Dialog file |
{{!}} width="70%" style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" {{!}} | {{!}} width="70%" style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" {{!}} | ||
<code>{{{dialogfile|FileName.udlg}}}</code> | <code>{{{dialogfile|FileName.udlg}}}</code> |
Revision as of 12:51, 7 August 2013
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 |
Level: n | ||
Base abilities |
Strength: n | ||
Skills |
Guns: n | ||
Resistances |
Mechanical: n% / n | ||
Technical | |||
Character file |
| ||
Dialog file |
|
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
Large infobox example | |||
| |||
Biography | |||
Role |
Example with bunch of stats | ||
Location |
template documentation page | ||
Quests |
quest1 | ||
Statistics | |||
Abilities |
True-sight | ||
Combat stats |
Level: 30 | ||
Base abilities |
Perception: 10 | ||
Skills |
Traps: 127 | ||
Technical | |||
Character file |
| ||
Dialog file |
|
Minimal infobox example | |||
| |||
Biography | |||
Role |
Styg's old forum avatar | ||
Location |
some upcoming release | ||
Statistics | |||
Combat stats |
Health: 123 |
See the source.