Template:Infobox character: Difference between revisions

No edit summary
(trying to fix minor error)
Line 42: Line 42:
!style="text-align:right;"{{pipe}}Home:
!style="text-align:right;"{{pipe}}Home:
{{pipe}}{{{home|}}}|}}
{{pipe}}{{{home|}}}|}}
{{#if: {{{nationality|}}}|
{{#if: {{{nationality|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Nationality:{{pipe}}{{{nationality|}}}|}}
{{pipe}}-
{{#if: {{{parents|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Parents:{{pipe}}{{{parents|}}}|}}
!style="text-align:right;"{{pipe}}Nationality:
{{#if: {{{siblings|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Sibling(s):{{pipe}}{{{siblings|}}}|}}
{{pipe}}{{{nationality|}}}|}}
{{#if: {{{sig|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Significant Other(s):{{pipe}}{{{sig}}}|}}
{{#if: {{{parents|}}}|
{{#if: {{{children|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Child(ren):{{pipe}}{{{children|}}}|}}
{{pipe}}-
{{#if: {{{other|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Other family:{{pipe}}{{{other|}}}|}}
!style="text-align:right;"{{pipe}}Parents:
{{#if: {{{affiliations|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Affiliations:{{pipe}}{{{affiliations|}}}|}}
{{pipe}}{{{parents|}}}|}}
{{#if: {{{cars|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Cars:{{pipe}}{{{cars|}}}|}}
{{#if: {{{siblings|}}}|
{{#if: {{{businesses|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Businesses:{{pipe}}{{{businesses|}}}|}}
{{pipe}}-
{{#if: {{{voice|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Voiced By:{{pipe}}{{{voice|}}}|}}
!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 the fake infobox shown on the right:
The following code produces an example infobox shown on the right:
<pre>{{infobox character|
<pre>{{infobox character|
|image =
|image =  
|games =  
|games =  
|name =  
|name =  
Line 108: Line 78:
}}</pre>
}}</pre>
[[category:infoboxes]]
[[category:infoboxes]]
[[Category:Templates|{{PAGENAME}}]]</noinclude>
[[Category:Templates|{{PAGENAME}}]]
<includeonly>[[Category:Characters| ]]</includeonly>
[[Category:Characters]]</noinclude>

Revision as of 05:50, 2 April 2009

CHARACTER
Infobox character











The following code produces an example 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 =
}}