Difference between revisions of "Template:Person"

From Wikispooks
Jump to navigation Jump to search
m (Protected "Template:Person": High load on the jobs queue ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading])
(extra params)
Line 44: Line 44:
 
''For politicians:''
 
''For politicians:''
 
|{{GREEN|political_parties}} = List of political parties
 
|{{GREEN|political_parties}} = List of political parties
 +
|{{GREEN|criminal_charges}} = List of criminal charges
 +
|{{GREEN|criminal_convictions}} = List of criminal convictions
 +
|criminal_penalty = Criminal penalty
 +
|criminal_status = Whether at large, in jail, etc.
 
<!--
 
<!--
 
|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 53: Line 57:
 
|{{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, |citizenship, |other_names, |education, |occupation , |years active, |employer ,|nationality, |organization, |known for, |notable works, |influences, |title, |term, |predecessor, |successor, |movement, |boards, |criminal charge, |criminal penalty, |criminal status, |partner, |awards </small>
+
|body discovered, |resting place, |residence, |citizenship, |other_names, |education, |occupation , |years active, |employer ,|nationality, |organization, |known for, |notable works, |influences, |title, |term, |predecessor, |successor, |movement, |boards, |partner, |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 76: Line 80:
 
| spouse                    = {{{spouses|}}}
 
| spouse                    = {{{spouses|}}}
 
| political_parties        = {{{political_parties|}}}
 
| political_parties        = {{{political_parties|}}}
 +
| criminal_convictions      = {{{criminal_convictions|}}}
 
<!-- Below also set SMWData -->
 
<!-- Below also set SMWData -->
 
| description              = [[Description::{{{description|}}}]]
 
| description              = [[Description::{{{description|}}}]]
Line 139: Line 144:
 
| religion                  = {{{religion|}}}
 
| religion                  = {{{religion|}}}
 
| denomination              = {{{denomination|}}}
 
| denomination              = {{{denomination|}}}
| criminal_charge          = {{{criminal_charge|}}}
+
| criminal_charge          = {{{criminal_charges|}}}
 
| criminal_penalty          = {{{criminal_penalty|}}}
 
| criminal_penalty          = {{{criminal_penalty|}}}
 
| criminal_status          = {{{criminal_status|}}}
 
| criminal_status          = {{{criminal_status|}}}

Revision as of 10:59, 19 June 2015

SMWObjects
Semantic Object Templates:        DecadePlaceTimelineYearDisambiguation
ConceptDocumentEmploymentEventGroupPersonPublicationWebsite

This template is for Wikispooks pages about people.

It should be the first item on the page. To state membership of an organisation, first make a page for that group (using template:group) and add the persons name using the

Blue parameters are for a single Wikispooks page name (If no suitable page exists, then pick a title for a future page)
Brown parameters are for numbers
Green parameters are for comma-separated lists of page names (Or planned page names).
Navy parameters are for dates
Orange parameters are for booleans. (Usually, either "Yes" or just leave blank).
Purple parameters are URLs.
Violet parameters are slash-separated lists.
Pink parameters are for coordinates.
Crossed out parameters were formerly available, but have been upgraded. Some may still work, but do not use these.

See person for a list of pages that use this 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
|parents = List of parents
|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
|criminal_charges = List of criminal charges
|criminal_convictions = List of criminal convictions
|criminal_penalty = Criminal penalty
|criminal_status = Whether at large, in jail, etc.

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, |movement, |boards, |partner, |awards
}}