Template:Infobox character: Difference between revisions

mNo edit summary
m (Reverted edits by Spaceeinstein (talk) to last version by A-Dust)
Line 22: Line 22:
{{pipe}}{{{aka|}}}|}}
{{pipe}}{{{aka|}}}|}}
{{#if: {{{gender|}}}|
{{#if: {{{gender|}}}|
{{pipe}}-!style="text-align:right;"{{pipe}}Gender:{{pipe}}{{#if: {{#ifeq: {{{gender|}}}|M|M}}|Male|{{#if: {{#ifeq: {{{gender|}}}|F|F}}|Female}}|}}}}
{{pipe}}-
!style="text-align:right;"{{pipe}}Gender:
{{pipe}}
{{#if: {{#ifeq: {{{gender|}}}|M|M}}|Male|{{#if: {{#ifeq: {{{gender|}}}|F|F}}|Female}}|}}}}
{{#if: {{{dob|}}}|
{{#if: {{{dob|}}}|
{{pipe}}-
{{pipe}}-
Line 39: Line 42:
!style="text-align:right;"{{pipe}}Home:
!style="text-align:right;"{{pipe}}Home:
{{pipe}}{{{home|}}}|}}
{{pipe}}{{{home|}}}|}}
{{#if: {{{nationality|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Nationality:{{pipe}}{{{nationality|}}}|}}
{{#if: {{{nationality|}}}|
{{#if: {{{parents|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Parents:{{pipe}}{{{parents|}}}|}}
{{pipe}}-
{{#if: {{{siblings|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Sibling(s):{{pipe}}{{{siblings|}}}|}}
!style="text-align:right;"{{pipe}}Nationality:
{{#if: {{{sig|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Significant Other(s):{{pipe}}{{{sig}}}|}}
{{pipe}}{{{nationality|}}}|}}
{{#if: {{{children|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Child(ren):{{pipe}}{{{children|}}}|}}
{{#if: {{{parents|}}}|
{{#if: {{{other|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Other family:{{pipe}}{{{other}}}|}}
{{pipe}}-
{{#if: {{{affiliations|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Affiliations:{{pipe}}{{{affiliations|}}}|}}
!style="text-align:right;"{{pipe}}Parents:
{{#if: {{{cars|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Cars:{{pipe}}{{{cars|}}}|}}
{{pipe}}{{{parents|}}}|}}
{{#if: {{{businesses|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Businesses:{{pipe}}{{{businesses|}}}|}}
{{#if: {{{siblings|}}}|
{{#if: {{{voice|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Voiced By:{{pipe}}{{{voice|}}}|}}
{{pipe}}-
!style="text-align:right;"{{pipe}}Sibling(s):
{{pipe}}{{{siblings|}}}|}}
{{#if: {{{sig|}}}|
{{pipe}}-
!style="text-align:right;"{{pipe}}Significant Other(s):
{{pipe}}{{{sig}}}|}}
{{#if: {{{children}}}|
{{pipe}}-
!style="text-align:right;"{{pipe}}Child(ren):
{{pipe}}{{{children|}}}|}}
{{#if: {{{other|}}}|
{{pipe}}-
!style="text-align:right;"{{pipe}}Other family:
{{pipe}}{{{other}}}|}}
{{#if: {{{affiliations|}}}|
{{pipe}}-
!style="text-align:right;"{{pipe}}Affiliations:
{{pipe}}{{{affiliations|}}}|}}
{{#if: {{{cars|}}}|
{{pipe}}-
!style="text-align:right;"{{pipe}}Cars:
{{pipe}}{{{cars|}}}|}}
{{#if: {{{businesses|}}}|
{{pipe}}-
!style="text-align:right;"{{pipe}}Businesses:
{{pipe}}{{{businesses|}}}|}}
{{#if: {{{voice|}}}|
{{pipe}}-
!style="text-align:right;"{{pipe}}Voiced By:
{{pipe}}{{{voice|}}}|}}
|}[[Category:Characters]]</includeonly><noinclude>
|}[[Category:Characters]]</includeonly><noinclude>
{{infobox character|
{{infobox character|
}}
}}
The following code produces an example infobox shown on the right:
The following code produces the fake infobox shown on the right:
<pre>{{infobox character|
<pre>{{infobox character|
|image =  
|image =
|games =  
|games =  
|name =  
|name =  
Line 75: Line 108:
}}</pre>
}}</pre>
[[category:infoboxes]]
[[category:infoboxes]]
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]</noinclude>
[[Category:Characters]]</noinclude>
<includeonly>[[Category:Characters| ]]</includeonly>

Revision as of 05:55, 2 April 2009

CHARACTER
Infobox character








Child(ren):



The following code produces the fake infobox shown on the right:

{{infobox character|
|image =
|games = 
|name = 
|aka = 
|gender = 
|dob = 
|pob =
|dod =
|home = 
|nationality =
|parents =
|siblings =
|sig =
|children =
|other =
|affiliations = 
|cars = 
|businesses =
|voice =
}}