Template:Infobox character: Difference between revisions

(trying to fix minor error)
mNo edit summary
Line 22: Line 22:
{{pipe}}{{{aka|}}}|}}
{{pipe}}{{{aka|}}}|}}
{{#if: {{{gender|}}}|
{{#if: {{{gender|}}}|
{{pipe}}-
{{pipe}}-!style="text-align:right;"{{pipe}}Gender:{{pipe}}{{#if: {{#ifeq: {{{gender|}}}|M|M}}|Male|{{#if: {{#ifeq: {{{gender|}}}|F|F}}|Female}}|}}}}
!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 47: Line 44:
{{#if: {{{sig|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Significant Other(s):{{pipe}}{{{sig}}}|}}
{{#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: {{{children|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Child(ren):{{pipe}}{{{children|}}}|}}
{{#if: {{{other|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Other family:{{pipe}}{{{other|}}}|}}
{{#if: {{{other|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Other family:{{pipe}}{{{other}}}|}}
{{#if: {{{affiliations|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Affiliations:{{pipe}}{{{affiliations|}}}|}}
{{#if: {{{affiliations|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Affiliations:{{pipe}}{{{affiliations|}}}|}}
{{#if: {{{cars|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Cars:{{pipe}}{{{cars|}}}|}}
{{#if: {{{cars|}}}|{{pipe}}-!style="text-align:right;"{{pipe}}Cars:{{pipe}}{{{cars|}}}|}}

Revision as of 05:54, 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 =
}}