Template:Person: Difference between revisions
Jump to navigation
Jump to search
Create person infobox template for ancestor profiles (via create-page on MediaWiki MCP Server) |
Rewrite infobox using core MediaWiki only (no ParserFunctions dependency) (via update-page on MediaWiki MCP Server) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{| class="infobox" style="float:right; clear:right; width:22em; margin:0 0 1em 1em; border:1px solid #a2a9b1; background:#f8f9fa; font-size:88%; line-height:1.4;" | <includeonly>{| class="infobox" style="float:right; clear:right; width:22em; margin:0 0 1em 1em; border:1px solid #a2a9b1; background:#f8f9fa; font-size:88%; line-height:1.4; border-collapse:collapse;" | ||
|- | |- | ||
! colspan="2" style="background:#e8e8e8; font-size:120%; padding:0.4em;" | ! colspan="2" style="background:#e8e8e8; font-size:120%; padding:0.4em;" | {{{name|{{PAGENAME}}}}} | ||
{{ | |- | ||
{{ | ! scope="row" style="width:40%; padding:0.3em; text-align:left;" | Born | ||
}} | | style="padding:0.3em;" | {{{birth_date|}}} {{{birth_place|}}} | ||
|- | |||
! scope="row" style="padding:0.3em; text-align:left;" | Died | |||
| style="padding:0.3em;" | {{{death_date|}}} {{{death_place|}}} | |||
|- | |||
! scope="row" style="padding:0.3em; text-align:left;" | Buried | |||
| style="padding:0.3em;" | {{{resting_place|}}} | |||
|- | |||
! scope="row" style="padding:0.3em; text-align:left;" | Spouse(s) | |||
| style="padding:0.3em;" | {{{spouse|}}} | |||
|- | |||
! scope="row" style="padding:0.3em; text-align:left;" | Parents | |||
| style="padding:0.3em;" | {{{parents|}}} | |||
|- | |||
! scope="row" style="padding:0.3em; text-align:left;" | Children | |||
| style="padding:0.3em;" | {{{children|}}} | |||
|- | |- | ||
! scope="row" style=" | ! scope="row" style="padding:0.3em; text-align:left;" | Occupation | ||
| style="padding:0.3em;" | {{{occupation|}}} | |||
|- | |- | ||
! scope="row" style="padding:0.3em; | ! scope="row" style="padding:0.3em; text-align:left;" | Known for | ||
| style="padding:0.3em;" | {{{known_for|}}} | |||
}} | |||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
== Usage == | == Usage == | ||
| Line 42: | Line 33: | ||
{{Person | {{Person | ||
| name = | | name = | ||
| birth_date = | | birth_date = | ||
| birth_place = | | birth_place = | ||
| Line 57: | Line 46: | ||
</pre> | </pre> | ||
Leave any field empty to show a blank cell. Add a portrait separately on the page, e.g. <code><nowiki>[[File:portrait.jpg|thumb|Caption]]</nowiki></code>. | |||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 06:53, 27 August 2026
Usage
Add to a person page (deceased individuals only):
{{Person
| name =
| birth_date =
| birth_place =
| death_date =
| death_place =
| resting_place =
| spouse =
| parents =
| children =
| occupation =
| known_for =
}}
Leave any field empty to show a blank cell. Add a portrait separately on the page, e.g. [[File:portrait.jpg|thumb|Caption]].