Template:People: Difference between revisions

From Mallala
Nowandth (talk | contribs)
m Protected "Template:People" ([edit=sysop] (indefinite) [move=sysop] (indefinite))
WikiWorks (talk | contribs)
No edit summary
Line 18: Line 18:
</noinclude>
</noinclude>
<includeonly>{| class="fastfacts" border="0" cellspacing="2" cellpadding="2" width="240"
<includeonly>{| class="fastfacts" border="0" cellspacing="2" cellpadding="2" width="240"
|-
|+ '''Fast Facts'''
| '''Fast Facts'''
{{#if: {{{AltName|}}} |
{{!}}-
{{!}} Also known as
{{!}} {{#arraymap:{{{Also known as|}}}|,|x|[[AltName::x]]}}}}
{{#if: {{{Type of person|}}} |
{{#if: {{{Type of person|}}} |
{{!}}-
{{!}}-
{{!}} Type of person
{{!}} Type of person
{{!}} [[PeopleSubCategory::{{{Type of person|}}}]]}}  
{{!}} [[PeopleSubCategory::{{{Type of person|}}}]]}}  
{{#if: {{{Date of birth|}}} |
{{#if: {{{AltName|}}} |
{{!}}-
{{!}}-
{{!}} Date of birth
{{!}} Also known as
{{!}} [[DateofBirth::{{{Date of birth|}}}]]}}  
{{!}} {{#arraymap:{{{Also known as|}}}|,|x|[[AltName::x]]}}}}  
{{#if: {{{Place of birth|}}} |
{{#if: {{{Place of birth|}}} |
{{!}}-
{{!}}-
Line 39: Line 34:
{{!}}-
{{!}}-
{{!}} Date of arrival
{{!}} Date of arrival
{{!}} [[DateStart::{{{Date of arrival|}}}]]}}  
{{!}} {{#set:Date approximate={{{Date approximate2}}}}}{{#ifeq:{{{Date approximate2|}}}|Yes|c.&nbsp;}}[[DateStart::{{{Date of arrival|}}}]]}}  
{{#if: {{{Principal occupation|}}} |
{{#if: {{{Principal occupation|}}} |
{{!}}-
{{!}}-
Line 47: Line 42:
{{!}}-
{{!}}-
{{!}} Date of departure
{{!}} Date of departure
{{!}} [[DateEnd::{{{Date of departure|}}}]]}}  
{{!}} {{#set:Date approximate={{{Date approximate3}}}}}{{#ifeq:{{{Date approximate3|}}}|Yes|c.&nbsp;}}[[DateEnd::{{{Date of departure|}}}]]}}  
{{#if: {{{Date of death|}}} |
{{#if: {{{Date of death|}}} |
{{!}}-
{{!}}-
{{!}} Date of death
{{!}} Date of death
{{!}} [[DateofDeath::{{{Date of death|}}}]]}}  
{{!}} {{#set:Date approximate={{{Date approximate4}}}}}{{#ifeq:{{{Date approximate4|}}}|Yes|c.&nbsp;}}[[DateofDeath::{{{Date of death|}}}]]}}  
{{#if: {{{Place of decease|}}} |
{{#if: {{{Place of decease|}}} |
{{!}}-
{{!}}-
Line 58: Line 53:
|}
|}


[[Category:People]]
[[Category:People]]<big>
</includeonly>
</includeonly>

Revision as of 13:54, 7 February 2012

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.