EXceed Wiki
No edit summary
Sovq (talk | contribs)
(adding if function to hide unused parameters)
Line 5: Line 5:
 
| colspan="2" style="padding:0.5em;" | [[{{{image|Image:Placeholder person.png}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}''
 
| colspan="2" style="padding:0.5em;" | [[{{{image|Image:Placeholder person.png}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}''
 
|-
 
|-
 
{{#if:{{{voiced by|}}}|
| <center>'''Voiced by'''</center>
 
  +
{{!}}style="text-align:center"{{!}}'''Voiced by'''
| {{{voiced by}}}
 
{{#if:{{{voiced by|}}}|<nowiki />}}
+
{{!}}{{{voiced by}}}
|-
 
 
{{!}}-
 
{{!}}-
  +
}}
| <center>'''Race'''</center>
 
  +
| {{{race}}}
 
{{#if:{{{race|}}}|<nowiki />}}
+
{{#if:{{{race|}}}|
  +
{{!}}style="text-align:center"{{!}}'''Race'''
|-
 
 
{{!}}{{{race}}}
 
{{!}}-
 
{{!}}-
  +
}}
| <center>'''Faction'''</center>
 
  +
| {{{faction}}}
 
{{#if:{{{faction|}}}|<nowiki />}}
+
{{#if:{{{faction|}}}|
  +
{{!}}style="text-align:center"{{!}}'''Faction'''
|-
 
 
{{!}}{{{faction}}}
 
{{!}}-
 
{{!}}-
  +
}}
| <center>'''Theme'''</center>
 
  +
| {{{theme}}}
 
{{#if:{{{theme|}}}|<nowiki />}}
+
{{#if:{{{theme|}}}|
  +
{{!}}style="text-align:center"{{!}}'''Theme'''
|-
 
 
{{!}}{{{theme}}}
 
{{!}}-
 
{{!}}-
  +
}}
| <center>'''Appearances'''</center>
 
  +
| {{{appearances}}}
 
{{#if:{{{appearances|}}}|<nowiki />}}
+
{{#if:{{{appearances|}}}|
  +
{{!}}style="text-align:center"{{!}}'''Appearances'''
 
{{!}}{{{appearances}}}
 
{{!}}-
 
{{!}}-
  +
}}
 
|}<noinclude><br style="clear:both;" />
 
|}<noinclude><br style="clear:both;" />
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Revision as of 06:19, 11 May 2012

Infobox character
Placeholder person


Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is used to create a character infobox.
Syntax
Type {{infobox character|<...>}} somewhere, with parameters as shown below.
Sample output
{{infobox character
| name       = Bob [defaults to pagename]
| image      = Image:Example.jpg
| imagewidth = [defaults to 250]
| caption    = Bob the Flower
| title      = The Flower
| gender     = Male
| race       = Flowerkind
| faction    = Flora
| health     = 9001
| level      = 5
| status     = Flowering
| location   = The Garden
}}

Results in...

Bob
Example
Bob the Flower
Race Flowerkind
Faction Flora