Difference between revisions of "Template:Character Infobox/doc"

From Underrail Wiki
Jump to navigation Jump to search
(updated doc)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
= Usage =
+
== Usage ==
 
Paste the following code into the top of an article, filling all known fields:
 
Paste the following code into the top of an article, filling all known fields:
  
 
<pre>
 
<pre>
 
{{Character Infobox
 
{{Character Infobox
| name     =  
+
| name       =  
| type     = creature, important, generic; the latter have no portrait image, only in-game model. 'creature' implies description rather than biography.
+
| type       = important, generic, critter or robot (generic, critter or robot implies description rather than biography)
| portrait = portrait image. tries '{{PAGENAME}} portrait.png' if not specified
+
| portrait   = portrait image
| image   = in-game model image. tries '{{PAGENAME}} model.png' if not specified
+
| background = portrait background image
| faction =  
+
| health    = shown as a bar below portrait
| roles   =  
+
| shield    =
| location =  
+
| psipool    =
 +
| image     = in-game model image. tries '{{PAGENAME}} model.png' if not specified
 +
| faction   =  
 +
| roles     =  
 +
| location   =  
 
|
 
|
 
|Statistics - these are optional. Fill what you can and leave the rest empty.
 
|Statistics - these are optional. Fill what you can and leave the rest empty.
Line 21: Line 25:
 
| damage        =
 
| damage        =
 
| range        =
 
| range        =
| health        =
+
| actionpoints  = 50
| shield        =
 
| psipool      =
 
| actionpoints  =  
 
 
| movepoints    =  
 
| movepoints    =  
 
| detection    =  
 
| detection    =  
Line 80: Line 81:
 
}}</pre>
 
}}</pre>
  
= Examples =
+
== Examples ==
 
{{Character Infobox
 
{{Character Infobox
| name     = Something with a portrait
+
| name       = Large infobox example
| type     = important
+
| type       = important
| portrait =  
+
| portrait   = mutated_human1_l.png
| image   = mutant model.png
+
| health    = 127
| roles   = Example with stats
+
| psipool    = 100 (+10)
| location = template documentation page
+
| background = Shacks.png
| quests   = quest1<br>quest2
+
| image     = mutant model.png
 +
| roles     = Example with bunch of stats
 +
| location   = template documentation page
 +
| quests     = quest1<br>quest2
 
|
 
|
 
| abilities    = True-sight
 
| abilities    = True-sight
 
| level        = 30
 
| level        = 30
 +
| actionpoints  = 50
 
| detection    = 9001
 
| detection    = 9001
 
| perception    = 10
 
| perception    = 10
 
| traps        = 127
 
| traps        = 127
 
| intimidation  = 42
 
| intimidation  = 42
 +
|
 +
| charfile      = something.char
 +
| dialogfile    = something.udlg
 +
| shopfile      = something.store
 
}}
 
}}
 
{{Character Infobox
 
{{Character Infobox
| name     = Some nasty bugger
+
| name       = Minimal infobox example
| type    = creature
+
| type       = robot
| image   = PlasmaSentry.gif
+
| portrait  = plasma_sentry_l.png
| roles   = Styg's forum avatar
+
| background = SciFi.png
| location = some upcoming release
+
| health     = 123
 +
| image     = PlasmaSentry.gif
 +
| roles     = Styg's old forum avatar
 +
| location   = some upcoming release
 
}}
 
}}
  
 
See the source.
 
See the source.
 
<includeonly>[[Category:Infobox templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
 
<includeonly>[[Category:Infobox templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 12:27, 23 March 2016

Usage

Paste the following code into the top of an article, filling all known fields:

{{Character Infobox
| name       = 
| type       = important, generic, critter or robot (generic, critter or robot implies description rather than biography)
| portrait   = portrait image
| background = portrait background image
| health     = shown as a bar below portrait
| shield     = 
| psipool    = 
| image      = in-game model image. tries '{{PAGENAME}} model.png' if not specified
| faction    = 
| roles      = 
| location   = 
|
|Statistics - these are optional. Fill what you can and leave the rest empty.
|Abilities section:
| abilities     = 
|
|Combat stats section:
| level         = 
| damage        =
| range         =
| actionpoints  = 50
| movepoints    = 
| detection     = 
|
|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  = 
|
| persuasion    = 
| intimidation  = 
| mercantile    = 
|
|Resistances section:
| mechanical    = 
| heat          = 
| cold          = 
| electricity   = 
| acid          = 
| energy        = 
| bio           = 
|
|Technical section:
| charfile      = 
| dialogfile    = 
| shopfile      = 
}}

Examples

Large infobox example

Shacks.png Mutated human1 l.png
127
100 (+10)

Mutant model.png

Biography
Role Example with bunch of stats
Location template documentation page
Quests quest1
quest2
Abilities True-sight
Combat Stats
Combat Stats Level: 30
Action Points: 50
Detection: 9001
Base Abilities Perception: 10
Skills Traps: 127
Intimidation: 42
Technical
Char file something.char
Dialog file(s) something.udlg
Shop file something.store
Minimal infobox example

SciFi.png Plasma sentry l.png
123

PlasmaSentry.gif

Automaton
Role Styg's old forum avatar
Location some upcoming release

See the source.