Difference between revisions of "Template:Character Infobox"
m |
m |
||
Line 199: | Line 199: | ||
</nowiki><!-- checks if technical details have been entered. omits the whole section if not. --> | </nowiki><!-- checks if technical details have been entered. omits the whole section if not. --> | ||
− | {{#if:<noinclude>string</noinclude>{{{charfile|}}}{{{dialogfile|}}} | + | {{#if:<noinclude>string</noinclude>{{{charfile|}}}{{{dialogfile|}}}{{{shopfile|}}} |
− | |{{!}}- | + | |{{!}}- title="Found in \Underrail Alpha\Data\Rules\Characters" |
{{!}} colspan="2" style="background-color:#2E2D42; border:#AE5700 2px solid; border-radius:4px; text-align:center; font-weight:bold; color:white;" {{!}} Technical<nowiki> | {{!}} colspan="2" style="background-color:#2E2D42; border:#AE5700 2px solid; border-radius:4px; text-align:center; font-weight:bold; color:white;" {{!}} Technical<nowiki> | ||
Line 207: | Line 207: | ||
</nowiki>{{#if:<noinclude>string</noinclude>{{{charfile|}}} | </nowiki>{{#if:<noinclude>string</noinclude>{{{charfile|}}} | ||
|​ | |​ | ||
− | {{!}}- | + | {{!}}- title="Found in \Data\Rules\Characters" |
{{!}} width="30%" style="padding-right:0.4em;" 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;" {{!}} | ||
Line 215: | Line 215: | ||
− | </nowiki><!-- checks if dialog file has been entered. omits the subsection if not. --> | + | </nowiki><!-- checks if dialog file has been entered. omits the subsection if not. --><nowiki> |
− | {{#if:<noinclude>string</noinclude>{{{ | + | </nowiki>{{#if:<noinclude>string</noinclude>{{{dialog|}}} |
− | |{{!}}- | + | |​ |
+ | {{!}}- title="Found in \Data\Dialogs\ or its subfolders" | ||
{{!}} width="30%" style="padding-right:0.4em;" 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> | ||
+ | |}}<nowiki> | ||
+ | |||
+ | |||
+ | |||
+ | </nowiki><!-- checks if shop file has been entered. omits the subsection if not. --> | ||
+ | {{#if:<noinclude>string</noinclude>{{{shopfile|}}} | ||
+ | |{{!}}- title="Found in \Data\Rules\Stores" | ||
+ | {{!}} width="30%" style="padding-right:0.4em;" valign="top" align="right" {{!}} Shop file | ||
+ | {{!}} width="70%" style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" {{!}} | ||
+ | <code>{{{shopfile|FileName.store}}}</code> | ||
|}}|}} | |}}|}} | ||
|}<noinclude> | |}<noinclude> |
Revision as of 07:08, 8 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 |
| ||
Shop 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 |
| ||
Shop file |
|
Minimal infobox example | |||
| |||
Biography | |||
Role |
Styg's old forum avatar | ||
Location |
some upcoming release | ||
Statistics | |||
Combat stats |
Health: 123 |
See the source.