Template:Infobox person: Difference between revisions

From PZwiki
m (style update)
m (fix name_colour)
Line 1: Line 1:
<includeonly>{{Infobox|child={{{child|}}}
<includeonly>{{Infobox|child={{{child|}}}
|bodystyle  = width:350px; -moz-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; -webkit-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}};
|bodystyle  = width:350px; -moz-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; -webkit-box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; box-shadow: 0px 0px 2px 2px #{{Infobox nc|{{{name_colour|}}}}}; border: 1px solid #{{Infobox nc|{{{name_colour|}}}}};
| 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>
| above      = <div style="background: #{{Infobox nc|{{{name_colour|}}}}}; padding: 5px; font-weight: bold; text-align: center; font-size: 120%; color:#{{Infobox nc|{{{name_text_colour|}}}|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|}}}}}}}}}

Revision as of 06:06, 4 August 2019

[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)