Template:People: Difference between revisions

From Mallala
Nowandth (talk | contribs)
No edit summary
Marcus (talk | contribs)
m reinstalled date of birth Fast Fact
 
(7 intermediate revisions by 2 users not shown)
Line 16: Line 16:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude>
{| 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;"
<includeonly>{| class="fastfacts" border="0" cellspacing="2" cellpadding="2" width="240"
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
|+ '''Fast Facts'''
|-
{{#if: {{{Type of person|}}} |
! Also known as
{{!}}-
| {{#arraymap:{{{Also known as|}}}|,|x|[[AltName::x]]}}
{{!}} Type of person
|-
{{!}} [[PeopleSubCategory::{{{Type of person|}}}]]}}  
! Type of person
{{#if: {{{AltName|}}} |
| [[PeopleSubCategory::{{{Type of person|}}}]]
{{!}}-
|-
{{!}} Also known as
! Date of birth
{{!}} {{#arraymap:{{{Also known as|}}}|,|x|[[AltName::x]]}}}}  
| [[DateofBirth::{{{Date of birth|}}}]]
{{#if: {{{Date of birth|}}} |
|-
{{!}}-
! Place of birth
{{!}} Date of birth
| [[LocationBirth::{{{Place of birth|}}}]]
{{!}} {{#set:Date approximate={{{Date approximate}}}}}{{#ifeq:{{{Date approximate|}}}|Yes|c.&nbsp;}}[[DateofBirth::{{{Date of birth|}}}]]}}
|-
{{#if: {{{Place of birth|}}} |
! Date of arrival
{{!}}-
| [[DateStart::{{{Date of arrival|}}}]]
{{!}} Place of birth
|-
{{!}} [[LocationBirth::{{{Place of birth|}}}]]}}
! Principal occupation
{{#if: {{{Date of arrival|}}} |
| [[PeopleActivity::{{{Principal occupation|}}}]]
{{!}}-
|-
{{!}} Date of arrival
! Date of departure
{{!}} {{#set:Date approximate={{{Date approximate2}}}}}{{#ifeq:{{{Date approximate2|}}}|Yes|c.&nbsp;}}[[DateStart::{{{Date of arrival|}}}]]}}
| [[DateEnd::{{{Date of departure|}}}]]
{{#if: {{{Principal occupation|}}} |
|-
{{!}}-
! Date of death
{{!}} Principal occupation
| [[DateofDeath::{{{Date of death|}}}]]
{{!}} [[PeopleActivity::{{{Principal occupation|}}}]]}}
|-
{{#if: {{{Date of departure|}}} |
! Place of decease
{{!}}-
| [[LocationDeath::{{{Place of decease|}}}]]
{{!}} Date of departure
{{!}} {{#set:Date approximate={{{Date approximate3}}}}}{{#ifeq:{{{Date approximate3|}}}|Yes|c.&nbsp;}}[[DateEnd::{{{Date of departure|}}}]]}}
{{#if: {{{Date of death|}}} |
{{!}}-
{{!}} Date of death
{{!}} {{#set:Date approximate={{{Date approximate4}}}}}{{#ifeq:{{{Date approximate4|}}}|Yes|c.&nbsp;}}[[DateofDeath::{{{Date of death|}}}]]}}
{{#if: {{{Place of decease|}}} |
{{!}}-
{{!}} Place of decease
{{!}} [[LocationDeath::{{{Place of decease|}}}]]}}
|}
|}
 
[[Category:People]]__NOEDITSECTION__<big>
[[Category:People]]
</includeonly>
</includeonly>

Latest revision as of 17:46, 10 July 2019

This is the 'People' template. It should be called in the following format:

{{People
|Also known as=
|Type of person=
|Date of birth=
|Place of birth=
|Date of arrival=
|Principal occupation=
|Date of departure=
|Date of death=
|Place of decease=
}}

Edit the page to see the template text.