Difference between revisions of "Template:Person"
(|birth_name) |
(extra params) |
||
Line 34: | Line 34: | ||
|ON_death_cause = death cause | |ON_death_cause = death cause | ||
|ON_death_place = death location | |ON_death_place = death location | ||
+ | |{{GREEN|nationality}} = (List of) Nationalies | ||
+ | |{{GREEN|children}} = List of children | ||
+ | |{{GREEN|relatives}} = List of noteworthy relatives | ||
+ | |{{GREEN|spouses}}= present and former spouses | ||
|{{BLUE|religion}} = religious affiliation ''([[Property:Has religion]])'' | |{{BLUE|religion}} = religious affiliation ''([[Property:Has religion]])'' | ||
|{{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]])'' | ||
+ | |{{GREEN|alma_mater}} = List of alma mater institutions | ||
+ | ''For politicians:'' | ||
+ | |{{GREEN|political_parties}} = List of political parties | ||
<!-- | <!-- | ||
|authority= (See [http://en.wikipedia.org/wiki/Help:Authority_control Wikipedia on this]) {{RED|Not implemented as yet, and may never be}}--> | |authority= (See [http://en.wikipedia.org/wiki/Help:Authority_control Wikipedia on this]) {{RED|Not implemented as yet, and may never be}}--> | ||
Line 45: | Line 52: | ||
|{{NAVY|death_date}} = <nowiki>{{Death date and age|YYYY|MM|DD}}</nowiki> (incompatible format)<br/> | |{{NAVY|death_date}} = <nowiki>{{Death date and age|YYYY|MM|DD}}</nowiki> (incompatible format)<br/> | ||
--> | --> | ||
− | |body discovered, |resting place, |residence | + | |body discovered, |resting place, |residence, |citizenship, |other_names, |education, |occupation , |years active, |employer ,|nationality, |organization, |known for, |notable works, |influences, |title, |term, |predecessor, |successor, |party, |movement, |boards, |criminal charge, |criminal penalty, |criminal status, |partner, |parents, |awards </small> |
}} | }} | ||
</poem></noinclude><includeonly>{{SMWObjectHeader|Person}}{{ArrayMapProperty|{{{constitutes|}}}|Constitutes}}{{ArrayMapProperty|{{{ON_constitutes|}}}|ON_constitutes}}{{#if: {{{image|}}}|[[Has image::File:{{{image|}}}| ]][[Has image2::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|}}}| ]] [[Has religion::{{{religion|}}}| ]]{{infobox person | </poem></noinclude><includeonly>{{SMWObjectHeader|Person}}{{ArrayMapProperty|{{{constitutes|}}}|Constitutes}}{{ArrayMapProperty|{{{ON_constitutes|}}}|ON_constitutes}}{{#if: {{{image|}}}|[[Has image::File:{{{image|}}}| ]][[Has image2::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|}}}| ]] [[Has religion::{{{religion|}}}| ]]{{infobox person | ||
Line 66: | Line 73: | ||
| ON_perpetrator_of = {{#ask: [[ON has perpetrator::{{PAGENAME}}]] }} | | ON_perpetrator_of = {{#ask: [[ON has perpetrator::{{PAGENAME}}]] }} | ||
| ON_witnessed = {{#ask: [[Property:ON_has_witness::{{PAGENAME}}]] }} | | ON_witnessed = {{#ask: [[Property:ON_has_witness::{{PAGENAME}}]] }} | ||
+ | | spouse = {{{spouses|}}} | ||
+ | | political_parties = {{{political_parties|}}} | ||
<!-- Below also set SMWData --> | <!-- Below also set SMWData --> | ||
| description = [[Description::{{{description|}}}]] | | description = [[Description::{{{description|}}}]] | ||
Line 132: | Line 141: | ||
| criminal_penalty = {{{criminal_penalty|}}} | | criminal_penalty = {{{criminal_penalty|}}} | ||
| criminal_status = {{{criminal_status|}}} | | criminal_status = {{{criminal_status|}}} | ||
− | |||
| partner = {{{partner|}}} | | partner = {{{partner|}}} | ||
| children = {{{children|}}} | | children = {{{children|}}} |
Revision as of 16:36, 15 February 2015
Template:Template Usage: All sections are optional.
{{person
|image=Address of an image (Property:Has image)
|image_width= Width of the 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)
|wikipedia_protection = Set to 1 if the wikipedia page is edit protected, 0 or empty otherwise (Property:Has wikipediaProtection)
|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)
|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
|birth_name= birth name
|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
|nationality = (List of) Nationalies
|children = List of children
|relatives = List of noteworthy relatives
|spouses= present and former spouses
|religion = religious affiliation (Property:Has religion)
|employment=List of jobs the person has/had - Makes subobjects, see template:job for details - (Property:has employer)
|alma_mater = List of alma mater institutions
For politicians:
|political_parties = List of political parties
Others from the wikipedia-derived template
|body discovered, |resting place, |residence, |citizenship, |other_names, |education, |occupation , |years active, |employer ,|nationality, |organization, |known for, |notable works, |influences, |title, |term, |predecessor, |successor, |party, |movement, |boards, |criminal charge, |criminal penalty, |criminal status, |partner, |parents, |awards
}}