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

From Underrail Wiki
Jump to navigation Jump to search
m
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= Usage =
+
__NOTOC__
 +
== 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     = important or generic; the latter have no portrait image, only in-game model
+
| type       = automaton, critter, generic, important (for bots, animals and generic/named NPCs)
| portrait = portrait image. defaults to {{PAGENAME}}_portrait.png
+
| portrait  = portrait image (see [[Category:Portraits]])
| model   = in-game model image. defaults to {{PAGENAME}}_model.png
+
| background = portrait background image (see [[Category:Portrait backgrounds]])
| faction =  
+
| health    = shown as a bar below portrait
| roles   =  
+
| shield    =
| location =  
+
| psipool   =
|
+
| image      = in-game model image. tries '{{PAGENAME}} model.png' if not specified (see [[Category:In-game models]] or [[Category:Sprites]])
|Statistics - these are optional. Fill what you can and leave the rest empty.
+
| faction   =  
|Abilities section:
+
| roles     =  
| abilities     =
+
| location   =  
 +
| loot      =
 +
| abilities =  
 
|
 
|
 
|Combat stats section:
 
|Combat stats section:
 
| level        =  
 
| level        =  
| health       =  
+
| damage       =  
| shield        =
+
| range        =  
| psipool      =  
+
| actionpoints  = 50
| actionpoints  =  
 
 
| movepoints    =  
 
| movepoints    =  
 +
| detection    =
 +
| resolve      =
 
| fortitude    =  
 
| fortitude    =  
| resolve      =
 
| critchance    =
 
| detection    =
 
 
|
 
|
 
|Base abilities section:
 
|Base abilities section:
Line 60: Line 61:
 
| psychokinesis =  
 
| psychokinesis =  
 
| metathermics  =  
 
| metathermics  =  
 +
| temporal      =
 
|
 
|
 
| persuasion    =  
 
| persuasion    =  
Line 69: Line 71:
 
| heat          =  
 
| heat          =  
 
| cold          =  
 
| cold          =  
 +
| electricity  =
 
| acid          =  
 
| acid          =  
 +
| energy        =
 
| bio          =  
 
| bio          =  
| energy        =  
+
|
 +
|Technical section:
 +
| charfile      =
 +
| dialogfile    =
 +
| shopfile      =
 +
| animfiles    =  
 
}}</pre>
 
}}</pre>
  
= Examples =
+
== Examples ==
<pre>
 
 
{{Character Infobox
 
{{Character Infobox
| name     = Some nasty bugger
+
| name       = Large infobox example
| portrait =  
+
| type      = important
| model   =  
+
| portrait   = mutated_human1_l.png
| faction  = None
+
| health    = 127
| roles   = being a silly example
+
| psipool   = 100 (+10)
| location = template doc page
+
| background = Shacks.png
 +
| 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
}}</pre>
+
|
 
+
| charfile      = something.char
Results in...
+
| dialogfile    = something.udlg
 
+
| shopfile      = something.store
 +
}}
 
{{Character Infobox
 
{{Character Infobox
| name     = Some nasty bugger
+
| name       = Minimal infobox example
| portrait =
+
| type      = robot
| model    =
+
| portrait  = plasma_sentry_l.png
| faction  = None
+
| background = SciFi.png
| roles    = being a silly example
+
| health     = 123
| location = template doc page
+
| image      = PlasmaSentry.gif
|
+
| roles      = Styg's old forum avatar
| abilities    = True-sight
+
| location  = some upcoming release
| level        = 30
 
| detection     = 9001
 
| perception    = 10
 
| traps        = 127
 
| intimidation  = 42
 
 
}}
 
}}
 +
 +
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>

Latest revision as of 13:55, 15 January 2020

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

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.