Difference between revisions of "Template:Person"

From Wikispooks
Jump to navigation Jump to search
(Switch to ArrayMapPropertyBulletedListLink‎)
(Extra ON_ params)
Line 26: Line 26:
 
|birth_place= birth location
 
|birth_place= birth location
 
|death_date= Date of death ''([[Property:Died on]])''
 
|death_date= Date of death ''([[Property:Died on]])''
 +
|death_cause = death cause
 
|death_place = death location
 
|death_place = death location
 +
|ON_birth_date= Date of birth ''([[Property:ON_born on]])''
 +
|ON_death_date= Date of death ''([[Property:ON_died on]])''
 +
|ON_death_cause = death cause
 +
|ON_death_place = death location
 
|{{BROWN|employment}}=List of jobs the person has/had - Makes subobjects, see [[template:job]] for details -  ''([[Property:has employer]])''
 
|{{BROWN|employment}}=List of jobs the person has/had - Makes subobjects, see [[template:job]] for details -  ''([[Property:has employer]])''
 
|box_width= To modify the box width<!--
 
|box_width= To modify the box width<!--
Line 37: Line 42:
 
|death date  = <nowiki>{{Death date and age|YYYY|MM|DD}}</nowiki> (incompatible format)<br/>
 
|death date  = <nowiki>{{Death date and age|YYYY|MM|DD}}</nowiki> (incompatible format)<br/>
 
-->
 
-->
|death cause, |body discovered, |resting place, |residence, |nationality, |citizenship, |other names, |education, |alma mater, |occupation , |years active, |employer , |organization, |known for, |notable works, |influences, |title, |term, |predecessor, |successor, |party, |movement, |boards, |religion, |criminal charge, |criminal penalty, |criminal status, |spouse, |partner, |children, |parents, |relatives, |awards </small>
+
|body discovered, |resting place, |residence, |nationality, |citizenship, |other names, |education, |alma mater, |occupation , |years active, |employer , |organization, |known for, |notable works, |influences, |title, |term, |predecessor, |successor, |party, |movement, |boards, |religion, |criminal charge, |criminal penalty, |criminal status, |spouse, |partner, |children, |parents, |relatives, |awards </small>
 
}}
 
}}
 
</poem></noinclude><includeonly>{{WikiSpooks:Site Status}}<!-- Set the SMW data
 
</poem></noinclude><includeonly>{{WikiSpooks:Site Status}}<!-- Set the SMW data
-->[[Has objectClass::Person| ]]{{ArrayMapProperty|{{{constitutes|}}}|Constitutes}}{{ArrayMapProperty|{{{ON_constitutes|}}}|ON_constitutes}}{{#if: {{{image|}}}|[[Has image::File:{{{image|}}}| ]]}}{{ArrayMapProperty|{{{inspired|}}}|Inspired}}{{SMWDefaultMarkup}}[[Born on::{{{birth_date|}}}| ]][[Died on::{{{death_date|}}}| ]][[Has website::{{{website|}}}| ]][[Has facebook::{{{facebook|}}}| ]][[Has twitter::{{{twitter|}}}| ]][[Has wikipediaPage::{{{wikipedia|}}}| ]]{{infobox person
+
-->[[Has objectClass::Person| ]]{{ArrayMapProperty|{{{constitutes|}}}|Constitutes}}{{ArrayMapProperty|{{{ON_constitutes|}}}|ON_constitutes}}{{#if: {{{image|}}}|[[Has image::File:{{{image|}}}| ]]}}{{ArrayMapProperty|{{{inspired|}}}|Inspired}}{{SMWDefaultMarkup}}{{ONPropertyPair|born on|{{{birth_date|}}}|{{{ON_birth_date|}}}}}{{ONPropertyPair|died on|{{{death_date|}}}|{{{ON_death_date|}}}}}[[Has website::{{{website|}}}| ]][[Has facebook::{{{facebook|}}}| ]][[Has twitter::{{{twitter|}}}| ]][[Has wikipediaPage::{{{wikipedia|}}}| ]]{{infobox person
 
<!-- WikiSpooks specific parameters-->
 
<!-- WikiSpooks specific parameters-->
 
| exposed                  = {{ArrayMapPropertyBulletedListLink‎|{{{exposed|}}}|Exposed}}
 
| exposed                  = {{ArrayMapPropertyBulletedListLink‎|{{{exposed|}}}|Exposed}}
Line 74: Line 79:
 
| birth_name                = {{{birth_name|}}}
 
| birth_name                = {{{birth_name|}}}
 
| birth_date                = {{{birth_date|}}}
 
| birth_date                = {{{birth_date|}}}
 +
| ON_birth_date            = {{{ON_birth_date|}}}
 
| baptism_date              = {{{baptism_date|}}}
 
| baptism_date              = {{{baptism_date|}}}
 
| birth_place              = {{{birth_place|}}}
 
| birth_place              = {{{birth_place|}}}
Line 82: Line 88:
 
| death_place              = {{{death_place|}}}
 
| death_place              = {{{death_place|}}}
 
| death_cause              = {{{death_cause|}}}
 
| death_cause              = {{{death_cause|}}}
 +
| ON_death_date            = {{{ON_death_date|}}}
 +
| ON_death_place            = {{{ON_death_place|}}}
 +
| ON_death_cause            = {{{ON_death_cause|}}}
 
| body_discovered          = {{{body_discovered|}}}
 
| body_discovered          = {{{body_discovered|}}}
 
| resting_place            = {{{resting_place|}}}
 
| resting_place            = {{{resting_place|}}}

Revision as of 18:38, 17 August 2014

Template:Template Usage: All sections are optional.

{{person
|image=Address of an image (Property:Has image)
|image_caption=Caption for the image
|alt=Alt text for the image
|description= <500 character summary, (Property:Description)
|website = URL of the person's homepage, (Property:Has website)
|facebook = URL of the person's facebook page (Property:Has facebook)
|twitter = Handle of the person's twitter (no '@') (Property:Has twitter)
|wikipedia = URL of the person's Wikipedia page (Property:Has wikipediaPage)
|constitutes = What the person constitutes (Property:Constitutes)
|ON_constitutes = What the person ON constitutes (Property:ON_constitutes)
|exposed = Pagename(s) of what this person exposed (Whistleblowers only) (Property:Exposed)
|inspired = Pagename(s) of people this person inspired (Property:Inspired)
|interests= Area(s) of interest (Property:Has interest)
|aspects= other angles on the person [displayed sub-pages] (Property:Has aspect)
|victim_of= Pagenames of what this person has been a victim of (Property:Victim of)
|birth_date= Date of birth (Property:Born on)
|birth_place= birth location
|death_date= Date of death (Property:Died on)
|death_cause = death cause
|death_place = death location
|ON_birth_date= Date of birth (Property:ON_born on)
|ON_death_date= Date of death (Property:ON_died on)
|ON_death_cause = death cause
|ON_death_place = death location
|employment=List of jobs the person has/had - Makes subobjects, see template:job for details - (Property:has employer)
|box_width= To modify the box width
Others from the wikipedia-derived template
|body discovered, |resting place, |residence, |nationality, |citizenship, |other names, |education, |alma mater, |occupation , |years active, |employer , |organization, |known for, |notable works, |influences, |title, |term, |predecessor, |successor, |party, |movement, |boards, |religion, |criminal charge, |criminal penalty, |criminal status, |spouse, |partner, |children, |parents, |relatives, |awards
}}