No edit summary |
(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| }}}'' |
||
|- |
|- |
||
⚫ | |||
− | | <center>'''Voiced by'''</center> |
||
+ | {{!}}style="text-align:center"{{!}}'''Voiced by''' |
||
⚫ | |||
− | {{ |
+ | {{!}}{{{voiced by}}} |
− | |- |
||
{{!}}- |
{{!}}- |
||
+ | }} |
||
− | | <center>'''Race'''</center> |
||
+ | |||
⚫ | |||
− | {{#if:{{{race|}}}| |
+ | {{#if:{{{race|}}}| |
+ | {{!}}style="text-align:center"{{!}}'''Race''' |
||
− | |- |
||
⚫ | |||
{{!}}- |
{{!}}- |
||
+ | }} |
||
− | | <center>'''Faction'''</center> |
||
+ | |||
⚫ | |||
− | {{#if:{{{faction|}}}| |
+ | {{#if:{{{faction|}}}| |
+ | {{!}}style="text-align:center"{{!}}'''Faction''' |
||
− | |- |
||
⚫ | |||
{{!}}- |
{{!}}- |
||
+ | }} |
||
− | | <center>'''Theme'''</center> |
||
+ | |||
⚫ | |||
− | {{#if:{{{theme|}}}| |
+ | {{#if:{{{theme|}}}| |
+ | {{!}}style="text-align:center"{{!}}'''Theme''' |
||
− | |- |
||
⚫ | |||
{{!}}- |
{{!}}- |
||
+ | }} |
||
− | | <center>'''Appearances'''</center> |
||
+ | |||
⚫ | |||
− | {{#if:{{{appearances|}}}| |
+ | {{#if:{{{appearances|}}}| |
+ | {{!}}style="text-align:center"{{!}}'''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 | |
---|---|
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 | |
---|---|
Bob the Flower | |
Race | Flowerkind |
Faction | Flora |
Visit Template:Infobox character/doc to edit this text! (How does this work?)