Difference between revisions of "Template:Character Infobox"
| WikimanBot (talk | contribs) m (lol oops) | WikimanBot (talk | contribs)   (css styling) | ||
| Line 1: | Line 1: | ||
| − | {| cellspacing="0px"  | + | {| class="infobox" cellspacing="0px" width="320px" style="color:#626262;" | 
| |- | |- | ||
| | 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 69: | Line 69: | ||
| |​ | |​ | ||
| {{!}}- | {{!}}- | ||
| − | {{!}}  | + | {{!}} class="infobox-leftcol" {{!}} Faction | 
| − | {{!}}  | + | {{!}} class="infobox-rightcol" {{!}} | 
| {{{faction|faction, examples:<br>[[South Gaters]]<br>Wildlife}}} | {{{faction|faction, examples:<br>[[South Gaters]]<br>Wildlife}}} | ||
| |}}<nowiki> | |}}<nowiki> | ||
| Line 78: | Line 78: | ||
| {{#if:<noinclude>string</noinclude>{{{roles|}}} | {{#if:<noinclude>string</noinclude>{{{roles|}}} | ||
| |{{!}}- | |{{!}}- | ||
| − | {{!}}  | + | {{!}} class="infobox-leftcol" {{!}} Role | 
| − | {{!}}  | + | {{!}} class="infobox-rightcol" {{!}} | 
| {{{roles|roles, examples:<br>[[Trader]]<br>[[Psi trainer]]<br>Quest NPC}}} | {{{roles|roles, examples:<br>[[Trader]]<br>[[Psi trainer]]<br>Quest NPC}}} | ||
| |}}<nowiki> | |}}<nowiki> | ||
| Line 87: | Line 87: | ||
| {{#if:<noinclude>string</noinclude>{{{location|}}} | {{#if:<noinclude>string</noinclude>{{{location|}}} | ||
| |{{!}}- | |{{!}}- | ||
| − | {{!}}  | + | {{!}} class="infobox-leftcol" {{!}} Location | 
| − | {{!}}  | + | {{!}} class="infobox-rightcol" {{!}} | 
| {{{location|location, examples:<br>[[South Gate Outposts]]<br>[[Lower Underrail]]}}} | {{{location|location, examples:<br>[[South Gate Outposts]]<br>[[Lower Underrail]]}}} | ||
| |}}<nowiki> | |}}<nowiki> | ||
| Line 96: | Line 96: | ||
| {{#if:<noinclude>string</noinclude>{{{quests|}}} | {{#if:<noinclude>string</noinclude>{{{quests|}}} | ||
| |{{!}}- | |{{!}}- | ||
| − | {{!}}  | + | {{!}} class="infobox-leftcol" {{!}} Quests | 
| − | {{!}}  | + | {{!}} class="infobox-rightcol" {{!}} | 
| {{{quests|quest1<br>quest2<br>quest3<br>etc}}} | {{{quests|quest1<br>quest2<br>quest3<br>etc}}} | ||
| |}}<nowiki> | |}}<nowiki> | ||
| Line 105: | Line 105: | ||
| {{#if:<noinclude>string</noinclude>{{{loot|}}} | {{#if:<noinclude>string</noinclude>{{{loot|}}} | ||
| |{{!}}- | |{{!}}- | ||
| − | {{!}}  | + | {{!}} class="infobox-leftcol" {{!}} Loot | 
| − | {{!}}  | + | {{!}} class="infobox-rightcol" {{!}} | 
| {{{loot|Ammunition<br>Scraps<br>Firearm Barrels (rarely)}}} | {{{loot|Ammunition<br>Scraps<br>Firearm Barrels (rarely)}}} | ||
| |}}<nowiki> | |}}<nowiki> | ||
| Line 117: | Line 117: | ||
| |​ | |​ | ||
| {{!}}- title="Special abilities" | {{!}}- title="Special 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> | {{{abilities|misc. combat stuff, examples:<br>Throws [[Flashbang]]s<br>Can use [[Neural Overload]]<br>Has [[Acid Spray]] special attack}}}<br> | ||
| |}}<nowiki> | |}}<nowiki> | ||
| Line 139: | Line 139: | ||
| {{#if:<noinclude>string</noinclude>{{{actionpoints|}}}{{{movepoints|}}}{{{damage|}}}{{{range|}}}{{{initiative|}}}{{{detection|}}} | {{#if:<noinclude>string</noinclude>{{{actionpoints|}}}{{{movepoints|}}}{{{damage|}}}{{{range|}}}{{{initiative|}}}{{{detection|}}} | ||
| |{{!}}- title="Combat statistics" | |{{!}}- title="Combat statistics" | ||
| − | {{!}}  | + | {{!}} class="infobox-leftcol" width="40%" {{!}} Combat stats | 
| − | {{!}}  | + | {{!}} class="infobox-rightcol" {{!}} | 
| {{#if:<noinclude>string</noinclude>{{{damage|}}}|Attack damage: {{{damage|n}}}<br> | {{#if:<noinclude>string</noinclude>{{{damage|}}}|Attack damage: {{{damage|n}}}<br> | ||
| |}}{{#if:<noinclude>string</noinclude>{{{range|}}}|Attack range: {{{range|n}}}<br> | |}}{{#if:<noinclude>string</noinclude>{{{range|}}}|Attack range: {{{range|n}}}<br> | ||
| Line 155: | Line 155: | ||
| {{#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 scores" | |{{!}}- title="Base ability scores" | ||
| − | {{!}}  | + | {{!}} class="infobox-leftcol" width="40%" {{!}} Base abilities | 
| − | {{!}}  | + | {{!}} 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> | ||
| Line 172: | Line 172: | ||
| {{#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" | ||
| − | {{!}}  | + | {{!}} class="infobox-leftcol" width="40%" {{!}} Skills | 
| − | {{!}}  | + | {{!}} 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> | ||
| Line 204: | Line 204: | ||
| {{#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" | ||
| − | {{!}}  | + | {{!}} class="infobox-leftcol" width="40%" {{!}} Resistances | 
| − | {{!}}  | + | {{!}} class="infobox-rightcol" {{!}} | 
| {{#if:<noinclude>string</noinclude>{{{mechanical|}}}|{{color|white|Mechanical:  {{{mechanical|n% / n}}}}}<br> | {{#if:<noinclude>string</noinclude>{{{mechanical|}}}|{{color|white|Mechanical:  {{{mechanical|n% / n}}}}}<br> | ||
| |}}{{#if:<noinclude>string</noinclude>{{{heat|}}}|{{color|orangered|Heat: {{{heat|n% / n}}}}}<br> | |}}{{#if:<noinclude>string</noinclude>{{{heat|}}}|{{color|orangered|Heat: {{{heat|n% / n}}}}}<br> | ||
| Line 231: | Line 231: | ||
| |​ | |​ | ||
| {{!}}- title="Found in \Data\Rules\Characters" | {{!}}- title="Found in \Data\Rules\Characters" | ||
| − | {{!}}  | + | {{!}} class="infobox-leftcol" {{!}} Character file | 
| − | {{!}}  | + | {{!}} class="infobox-rightcol" {{!}} | 
| <code>{{{charfile|FileName.char}}}</code> | <code>{{{charfile|FileName.char}}}</code> | ||
| |}}<nowiki> | |}}<nowiki> | ||
| Line 242: | Line 242: | ||
| |​ | |​ | ||
| {{!}}- title="Found in \Data\Dialogs\ or its subfolders" | {{!}}- title="Found in \Data\Dialogs\ or its subfolders" | ||
| − | {{!}}  | + | {{!}} class="infobox-leftcol" {{!}} Dialog file | 
| − | {{!}}  | + | {{!}} class="infobox-rightcol" {{!}} | 
| <code>{{{dialogfile|FileName.udlg}}}</code> | <code>{{{dialogfile|FileName.udlg}}}</code> | ||
| |}}<nowiki> | |}}<nowiki> | ||
| Line 252: | Line 252: | ||
| {{#if:<noinclude>string</noinclude>{{{shopfile|}}} | {{#if:<noinclude>string</noinclude>{{{shopfile|}}} | ||
| |{{!}}- title="Found in \Data\Rules\Stores" | |{{!}}- title="Found in \Data\Rules\Stores" | ||
| − | {{!}}  | + | {{!}} class="infobox-leftcol" {{!}} Shop file | 
| − | {{!}}  | + | {{!}} class="infobox-rightcol" {{!}} | 
| <code>{{{shopfile|FileName.store}}}</code> | <code>{{{shopfile|FileName.store}}}</code> | ||
| |}}<nowiki> | |}}<nowiki> | ||
| Line 262: | Line 262: | ||
| {{#if:<noinclude>string</noinclude>{{{animfiles|}}} | {{#if:<noinclude>string</noinclude>{{{animfiles|}}} | ||
| |{{!}}- title="Found in \Data\Locale\Creatures\" | |{{!}}- title="Found in \Data\Locale\Creatures\" | ||
| − | {{!}}  | + | {{!}} class="infobox-leftcol" {{!}} Animation sprites | 
| − | {{!}}  | + | {{!}} class="infobox-rightcol" {{!}} | 
| <code>{{{animfiles|\folder\}}}</code> | <code>{{{animfiles|\folder\}}}</code> | ||
| |}} | |}} | ||
Revision as of 10:55, 30 October 2014
| Character or creature name | |||||||||||
| 
 | |||||||||||
| Biography  | |||||||||||
| Faction | faction, examples: | ||||||||||
| Role | roles, examples: | ||||||||||
| Location | location, examples: | ||||||||||
| Quests | quest1 | ||||||||||
| Loot | Ammunition | ||||||||||
| Abilities | misc. combat stuff, examples: | ||||||||||
| 
 | |||||||||||
| 
 | |||||||||||
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 | ||||||||
| Abilities | True-sight | ||||||||
| 
 | |||||||||
| 
 | |||||||||
| Minimal infobox example | |||
| 
 | |||
| Description | |||
| Role | Styg's old forum avatar | ||
| Location | some upcoming release | ||
See the source.





