Template:Infobox person: Difference between revisions

From PZwiki
mNo edit summary
m (enclosed template in "noinclude" + added category)
Line 1: Line 1:
{{Infobox|child={{{child|}}}
<includeonly>{{Infobox|child={{{child|}}}
| bodyclass  = biography vcard
| bodyclass  = biography vcard
| bodystyle  = {{#if:{{{box_width|}}}|width:{{{box_width}}};}}
| bodystyle  = {{#if:{{{box_width|}}}|width:{{{box_width}}};}}
| above      = <div style="background: #{{Infobox nc|}}; padding: 5px; font-weight: bold; text-align: center; font-size: 120%; color:#{{Infobox nc||text}};">{{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific prefix|{{{honorific_prefix|}}}}}}</span><br />}}<includeonly><span class="fn">{{{name|{{PAGENAME}}}}}</span></includeonly>{{#if:{{{honorific suffix|{{{honorific_suffix|}}}}}}|<br /><span class="honorific-suffix" style="font-size: small">{{{honorific suffix|{{{honorific_suffix|}}}}}}</span>}}</div>
| above      = <div style="background: #{{Infobox nc|}}; padding: 5px; font-weight: bold; text-align: center; font-size: 120%; color:#{{Infobox nc||text}};">{{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific prefix|{{{honorific_prefix|}}}}}}</span><br />}}<span class="fn">{{{name|{{PAGENAME}}}}}</span>{{#if:{{{honorific suffix|{{{honorific_suffix|}}}}}}|<br /><span class="honorific-suffix" style="font-size: small">{{{honorific suffix|{{{honorific_suffix|}}}}}}</span>}}</div>
| image      = {{#if:{{{image|}}}|[[File:{{{image}}}|{{px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|frameless}}|alt={{{alt|}}}]]}}
| image      = {{#if:{{{image|}}}|[[File:{{{image}}}|{{px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|frameless}}|alt={{{alt|}}}]]}}
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
Line 146: Line 146:
| belowstyle = border-top:1px solid #aaaaaa; text-align:left
| belowstyle = border-top:1px solid #aaaaaa; text-align:left


}}
}}</includeonly>
<noinclude>{{documentation}}</noinclude>
<noinclude>{{documentation}}[[Category:Infobox]]</noinclude>

Revision as of 19:09, 20 July 2018

[view] [edit] [history] [purge] Template documentation
An infobox for people that have had some involvement with the game (not to be used for in-game characters).

Example

name

image_caption
Native name native_name
Born Template:Br separated entries
Status disappeared_status
Died Template:Br separated entries
Resting place Template:Br separated entries
Residence residence
Nationality nationality
Other names other_names
Ethnicity ethnicity
Citizenship citizenship
Education education
Alma mater alma_mater
Occupation occupation
Years active years_active
Known for known_for
Children children
Awards awards
Website website
Notes
footnotes


{{Infobox_person
|name=name
|image=Image.png
|image_caption=image_caption
|native_name=native_name
|native_name_lang=native_name_lang
|birth_name=birth_name
|birth_date=birth_date
|birth_place=birth_place
|disappeared_status=disappeared_status
|residence=residence
|nationality=nationality
|other_names=other_names
|ethnicity=ethnicity
|citizenship=citizenship
|education=education
|alma_mater=alma_mater
|occupation=occupation
|years_active=years_active
|known_for=known_for
|children=children
|awards=awards
|website=website
|homepage=homepage
|URL=URL
|footnotes=footnotes
}}
Documentation transcluded from Template:Infobox person/doc.
Editors can experiment in this template's sandbox (create)