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

From Underrail Wiki
Jump to navigation Jump to search
m
(added examples)
Line 1: Line 1:
 +
__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:
Line 6: Line 7:
 
| name    =  
 
| name    =  
 
| type    = important or generic; the latter have no portrait image, only in-game model
 
| type    = important or generic; the latter have no portrait image, only in-game model
| portrait = portrait image. defaults to {{PAGENAME}}_portrait.png
+
| portrait = portrait image. tries {{PAGENAME}}_portrait.png if not specified
| model    = in-game model image. defaults to {{PAGENAME}}_model.png
+
| model    = in-game model image. tries {{PAGENAME}}_model.png if not specified
 
| faction  =  
 
| faction  =  
 
| roles    =  
 
| roles    =  
Line 14: Line 15:
 
|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.
 
|Abilities section:
 
|Abilities section:
| abilities    =
+
| abilities    =  
 
|
 
|
 
|Combat stats section:
 
|Combat stats section:
Line 75: Line 76:
  
 
= Examples =
 
= Examples =
<pre>
 
 
{{Character Infobox
 
{{Character Infobox
| name    = Some nasty bugger
+
| name    = Something with a portrait
 +
| type    = important
 
| portrait =  
 
| portrait =  
 
| model    =  
 
| model    =  
| faction  = None
+
| roles    = Example with stats
| roles    = being a silly example
+
| location = template documentation page
| location = template doc page
 
 
|
 
|
 
| abilities    = True-sight
 
| abilities    = True-sight
Line 90: Line 90:
 
| traps        = 127
 
| traps        = 127
 
| intimidation  = 42
 
| intimidation  = 42
}}</pre>
+
}}
 
 
Results in...
 
 
 
 
{{Character Infobox
 
{{Character Infobox
 
| name    = Some nasty bugger
 
| name    = Some nasty bugger
| portrait =  
+
| type    = generic
| model    =  
+
| model    = PlasmaSentry.gif
| faction  = None
+
| faction  = Unknown
| roles    = being a silly example
+
| roles    = Styg's forum avatar<br>being a silly example
| location = template doc page
+
| location = some upcoming release
|
 
| abilities    = True-sight
 
| level        = 30
 
| detection    = 9001
 
| perception    = 10
 
| traps        = 127
 
| intimidation  = 42
 
 
}}
 
}}
 
<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:09, 4 August 2013

Usage

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

{{Character Infobox
| name     = 
| type     = important or generic; the latter have no portrait image, only in-game model
| portrait = portrait image. tries {{PAGENAME}}_portrait.png if not specified
| model    = 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         = 
| health        = 
| shield        = 
| psipool       = 
| actionpoints  = 
| movepoints    = 
| fortitude     = 
| resolve       = 
| critchance    = 
| 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          = 
| acid          = 
| bio           = 
| energy        = 
}}

Examples

Something with a portrait

Default.png Default l.png

Unknown character.png

Biography
Role Example with stats
Location template documentation page
Abilities True-sight
Combat Stats
Combat Stats Level: 30
Detection: 9001
Base Abilities Perception: 10
Skills Traps: 127
Intimidation: 42
Some nasty bugger

Default.png Default l.png

Unknown character.png

Description
Faction Unknown
Role Styg's forum avatar
being a silly example
Location some upcoming release