Template:Infobox character: Difference between revisions

From Commonwealth of Sovereign States
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="Infobox/styles.css" />
<templatestyles src="Infobox/styles.css" />


<includeonly>
{| class="wikitable infotable"
{| class="wikitable infotable"
! colspan="2" style="font-size: large;" | {{{name|{{PAGENAME}}}}}
! colspan="2" style="font-size: large;" | {{{name|{{PAGENAME}}}}}
Line 7: Line 8:
|- class="merged spansubtext" {{#if: {{{image|}}}||style="display: none"}}
|- class="merged spansubtext" {{#if: {{{image|}}}||style="display: none"}}
| colspan="2" style="font-size: small; padding-bottom: 2px;"  | {{{image_description|{{{name|{{PAGENAME}}}}}}}}
| colspan="2" style="font-size: small; padding-bottom: 2px;"  | {{{image_description|{{{name|{{PAGENAME}}}}}}}}
|- class="mergedtop"
{{Infobox personal
! class="label" | Born
|birth_info={{{birth_info|}}}
| class="data" | {{#invoke:String|replace|{{{birth_info}}}|,,|<br/>}}
|death_info={{{death_info|}}}
|- class="merged" {{#if: {{{death_info|}}}||style="display: none"}}
|resting_place={{{resting_place|}}}
! class="label" | Died
|education={{{education|}}}
| class="data" | {{#invoke:String|replace|{{{death_info}}}|,,|<br/>}}
|spouse_info={{{spouse_info|}}}
|- class="merged" {{#if: {{{resting_place|}}}||style="display: none"}}
|children={{{children|}}}
! class="label" | Resting place
|signature={{{signature|}}}
| class="data" | {{{resting_place}}}
|political_parties={{{political_parties|}}}
|- class="merged" {{#if: {{{education|}}}||style="display: none"}}
|nation={{{nation|}}}
! class="label" | Education
}}
| class="data" | {{#invoke:String|replace|{{{education}}}|,,|<br/>}}
|- class="merged" {{#if: {{{spouse_info|}}}||style="display: none"}}
! class="label" | Spouse
| class="data" | {{#invoke:String|replace|{{{spouse_info}}}|,|<br/>}}
|- class="merged" {{#if: {{{children|}}}||style="display: none"}}
! class="label" | Children
| class="data" | {{{children}}}
|- class="merged spansubtext" {{#if: {{{signature|}}}||style="display: none"}}
| colspan="2" style="font-size: small; font-weight: bold;"  | Signature
|- class="merged" {{#if: {{{signature|}}}||style="display: none"}}
! colspan="2" style="padding-bottom: 0;" | [[File:{{{signature}}}|256px]]
|}
|}
</includeonly>
<noinclude>
<noinclude>
<templatedata>
<templatedata>
Line 35: Line 26:
"params": {
"params": {
"name": {},
"name": {},
"image": {},
"image": {
"type": "wiki-file-name"
},
"image_description": {},
"image_description": {},
"birth_info": {},
"birth_info": {
"death_info": {},
"description": "Separate multiple lines using ,, (ex. \"31 December 1945,,New York City, United States\" will have a line break between 1945 and New, but not between City and United)"
},
"death_info": {
"description": "Separate multiple lines using ,,"
},
"resting_place": {},
"resting_place": {},
"education": {},
"education": {
"spouse_info": {},
"description": "Separate multiple lines using ,,"
"children": {},
},
"signature": {}
"spouse_info": {
"description": "Separate multiple lines using ,,"
},
"children": {
"description": "In keeping with Wikipedia style, this variable does not support multiple lines. Just put in a comma separated list (ex. \"George, Jeb, Neil, Marvin, Dorothy\")"
},
"signature": {
"type": "wiki-file-name"
},
"political_parties": {},
"nation": {}
}
}
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 01:39, 13 May 2025


No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
namename

no description

Unknownoptional
imageimage

no description

Fileoptional
image_descriptionimage_description

no description

Unknownoptional
birth_infobirth_info

Separate multiple lines using ,, (ex. "31 December 1945,,New York City, United States" will have a line break between 1945 and New, but not between City and United)

Unknownoptional
death_infodeath_info

Separate multiple lines using ,,

Unknownoptional
resting_placeresting_place

no description

Unknownoptional
educationeducation

Separate multiple lines using ,,

Unknownoptional
spouse_infospouse_info

Separate multiple lines using ,,

Unknownoptional
childrenchildren

In keeping with Wikipedia style, this variable does not support multiple lines. Just put in a comma separated list (ex. "George, Jeb, Neil, Marvin, Dorothy")

Unknownoptional
signaturesignature

no description

Fileoptional
political_partiespolitical_parties

no description

Unknownoptional
nationnation

no description

Unknownoptional