Difference between revisions of "Template:Character Infobox"

From Underrail Wiki
Jump to navigation Jump to search
m
m
Line 46: Line 46:
 
| width="30%" valign="top" align="right" | Location
 
| width="30%" 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]]}}}<nowiki>
  
<!-- checks if ANY statistics have been entered all at. omits the whole statistics section if not. -->
+
 
 +
 
 +
 
 +
 
 +
 
 +
</nowiki><!-- checks if ANY statistics have been entered all at. omits the whole statistics section if not. -->
 
{{#if:<noinclude>string</noinclude>{{{abilities|}}}{{{health|}}}{{{shield|}}}{{{psipool|}}}{{{actionpoints|}}}{{{movepoints|}}}{{{fortitude|}}}{{{resolve|}}}{{{critchance|}}}{{{detection|}}}{{{strength|}}}{{{dexterity|}}}{{{agility|}}}{{{constitution|}}}{{{perception|}}}{{{will|}}}{{{intelligence|}}}{{{guns|}}}{{{throwing|}}}{{{crossbows|}}}{{{melee|}}}{{{dodge|}}}{{{evasion|}}}{{{stealth|}}}{{{hacking|}}}{{{lockpicking|}}}{{{pickpocketing|}}}{{{traps|}}}{{{mechanics|}}}{{{electronics|}}}{{{chemistry|}}}{{{biology|}}}{{{tailoring|}}}{{{thoughtctrl|}}}{{{psychokinesis|}}}{{{metathermics|}}}{{{persuasion|}}}{{{intimidation|}}}{{{mercantile|}}}{{{mechanical|}}}{{{heat|}}}{{{cold|}}}{{{acid|}}}{{{bio|}}}{{{energy|}}}
 
{{#if:<noinclude>string</noinclude>{{{abilities|}}}{{{health|}}}{{{shield|}}}{{{psipool|}}}{{{actionpoints|}}}{{{movepoints|}}}{{{fortitude|}}}{{{resolve|}}}{{{critchance|}}}{{{detection|}}}{{{strength|}}}{{{dexterity|}}}{{{agility|}}}{{{constitution|}}}{{{perception|}}}{{{will|}}}{{{intelligence|}}}{{{guns|}}}{{{throwing|}}}{{{crossbows|}}}{{{melee|}}}{{{dodge|}}}{{{evasion|}}}{{{stealth|}}}{{{hacking|}}}{{{lockpicking|}}}{{{pickpocketing|}}}{{{traps|}}}{{{mechanics|}}}{{{electronics|}}}{{{chemistry|}}}{{{biology|}}}{{{tailoring|}}}{{{thoughtctrl|}}}{{{psychokinesis|}}}{{{metathermics|}}}{{{persuasion|}}}{{{intimidation|}}}{{{mercantile|}}}{{{mechanical|}}}{{{heat|}}}{{{cold|}}}{{{acid|}}}{{{bio|}}}{{{energy|}}}
 
|{{!}}-
 
|{{!}}-
Line 54: Line 59:
  
 
{{!}}- title="Statistics"
 
{{!}}- title="Statistics"
{{!}} colspan="2" style="text-align:center; font-size:100%; font-weight:bold; color:#AE5700;" {{!}} Statistics
+
{{!}} colspan="2" style="text-align:center; font-size:100%; font-weight:bold; color:#AE5700;" {{!}} Statistics<nowiki>
 +
 
  
<!-- checks if any abilities have been entered. omits the subsection if not. -->
+
 
 +
 
 +
</nowiki><!-- checks if any abilities have been entered. omits the subsection if not. -->
 
{{#if:<noinclude>string</noinclude>{{{abilities|}}}
 
{{#if:<noinclude>string</noinclude>{{{abilities|}}}
 
|{{!}}-
 
|{{!}}-
Line 65: Line 73:
 
{{!}} 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>{{{abilities|}}}|{{{abilities|misc. combat stuff, examples:<br>Throws [[Flashbang]]s<br>Can use [[Neural Overload]]<br>Has [[Acid Spray]] special attack}}}<br>|}}
 
{{#if:<noinclude>string</noinclude>{{{abilities|}}}|{{{abilities|misc. combat stuff, examples:<br>Throws [[Flashbang]]s<br>Can use [[Neural Overload]]<br>Has [[Acid Spray]] special attack}}}<br>|}}
|}}
+
|}}<nowiki>
 +
 
 +
 
 +
 
  
<!-- checks if any derived stats have been entered. omits the subsection if not. -->
+
</nowiki><!-- checks if any derived stats have been entered. omits the subsection if not. -->
 
{{#if:<noinclude>string</noinclude>{{{health|}}}{{{shield|}}}{{{psi|}}}{{{ap|}}}{{{mp|}}}{{{fortitude|}}}{{{resolve|}}}{{{critchance|}}}{{{detection|}}}
 
{{#if:<noinclude>string</noinclude>{{{health|}}}{{{shield|}}}{{{psi|}}}{{{ap|}}}{{{mp|}}}{{{fortitude|}}}{{{resolve|}}}{{{critchance|}}}{{{detection|}}}
 
|{{!}}-
 
|{{!}}-
Line 75: Line 86:
 
{{!}} valign="top" align="right" {{!}} Combat stats
 
{{!}} 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>{{{health|}}}|Health: {{{health|n}}}<br>|}}
 
{{#if:<noinclude>string</noinclude>{{{health|}}}|Health: {{{health|n}}}<br>|}}
 
{{#if:<noinclude>string</noinclude>{{{shield|}}}|Shield: {{{shield|n}}}<br>|}}
 
{{#if:<noinclude>string</noinclude>{{{shield|}}}|Shield: {{{shield|n}}}<br>|}}
Line 84: Line 96:
 
{{#if:<noinclude>string</noinclude>{{{critchance|}}}|Crit. chance: {{{critchance|n%}}}<br>|}}
 
{{#if:<noinclude>string</noinclude>{{{critchance|}}}|Crit. chance: {{{critchance|n%}}}<br>|}}
 
{{#if:<noinclude>string</noinclude>{{{detection|}}}|Detection: {{{detection|n}}}<br>|}}
 
{{#if:<noinclude>string</noinclude>{{{detection|}}}|Detection: {{{detection|n}}}<br>|}}
|}}
+
|}}<nowiki>
  
<!-- checks if any base ability values have been entered. omits the subsection if not. -->
+
 
 +
 
 +
 
 +
</nowiki><!-- checks if any base ability values have been entered. omits the subsection if not. -->
 
{{#if:<noinclude>string</noinclude>{{{strength|}}}{{{dexterity|}}}{{{agility|}}}{{{constitution|}}}{{{perception|}}}{{{will|}}}{{{intelligence|}}}
 
{{#if:<noinclude>string</noinclude>{{{strength|}}}{{{dexterity|}}}{{{agility|}}}{{{constitution|}}}{{{perception|}}}{{{will|}}}{{{intelligence|}}}
 
|{{!}}-
 
|{{!}}-
Line 101: Line 116:
 
{{#if:<noinclude>string</noinclude>{{{will|}}}|Will: {{{will|n}}}<br>|}}
 
{{#if:<noinclude>string</noinclude>{{{will|}}}|Will: {{{will|n}}}<br>|}}
 
{{#if:<noinclude>string</noinclude>{{{intelligence|}}}|Intelligence: {{{intelligence|n}}}<br>|}}
 
{{#if:<noinclude>string</noinclude>{{{intelligence|}}}|Intelligence: {{{intelligence|n}}}<br>|}}
|}}
+
|}}<nowiki>
 +
 
 +
 
  
<!-- checks if any skill values have been entered. omits the subsection if not. -->
+
 
 +
</nowiki><!-- checks if any skill values have been entered. omits the subsection if not. -->
 
{{#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|}}}
 
|{{!}}-
 
|{{!}}-
Line 133: Line 151:
 
{{#if:<noinclude>string</noinclude>{{{intimidation|}}}|Intimidation: {{{intimidation|n}}}<br>|}}
 
{{#if:<noinclude>string</noinclude>{{{intimidation|}}}|Intimidation: {{{intimidation|n}}}<br>|}}
 
{{#if:<noinclude>string</noinclude>{{{mercantile|}}}|Mercantile: {{{mercantile|n}}}<br>|}}
 
{{#if:<noinclude>string</noinclude>{{{mercantile|}}}|Mercantile: {{{mercantile|n}}}<br>|}}
|}}
+
|}}<nowiki>
 +
 
 +
 
 +
 
  
<!-- checks if any resistance values have been entered. omits the subsection if not. -->
+
</nowiki><!-- checks if any resistance values have been entered. omits the subsection if not. -->
 
{{#if:<noinclude>string</noinclude>{{{mechanical|}}}{{{heat|}}}{{{cold|}}}{{{acid|}}}{{{bio|}}}{{{energy|}}}
 
{{#if:<noinclude>string</noinclude>{{{mechanical|}}}{{{heat|}}}{{{cold|}}}{{{acid|}}}{{{bio|}}}{{{energy|}}}
 
|{{!}}-
 
|{{!}}-
Line 149: Line 170:
 
{{#if:<noinclude>string</noinclude>{{{bio|}}}|{{color|lightgreen|Bio: {{{bio|n% / n}}}}}<br>|}}
 
{{#if:<noinclude>string</noinclude>{{{bio|}}}|{{color|lightgreen|Bio: {{{bio|n% / n}}}}}<br>|}}
 
{{#if:<noinclude>string</noinclude>{{{energy|}}}|{{color|aqua|Energy: {{{energy|n% / n}}}}}<br>|}}
 
{{#if:<noinclude>string</noinclude>{{{energy|}}}|{{color|aqua|Energy: {{{energy|n% / n}}}}}<br>|}}
|}}
+
|}}|}}
|}}
 
 
|}<noinclude>
 
|}<noinclude>
 
= Important notice =
 
= Important notice =

Revision as of 11:13, 4 August 2013

Character or creature name

Defaultportrait.png

Misc icon.png


Biography

Faction

faction, examples:
South Gaters
Wildlife

Roles

roles, examples:
Trader
Psi trainer
Quest NPC

Location

location, examples:
South Gate Outposts
Lower Underrail


Statistics

Abilities

misc. combat stuff, examples:
Throws Flashbangs
Can use Neural Overload
Has Acid Spray special attack


Combat stats

Level: n
Health: n
Shield: n
Psi: n
Action Points: n
Movement Points: n
Fortitude: n
Resolve: n
Crit. chance: n%
Detection: n


Base abilities

Strength: n
Dexterity: n
Agility: n
Constitution: n
Perception: n
Will: n
Intelligence: n


Skills

Guns: n
Throwing: n
Crossbows: n
Melee: n
Dodge: n
Evasion: n
Stealth: n
Hacking: n
Lockpicking: n
Pickpocketing: n
Traps: n
Mechanics: n
Electronics: n
Chemistry: n
Biology: n
Tailoring: n
Thought Control: n
Psychokinesis: n
Metathermics: n
Persuasion: n
Intimidation: n
Mercantile: n


Resistances

Mechanical: n% / n
Heat: n% / n
Cold: n% / n
Acid: n% / n
Bio: n% / n
Energy: 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.


Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
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          = 
| 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

Mutated human1 l.png

Misc icon.png


Biography

Faction

faction, examples:
South Gaters
Wildlife

Roles

Example with bunch of stats

Location

template documentation page


Statistics

Abilities

True-sight


Combat stats

Level: 30
Health: 127

Psi: 100 (+10)
Action Points: 50



Detection: 9001


Base abilities



Perception: 10


Skills






Traps: 127





Intimidation: 42

Minimal infobox example

Plasma sentry l.png

Misc icon.png


Biography

Faction

faction, examples:
South Gaters
Wildlife

Roles

Styg's old forum avatar

Location

some upcoming release


Statistics


Combat stats

Health: 123

See the source.