Difference between revisions of "Template:Character Infobox"

From Underrail Wiki
Jump to navigation Jump to search
m
m
Line 68: Line 68:
 
| colspan=2 style="border-top:1px solid {{{lineBG|#999999}}}; text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px;" | [[Template:Character Infobox|<span style="color:#FFFFFF;">[Source]</span>]]
 
| colspan=2 style="border-top:1px solid {{{lineBG|#999999}}}; text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px;" | [[Template:Character Infobox|<span style="color:#FFFFFF;">[Source]</span>]]
 
|}<includeonly>[[Category:Characters|{{PAGENAME}}]]</includeonly><noinclude>
 
|}<includeonly>[[Category:Characters|{{PAGENAME}}]]</includeonly><noinclude>
__NOTOC__{
+
__NOTOC__
 
+
</onlyinclude><noinclude>
 
+
{{documentation}}</noinclude>
 
 
==template under construction==
 
 
 
==Usage==
 
Paste the following code into the top of an article, filling all known fields:
 
<pre>
 
{{Character Infobox
 
|name=
 
|image=
 
|race=
 
|role=
 
|location=
 
|quests=
 
|alignment=
 
|notable=
 
|Karma=
 
|ingamepic=
 
}}</pre>
 
 
 
==Custom parameters==
 
The following allows you to alter the title of the sub-sections
 
<pre>
 
|homeworld-title=
 
|equipment-title=
 
|notable-title=
 
|imageBG=
 
|nameBG=
 
|sectionBG=
 
|fieldBG=
 
</pre>
 
 
 
==Display parameters==
 
The following allows you to hide the section header
 
*hidea
 
*hideb
 
*hidec
 
 
 
<pre>
 
|hidea=
 
|hideb=
 
|hidec=
 
</pre>
 
<noinclude>
 
[[Category:Infobox_templates|{{PAGENAME}}]]
 
</noinclude>
 

Revision as of 00:19, 28 March 2013

Character Infobox
250px
Biography
Gameplay
Statistics
In-game model
250px
[Source]


Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
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
mutant model.png
Biography

Location:

template documentation page

Gameplay

Quests:

quest1
quest2

Statistics
In-game model
250px
[Source]
Minimal infobox example
PlasmaSentry.gif
Biography

Location:

some upcoming release

Gameplay
Statistics
In-game model
250px
[Source]

See the source.