Difference between revisions of "Template:Character Infobox"
Jump to navigation
Jump to search
WikimanBot (talk | contribs) m (Remove redundant "Attack" from combat stats) |
WikimanBot (talk | contribs) (copy over from Template:Character Infobox/test) |
||
Line 5: | Line 5: | ||
{{!}}- | {{!}}- | ||
{{!}} colspan="2" {{!}} | {{!}} colspan="2" {{!}} | ||
− | {{{!}} width="100%" <!-- images table start --> | + | {{(}}{{!}} width="100%" <!-- images table start --> |
{{!}} width="50%" style="text-align:center;" title="Portrait" {{!}} | {{!}} width="50%" style="text-align:center;" title="Portrait" {{!}} | ||
− | <div | + | <div class="infobox-portrait"><!-- |
Line 15: | Line 15: | ||
| [[File:default.png|100x100px|link=]] | | [[File:default.png|100x100px|link=]] | ||
}}<!-- | }}<!-- | ||
− | |||
portrait image. | portrait image. | ||
− | --><span style="position:absolute; bottom:3px; right:3px;">{{ | + | --><span style="position:absolute; bottom:3px; right:3px;"> |
− | + | {{#if:{{{portrait|}}} | |
| [[File:{{{portrait|}}}{{!}}100x100px]] | | [[File:{{{portrait|}}}{{!}}100x100px]] | ||
| [[File:default_l.png{{!}}100x100px|]] | | [[File:default_l.png{{!}}100x100px|]] | ||
}}</span></div><!-- | }}</span></div><!-- | ||
− | |||
health bar | health bar | ||
− | --><div style=" | + | -->{{#if:<noinclude>string</noinclude>{{{health|}}}|<div class="infobox-bar" style="background-color:DarkRed;" title="Health">{{{health}}}</div>|}}<!-- |
− | |||
− | |||
shield bar | shield bar | ||
− | -->{{#if:<noinclude>string</noinclude>{{{shield|}}}|<div style=" | + | -->{{#if:<noinclude>string</noinclude>{{{shield|}}}|<div class="infobox-bar" style="background-color:DarkBlue;" title="Energy shield. Capacity usually varies. Shields emitters are random-generated.">{{{shield}}}</div>|}}<!-- |
− | |||
− | |||
psi bar | psi bar | ||
− | -->{{#if:<noinclude>string</noinclude>{{{psipool|}}}|<div style=" | + | -->{{#if:<noinclude>string</noinclude>{{{psipool|}}}|<div class="infobox-bar" style="background-color:DarkMagenta;" title="Psi points (regen per turn)">{{{psipool}}}</div><!-- |
− | + | (psi bar also adds psionics to category) | |
− | also adds psionics to category | ||
--><includeonly>[[Category:Psionics]]</includeonly>|}}<!-- | --><includeonly>[[Category:Psionics]]</includeonly>|}}<!-- | ||
− | in-game model. tries {{PAGENAME}}_model.png if | + | sprite or in-game model. tries {{PAGENAME}}_model.png if image is not specified. --> |
− | --> | ||
{{!}} width="50%" style="text-align:center;" title="In-game model" {{!}} | {{!}} width="50%" style="text-align:center;" title="In-game model" {{!}} | ||
{{#if:{{{image|}}} | {{#if:{{{image|}}} | ||
Line 48: | Line 40: | ||
|{{#ifexist:File:{{PAGENAME}} model.png | |{{#ifexist:File:{{PAGENAME}} model.png | ||
|[[File:{{PAGENAME}} model.png]] | |[[File:{{PAGENAME}} model.png]] | ||
− | |[[File: | + | |[[File:Unknown character.png{{!}}100x100px]] |
}} | }} | ||
}} | }} | ||
− | {{!}}} <!-- images table end --> | + | {{!}}{{)}} <!-- images table end --> |
|- | |- | ||
− | + | ! colspan="2" class="infobox-th" | <span class="infobox-h2">{{ | |
− | | important | named = Biography | + | #switch: {{{type|}}} |
− | | creature | critter = Critter | + | | important | named = Biography |
− | | robot | automaton = Automaton | + | | creature | critter = Critter |
− | | generic | #default = Description}}</span | + | | robot | automaton = Automaton |
− | + | | generic | #default = Description | |
− | + | }}</span> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | |- <!-- faction row --> | ||
+ | {{#if:<noinclude>string</noinclude>{{{faction|}}} | ||
+ | |{{!}} class="infobox-leftcol" {{!}} Faction | ||
+ | {{!}} class="infobox-rightcol" {{!}} {{{faction|faction, examples:<br>[[South Gaters]]<br>Wildlife}}} | ||
+ | |}} | ||
− | + | |- <!-- roles row --> | |
{{#if:<noinclude>string</noinclude>{{{roles|}}} | {{#if:<noinclude>string</noinclude>{{{roles|}}} | ||
− | | | + | |{{!}} class="infobox-leftcol" {{!}} Role |
− | {{!}} class="infobox-leftcol" {{!}} Role | + | {{!}} class="infobox-rightcol" {{!}} {{{roles|roles, examples:<br>[[Trader]]<br>[[Psi trainer]]<br>Quest NPC}}} |
− | {{!}} class="infobox-rightcol" {{!}} | + | |}} |
− | {{{roles|roles, examples:<br>[[Trader]]<br>[[Psi trainer]]<br>Quest NPC}}} | ||
− | |}} | ||
− | |||
− | + | |- <!-- locations row --> | |
{{#if:<noinclude>string</noinclude>{{{location|}}} | {{#if:<noinclude>string</noinclude>{{{location|}}} | ||
− | | | + | |{{!}} class="infobox-leftcol" {{!}} Location |
− | {{!}} class="infobox-leftcol" {{!}} Location | + | {{!}} class="infobox-rightcol" {{!}} {{{location|location, examples:<br>[[South Gate Outposts]]<br>[[Lower Underrail]]}}} |
− | {{!}} class="infobox-rightcol" {{!}} | + | |}} |
− | {{{location|location, examples:<br>[[South Gate Outposts]]<br>[[Lower Underrail]]}}} | ||
− | |}} | ||
− | |||
− | + | |- <!-- quests row --> | |
{{#if:<noinclude>string</noinclude>{{{quests|}}} | {{#if:<noinclude>string</noinclude>{{{quests|}}} | ||
− | | | + | |{{!}} class="infobox-leftcol" {{!}} Quests |
− | {{!}} class="infobox-leftcol" {{!}} Quests | + | {{!}} class="infobox-rightcol" {{!}} {{{quests|quest1<br>quest2<br>quest3<br>etc}}} |
− | {{!}} class="infobox-rightcol" {{!}} | + | |}} |
− | {{{quests|quest1<br>quest2<br>quest3<br>etc}}} | ||
− | |}} | ||
− | + | |- <!-- loot row --> | |
− | |||
{{#if:<noinclude>string</noinclude>{{{loot|}}} | {{#if:<noinclude>string</noinclude>{{{loot|}}} | ||
− | | | + | |{{!}} class="infobox-leftcol" {{!}} Loot |
− | {{!}} class="infobox-leftcol" {{!}} Loot | + | {{!}} class="infobox-rightcol" {{!}} {{{loot|Ammunition<br>Scraps<br>Firearm Barrels (rarely)}}} |
− | {{!}} class="infobox-rightcol" {{!}} | + | |}} |
− | {{{loot|Ammunition<br>Scraps<br>Firearm Barrels (rarely)}}} | ||
− | |}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | |- <!-- abilities row --> | ||
+ | {{#if:<noinclude>string</noinclude>{{{abilities|}}} | ||
+ | |{{!}} class="infobox-leftcol" {{!}} Abilities | ||
+ | {{!}} class="infobox-rightcol" {{!}} {{{abilities|misc. combat stuff, examples:<br>Throws [[Flashbang]]s<br>Can use [[Neural Overload]]<br>Has [[Acid Spray]] special attack}}}<br> | ||
+ | |}} | ||
− | + | |- <!-- checks if ANY statistics have been entered all at. omits the whole statistics section if not. --> | |
− | |||
− | |||
− | |||
{{#if:<noinclude>string</noinclude>{{{level|}}}{{{actionpoints|}}}{{{movepoints|}}}{{{damage|}}}{{{range|}}}{{{initiative|}}}{{{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|}}}{{{electricity|}}}{{{energy|}}} | {{#if:<noinclude>string</noinclude>{{{level|}}}{{{actionpoints|}}}{{{movepoints|}}}{{{damage|}}}{{{range|}}}{{{initiative|}}}{{{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|}}}{{{electricity|}}}{{{energy|}}} | ||
− | | | + | |{{!}} colspan="2" {{!}} |
− | {{!}} colspan="2" {{!}} | ||
{{(}}{{!}} class="mw-collapsible mw-collapsed" cellspacing="0px" style="width:100%;" data-expandtext="Show" data-collapsetext="Hide" | {{(}}{{!}} class="mw-collapsible mw-collapsed" cellspacing="0px" style="width:100%;" data-expandtext="Show" data-collapsetext="Hide" | ||
− | {{!}} colspan="2" | + | {{!}}- |
+ | ! colspan="2" class="infobox-th" {{!}} <span class="infobox-h2">Combat stats</span> | ||
− | + | {{!}}- title="Combat statistics" <!-- checks if any derived stats have been entered. omits the subsection if not. --> | |
− | |||
− | |||
− | |||
{{#if:<noinclude>string</noinclude>{{{level|}}}{{{actionpoints|}}}{{{movepoints|}}}{{{damage|}}}{{{range|}}}{{{initiative|}}}{{{detection|}}} | {{#if:<noinclude>string</noinclude>{{{level|}}}{{{actionpoints|}}}{{{movepoints|}}}{{{damage|}}}{{{range|}}}{{{initiative|}}}{{{detection|}}} | ||
− | | | + | |{{!}} class="infobox-leftcol" {{!}} Combat stats |
− | {{!}} class="infobox-leftcol | + | {{!}} class="infobox-rightcol" {{!}} {{ |
− | {{!}} class="infobox-rightcol" {{!}} | + | #if:<noinclude>string</noinclude>{{{level|}}}|Level: {{{level|n}}}<br> |
− | {{#if:<noinclude>string</noinclude>{{{level|}}}|Level: {{{level|n}}}<br> | ||
|}}{{#if:<noinclude>string</noinclude>{{{damage|}}}|Damage: {{{damage|n}}}<br> | |}}{{#if:<noinclude>string</noinclude>{{{damage|}}}|Damage: {{{damage|n}}}<br> | ||
|}}{{#if:<noinclude>string</noinclude>{{{range|}}}|Range: {{{range|n}}}<br> | |}}{{#if:<noinclude>string</noinclude>{{{range|}}}|Range: {{{range|n}}}<br> | ||
Line 144: | Line 108: | ||
|}}{{#if:<noinclude>string</noinclude>{{{initiative|}}}|Initiative: {{{initiative|n}}}<br> | |}}{{#if:<noinclude>string</noinclude>{{{initiative|}}}|Initiative: {{{initiative|n}}}<br> | ||
|}}{{#if:<noinclude>string</noinclude>{{{detection|}}}|Detection: {{{detection|n}}}<br> | |}}{{#if:<noinclude>string</noinclude>{{{detection|}}}|Detection: {{{detection|n}}}<br> | ||
− | |}}|}} | + | |}}|}} |
− | |||
− | |||
− | |||
− | + | {{!}}- title="Base ability scores" <!-- 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|}}} | ||
− | | | + | |{{!}} class="infobox-leftcol" {{!}} Base abilities |
− | {{!}} class="infobox-leftcol | + | {{!}} class="infobox-rightcol" {{!}} {{ |
− | {{!}} class="infobox-rightcol" {{!}} | + | #if:<noinclude>string</noinclude>{{{strength|}}}|Strength: {{{strength|n}}}<br> |
− | {{#if:<noinclude>string</noinclude>{{{strength|}}}|Strength: {{{strength|n}}}<br> | ||
|}}{{#if:<noinclude>string</noinclude>{{{dexterity|}}}|Dexterity: {{{dexterity|n}}}<br> | |}}{{#if:<noinclude>string</noinclude>{{{dexterity|}}}|Dexterity: {{{dexterity|n}}}<br> | ||
|}}{{#if:<noinclude>string</noinclude>{{{agility|}}}|Agility: {{{agility|n}}}<br> | |}}{{#if:<noinclude>string</noinclude>{{{agility|}}}|Agility: {{{agility|n}}}<br> | ||
Line 161: | Line 121: | ||
|}}{{#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> | ||
− | |}}|}} | + | |}}|}} |
− | |||
− | |||
− | |||
− | + | {{!}}- title="Skill levels" <!-- 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|}}} | ||
− | | | + | |{{!}} class="infobox-leftcol" {{!}} Skills |
− | {{!}} class="infobox-leftcol | + | {{!}} class="infobox-rightcol" {{!}} {{ |
− | {{!}} class="infobox-rightcol" {{!}} | + | #if:<noinclude>string</noinclude>{{{guns|}}}|Guns: {{{guns|n}}}<br> |
− | {{#if:<noinclude>string</noinclude>{{{guns|}}}|Guns: {{{guns|n}}}<br> | ||
|}}{{#if:<noinclude>string</noinclude>{{{throwing|}}}|Throwing: {{{throwing|n}}}<br> | |}}{{#if:<noinclude>string</noinclude>{{{throwing|}}}|Throwing: {{{throwing|n}}}<br> | ||
|}}{{#if:<noinclude>string</noinclude>{{{crossbows|}}}|Crossbows: {{{crossbows|n}}}<br> | |}}{{#if:<noinclude>string</noinclude>{{{crossbows|}}}|Crossbows: {{{crossbows|n}}}<br> | ||
Line 190: | Line 146: | ||
|}}{{#if:<noinclude>string</noinclude>{{{psychokinesis|}}}|Psychokinesis: {{{psychokinesis|n}}}<br> | |}}{{#if:<noinclude>string</noinclude>{{{psychokinesis|}}}|Psychokinesis: {{{psychokinesis|n}}}<br> | ||
|}}{{#if:<noinclude>string</noinclude>{{{metathermics|}}}|Metathermics: {{{metathermics|n}}}<br> | |}}{{#if:<noinclude>string</noinclude>{{{metathermics|}}}|Metathermics: {{{metathermics|n}}}<br> | ||
+ | |}}{{#if:<noinclude>string</noinclude>{{{temporal|}}}|Temporal Manipulation: {{{temporal|n}}}<br> | ||
|}}{{#if:<noinclude>string</noinclude>{{{persuasion|}}}|Persuasion: {{{persuasion|n}}}<br> | |}}{{#if:<noinclude>string</noinclude>{{{persuasion|}}}|Persuasion: {{{persuasion|n}}}<br> | ||
|}}{{#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> | ||
− | |}}|}} | + | |}}|}} |
− | |||
− | |||
− | |||
− | + | {{!}}- title="Damage resistances and tresholds" <!-- checks if any resistance values have been entered. omits the subsection if not. --> | |
{{#if:<noinclude>string</noinclude>{{{mechanical|}}}{{{heat|}}}{{{cold|}}}{{{acid|}}}{{{bio|}}}{{{electricity|}}}{{{energy|}}} | {{#if:<noinclude>string</noinclude>{{{mechanical|}}}{{{heat|}}}{{{cold|}}}{{{acid|}}}{{{bio|}}}{{{electricity|}}}{{{energy|}}} | ||
− | | | + | |{{!}} class="infobox-leftcol" {{!}} Resistances |
− | {{!}} class="infobox-leftcol | + | {{!}} class="infobox-rightcol" {{!}} {{ |
− | {{!}} class="infobox-rightcol" {{!}} | + | #if:<noinclude>string</noinclude>{{{mechanical|}}}|{{Damagetype|Mechanical|{{{mechanical|n% / n}}}}}<br> |
− | {{#if:<noinclude>string</noinclude>{{{mechanical|}}}|{{Damagetype|Mechanical|{{{mechanical|n% / n}}}}}<br> | ||
|}}{{#if:<noinclude>string</noinclude>{{{heat|}}}|{{Damagetype|Heat|{{{heat|n% / n}}}}}<br> | |}}{{#if:<noinclude>string</noinclude>{{{heat|}}}|{{Damagetype|Heat|{{{heat|n% / n}}}}}<br> | ||
|}}{{#if:<noinclude>string</noinclude>{{{cold|}}}|{{Damagetype|Cold|{{{cold|n% / n}}}}}<br> | |}}{{#if:<noinclude>string</noinclude>{{{cold|}}}|{{Damagetype|Cold|{{{cold|n% / n}}}}}<br> | ||
Line 211: | Line 164: | ||
|}}{{#if:<noinclude>string</noinclude>{{{bio|}}}|{{Damagetype|Bio|{{{bio|n% / n}}}}}<br> | |}}{{#if:<noinclude>string</noinclude>{{{bio|}}}|{{Damagetype|Bio|{{{bio|n% / n}}}}}<br> | ||
|}}|}} | |}}|}} | ||
− | {{!}}{{)}} | + | {{!}}{{)}} |
− | + | |}} | |
− | |||
− | |||
− | + | |- <!-- checks if technical details have been entered. omits the whole table if not. --> | |
{{#if:<noinclude>string</noinclude>{{{charfile|}}}{{{dialogfile|}}}{{{shopfile|}}}{{{animfiles|}}} | {{#if:<noinclude>string</noinclude>{{{charfile|}}}{{{dialogfile|}}}{{{shopfile|}}}{{{animfiles|}}} | ||
− | | | + | |{{!}} colspan="2" {{!}} |
− | {{!}} colspan="2" {{!}} | ||
{{(}}{{!}} class="mw-collapsible mw-collapsed" cellspacing="0px" style="width:100%;" data-expandtext="Show" data-collapsetext="Hide" | {{(}}{{!}} class="mw-collapsible mw-collapsed" cellspacing="0px" style="width:100%;" data-expandtext="Show" data-collapsetext="Hide" | ||
− | {{!}} colspan="2" | + | {{!}}- |
− | + | ! colspan="2" class="infobox-th" {{!}} <span class="infobox-h2">Technical</span> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | {{!}}- title="Found in \Data\Rules\Characters" <!-- checks if character file has been entered. omits the subsection if not. --> | ||
+ | {{#if:<noinclude>string</noinclude>{{{charfile|}}} | ||
+ | |{{!}} class="infobox-leftcol" {{!}} Char file | ||
+ | {{!}} class="infobox-rightcol" {{!}} <code>{{{charfile|FileName.char}}}</code> | ||
+ | |}} | ||
+ | {{!}}- title="Found in \Data\Dialogs\ or its subfolders" <!-- checks if dialog file has been entered. omits the subsection if not. --> | ||
+ | {{#if:<noinclude>string</noinclude>{{{dialogfile|}}} | ||
+ | |{{!}} class="infobox-leftcol" {{!}} Dialog file(s) | ||
+ | {{!}} class="infobox-rightcol" {{!}} <code>{{{dialogfile|FileName.udlg}}}</code> | ||
+ | |}} | ||
− | + | {{!}}- title="Found in \Data\Rules\Stores" <!-- checks if shop file has been entered. omits the subsection if not. --> | |
{{#if:<noinclude>string</noinclude>{{{shopfile|}}} | {{#if:<noinclude>string</noinclude>{{{shopfile|}}} | ||
− | | | + | |{{!}} class="infobox-leftcol" {{!}} Shop file |
− | {{!}} class="infobox-leftcol" {{!}} Shop file | + | {{!}} class="infobox-rightcol" {{!}} <code>{{{shopfile|FileName.store}}}</code> |
− | {{!}} class="infobox-rightcol" {{!}} | + | |}} |
− | <code>{{{shopfile|FileName.store}}}</code> | ||
− | |}} | ||
− | + | {{!}}- title="Found in \Data\Locale\Creatures\" <!-- checks if animation files have been entered. omits the subsection if not. --> | |
− | |||
− | |||
{{#if:<noinclude>string</noinclude>{{{animfiles|}}} | {{#if:<noinclude>string</noinclude>{{{animfiles|}}} | ||
− | | | + | |{{!}} class="infobox-leftcol" {{!}} Spritesheets |
− | {{!}} class="infobox-leftcol" {{!}} | + | {{!}} class="infobox-rightcol" {{!}} <code>{{{animfiles|\folder\}}}</code> |
− | {{!}} class="infobox-rightcol" {{!}} | + | |}} |
− | <code>{{{animfiles|\folder\}}}</code> | + | {{!}}{{)}} |
|}} | |}} | ||
− | + | <!-- close table -->|}<!-- | |
− | |}<!-- | ||
− | |||
− | |||
AUTOMATIC CATEGORIES: | AUTOMATIC CATEGORIES: | ||
only if namespace is empty string, aka main namespace | only if namespace is empty string, aka main namespace | ||
-->{{#if:{{NAMESPACE}}||<!-- | -->{{#if:{{NAMESPACE}}||<!-- | ||
− | |||
check if level parameter is missing | check if level parameter is missing | ||
Line 278: | Line 210: | ||
check if health parameter is missing | check if health parameter is missing | ||
-->{{#if:{{{health|}}}||<includeonly>[[Category:Characters without health]]</includeonly>}}<!-- | -->{{#if:{{{health|}}}||<includeonly>[[Category:Characters without health]]</includeonly>}}<!-- | ||
− | |||
-->}}<!-- close namespace #IF --><noinclude><br style="clear:both;"/>{{documentation}}</noinclude> | -->}}<!-- close namespace #IF --><noinclude><br style="clear:both;"/>{{documentation}}</noinclude> |
Revision as of 03:17, 10 October 2017
Character or creature name | |||||||||||
| |||||||||||
Description | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Faction | faction, examples: South Gaters Wildlife | ||||||||||
Role | roles, examples: Trader Psi trainer Quest NPC | ||||||||||
Location | location, examples: South Gate Outposts Lower Underrail | ||||||||||
Quests | quest1 quest2 quest3 etc | ||||||||||
Loot | Ammunition Scraps Firearm Barrels (rarely) | ||||||||||
Abilities | misc. combat stuff, examples: Throws Flashbangs Can use Neural Overload Has Acid Spray special attack | ||||||||||
| |||||||||||
|
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?)
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 quest2 | ||||||||
Abilities | True-sight | ||||||||
| |||||||||
|
Minimal infobox example | |||
| |||
Automaton | |||
---|---|---|---|
Role | Styg's old forum avatar | ||
Location | some upcoming release |
See the source.