Template

Difference between revisions of "Person"

From Lacey Green History

 
(59 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "Person2" template.
+
This is the "Person" template.
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
{{Person2
+
{{Person
 
|Forename=
 
|Forename=
 
|Surname=
 
|Surname=
 
|Sex=
 
|Sex=
|Birth date=
+
|Year of Birth=
|Death date=
+
|Year of Death=
 
|Father=
 
|Father=
 
|Mother=
 
|Mother=
 +
|Partner=
 +
|PositionsHeld=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
+
</noinclude><includeonly>
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
+
[[Category:Person]]
|-
 
! Forename
 
| [[givenname::{{{Forename|}}}]]
 
|-
 
! Surname
 
| [[surname::{{{Surname|}}}]]
 
|-
 
! Sex
 
| [[sex::{{{Sex|}}}]]
 
|-
 
! Birth date
 
| [[birthdate::{{{Birth date|}}}]]
 
|-
 
! Death date
 
| [[deathdate::{{{Death date|}}}]]
 
|-
 
! Father
 
{{#if: {{{Father|}}} | * {{#genealogy:parent | {{{Father}}} }} }}
 
|-
 
! Mother
 
{{#if: {{{Mother|}}} | * {{#genealogy:parent | {{{Mother}}} }} }}
 
|-
 
! Children:
 
| {{#genealogy:children}}
 
|}
 
 
 
[[Category:Person2]]
 
 
</includeonly>
 
</includeonly>

Latest revision as of 12:52, 9 June 2023

This is the "Person" template. It should be called in the following format:

{{Person
|Forename=
|Surname=
|Sex=
|Year of Birth=
|Year of Death=
|Father=
|Mother=
|Partner=
|PositionsHeld=
}}

Edit the page to see the template text.