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

From Underrail Wiki
Jump to navigation Jump to search
(new template doc)
 
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==template under construction==
+
__NOTOC__
 +
== Usage ==
 +
Paste the following code into the top of an article, filling all known fields:
  
==Usage==
 
Paste the following code into the top of an article, filling all known fields:
 
 
<pre>
 
<pre>
 
{{Character Infobox
 
{{Character Infobox
|name=
+
| name       =
|image=
+
| type      = automaton, critter, generic, important (for bots, animals and generic/named NPCs)
|race=
+
| portrait  = portrait image (see [[Category:Portraits]])
|role=
+
| background = portrait background image (see [[Category:Portrait backgrounds]])
|location=
+
| health    = shown as a bar below portrait
|quests=
+
| shield    =
|alignment=
+
| psipool    =  
|notable=
+
| image     = in-game model image. tries '{{PAGENAME}} model.png' if not specified (see [[Category:In-game models]] or [[Category:Sprites]])
|Karma=
+
| faction    =  
|ingamepic=
+
| 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    =  
 
}}</pre>
 
}}</pre>
  
==Custom parameters==
+
== Examples ==
The following allows you to alter the title of the sub-sections
+
{{Character Infobox
<pre>
+
| name      = Large infobox example
|homeworld-title=
+
| type      = important
|equipment-title=
+
| portrait  = mutated_human1_l.png
|notable-title=
+
| health    = 127
|imageBG=
+
| psipool    = 100 (+10)
|nameBG=
+
| background = Shacks.png
|sectionBG=
+
| image      = mutant model.png
|fieldBG=
+
| roles      = Example with bunch of stats
</pre>
+
| location  = template documentation page
 
+
| quests    = quest1<br>quest2
==Display parameters==
+
|
The following allows you to hide the section header
+
| abilities    = True-sight
*hidea
+
| level        = 30
*hideb
+
| actionpoints  = 50
*hidec
+
| detection    = 9001
 
+
| perception    = 10
<pre>
+
| traps        = 127
|hidea=
+
| intimidation  = 42
|hideb=
+
|
|hidec=
+
| charfile      = something.char
</pre>
+
| dialogfile    = something.udlg
 +
| shopfile      = something.store
 +
}}
 +
{{Character Infobox
 +
| name      = Minimal infobox example
 +
| type      = robot
 +
| portrait  = plasma_sentry_l.png
 +
| background = SciFi.png
 +
| health    = 123
 +
| image      = PlasmaSentry.gif
 +
| roles      = Styg's old forum avatar
 +
| location  = some upcoming release
 +
}}
  
 +
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 14:19, 13 June 2024

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

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.