Jump to content

Welcome to the Family Commonplace Wiki! 👋 — Create an account to start contributing, or see Help:Getting Started if you're new here.

Template:Infobox person: Difference between revisions

From Family Commonplace Wiki
Simplified template - no extensions required
Add image field with conditional display
 
Line 29: Line 29:
</noinclude><includeonly><table class="infobox wikitable" style="float:right;clear:right;margin:0 0 1em 1.5em;font-size:90%;width:22em;">
</noinclude><includeonly><table class="infobox wikitable" style="float:right;clear:right;margin:0 0 1em 1.5em;font-size:90%;width:22em;">
<tr style="background:#2c5f8a;color:white;"><th colspan="2" style="padding:0.5em;font-size:115%;text-align:center;">{{{name|{{PAGENAME}}}}}</th></tr>
<tr style="background:#2c5f8a;color:white;"><th colspan="2" style="padding:0.5em;font-size:115%;text-align:center;">{{{name|{{PAGENAME}}}}}</th></tr>
{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align:center;padding:6px 0;">[[File:{{{image|}}}|250px|{{{name|{{PAGENAME}}}}}]]</td></tr>|}}
<tr><td style="font-weight:bold;">Born</td><td>{{{birth_date|}}} {{{birth_place|}}}</td></tr>
<tr><td style="font-weight:bold;">Born</td><td>{{{birth_date|}}} {{{birth_place|}}}</td></tr>
<tr><td style="font-weight:bold;">Died</td><td>{{{death_date|}}} {{{death_place|}}}</td></tr>
<tr><td style="font-weight:bold;">Died</td><td>{{{death_date|}}} {{{death_place|}}}</td></tr>

Latest revision as of 13:22, 24 May 2026

Person Infobox

Use this template at the top of any page about a person in the family.

Usage

{{Infobox person
| name        = 
| image       = 
| birth_date  = 
| birth_place = 
| death_date  = 
| death_place = 
| spouse      = 
| parents     = 
| children    = 
| siblings    = 
| nickname    = 
| occupation  = 
}}

Fill in any fields you know. Leave blank any you don't.

After the template, add a category at the bottom of the page:

  • [[Category:Living Members]]
  • [[Category:Ancestors]]