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
Initial template setup
ย 
Simplified template - no extensions required
ย 
Line 8: Line 8:
| nameย  ย  ย  ย  = ย 
| nameย  ย  ย  ย  = ย 
| imageย  ย  ย  = ย 
| imageย  ย  ย  = ย 
| captionย  ย  =
| birth_dateย  = ย 
| birth_dateย  = ย 
| birth_place = ย 
| birth_place = ย 
Line 21: Line 20:
}}
}}
</pre>
</pre>
All fields are optional.
Fill in any fields you know. Leave blank any you don't.
ย 
After the template, add a category at the bottom of the page:
* <code><nowiki>[[Category:Living Members]]</nowiki></code>
* <code><nowiki>[[Category:Ancestors]]</nowiki></code>
ย 
[[Category:Templates]]
[[Category:Templates]]
</noinclude><includeonly>{| class="infobox" style="float:right; clear:right; margin:0 0 1em 1.5em; padding:0.5em; border:1px solid #aaa; background:#f9f9f9; font-size:90%; line-height:1.5em; 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>
! colspan="2" style="background:#2c5f8a; color:white; padding:0.4em; font-size:115%; text-align:center;" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
<tr><td style="font-weight:bold;">Born</td><td>{{{birth_date|}}} {{{birth_place|}}}</td></tr>
{{#if:{{{image|}}}|
<tr><td style="font-weight:bold;">Died</td><td>{{{death_date|}}} {{{death_place|}}}</td></tr>
|-
<tr><td style="font-weight:bold;">Nickname</td><td>{{{nickname|}}}</td></tr>
| colspan="2" style="text-align:center; padding:0.5em;" | [[File:{{{image}}}|250px|{{#if:{{{caption|}}}|{{{caption}}}|}}]]
<tr><td style="font-weight:bold;">Spouse(s)</td><td>{{{spouse|}}}</td></tr>
{{#if:{{{caption|}}}|
<tr><td style="font-weight:bold;">Parents</td><td>{{{parents|}}}</td></tr>
|-
<tr><td style="font-weight:bold;">Siblings</td><td>{{{siblings|}}}</td></tr>
| colspan="2" style="text-align:center; font-style:italic; font-size:90%;" | {{{caption}}}}}}}
<tr><td style="font-weight:bold;">Children</td><td>{{{children|}}}</td></tr>
{{#if:{{{nickname|}}}|
<tr><td style="font-weight:bold;">Occupation</td><td>{{{occupation|}}}</td></tr>
|-
</table></includeonly>
| style="padding:0.2em 0.5em; font-weight:bold;" | Nickname
| style="padding:0.2em 0.5em;" | {{{nickname}}}}}
{{#if:{{{birth_date|}}}|
|-
| style="padding:0.2em 0.5em; font-weight:bold;" | Born
| style="padding:0.2em 0.5em;" | {{{birth_date}}}{{#if:{{{birth_place|}}}|<br/>{{{birth_place}}}}}}}
{{#if:{{{death_date|}}}|
|-
| style="padding:0.2em 0.5em; font-weight:bold;" | Died
| style="padding:0.2em 0.5em;" | {{{death_date}}}{{#if:{{{death_place|}}}|<br/>{{{death_place}}}}}}}
{{#if:{{{spouse|}}}|
|-
| style="padding:0.2em 0.5em; font-weight:bold;" | Spouse(s)
| style="padding:0.2em 0.5em;" | {{{spouse}}}}}
{{#if:{{{parents|}}}|
|-
| style="padding:0.2em 0.5em; font-weight:bold;" | Parents
| style="padding:0.2em 0.5em;" | {{{parents}}}}}
{{#if:{{{siblings|}}}|
|-
| style="padding:0.2em 0.5em; font-weight:bold;" | Siblings
| style="padding:0.2em 0.5em;" | {{{siblings}}}}}
{{#if:{{{children|}}}|
|-
| style="padding:0.2em 0.5em; font-weight:bold;" | Children
| style="padding:0.2em 0.5em;" | {{{children}}}}}
{{#if:{{{occupation|}}}|
|-
| style="padding:0.2em 0.5em; font-weight:bold;" | Occupation
| style="padding:0.2em 0.5em;" | {{{occupation}}}}}
|}</includeonly>

Latest revision as of 18:04, 23 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]]