Difference between revisions of "Template:Person"

From Wikispooks
Jump to navigation Jump to search
Line 13: Line 13:
 
|alt=Alt text for the image
 
|alt=Alt text for the image
 
|description= <500 character summary, ''([[Property:Description]])''
 
|description= <500 character summary, ''([[Property:Description]])''
 +
|default_sort= How this name should be sorted (only needed in unusual cases - defaults to <nowiki>{{</nowiki>SECONDNAME, FIRST NAME<nowiki>}}</nowiki>
 
|{{PURPLE|website}}    = URL of the person's homepage, ''([[Property:Has website]])''
 
|{{PURPLE|website}}    = URL of the person's homepage, ''([[Property:Has website]])''
 
|{{PURPLE|facebook}}    = URL of the person's [[facebook]] page ''([[Property:Has facebook]])''
 
|{{PURPLE|facebook}}    = URL of the person's [[facebook]] page ''([[Property:Has facebook]])''
Line 33: Line 34:
 
|{{ORANGE|so_called}} = Set to "Yes" to illustrate concern about the name of this object ''([[Property:So called]])'' - For flagging up deceitful language such as the "[[War on Terror]]"
 
|{{ORANGE|so_called}} = Set to "Yes" to illustrate concern about the name of this object ''([[Property:So called]])'' - For flagging up deceitful language such as the "[[War on Terror]]"
 
|{{GREEN|victim_of}}= Pagenames of what this person has been a victim of ''([[Property:Victim of]])''
 
|{{GREEN|victim_of}}= Pagenames of what this person has been a victim of ''([[Property:Victim of]])''
|{{NAVY|birth_date}}= Date of birth ''([[Property:Born on]])'' - Assigns the person to category <nowiki>[[XXXX births]]</nowiki>
+
|{{NAVY|birth_date}}= Date of birth ''([[Property:Born on]])''
 
|birth_place= birth location
 
|birth_place= birth location
 
|birth_name= birth name
 
|birth_name= birth name
|{{NAVY|death_date}}= Date of death ''([[Property:Died on]])'' -  Assigns the person to category <nowiki>[[XXXX deaths]]</nowiki>
+
|{{NAVY|death_date}}= Date of death ''([[Property:Died on]])''
 
|death_cause = death cause
 
|death_cause = death cause
 
|death_place = death location
 
|death_place = death location
Line 42: Line 43:
 
|{{NAVY|disappeared_place}}= Place of disappearance
 
|{{NAVY|disappeared_place}}= Place of disappearance
 
|{{NAVY|disappeared_status}}= Status of disappearance
 
|{{NAVY|disappeared_status}}= Status of disappearance
|{{NAVY|ON_birth_date}}= Date of birth ''([[Property:ON_born on]])''  
+
|{{NAVY|ON_birth_date}}= Date of birth ''([[Property:ON_born on]])''
 
|{{NAVY|ON_death_date}}= Date of death ''([[Property:ON_died on]])''
 
|{{NAVY|ON_death_date}}= Date of death ''([[Property:ON_died on]])''
 
|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 ''([[Property:Has nationality]])''
+
|{{GREEN|nationality}} = (List of) Nationalies
 
|{{GREEN|children}} = List of children
 
|{{GREEN|children}} = List of children
 
|children_details = Optional explanation, e.g. for illegitimacy, adoption etc.
 
|children_details = Optional explanation, e.g. for illegitimacy, adoption etc.
Line 54: Line 55:
 
|{{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 ''([[Property:Has almaMater]])''
+
|{{GREEN|alma_mater}} = List of alma mater institutions
''For Wikispooks users:''
 
|{{BLUE|WS_username}}=The Wikispooks username used by this person ''([[Property:has WSusername]])''
 
 
''For [[whistleblower]]s:''
 
''For [[whistleblower]]s:''
 
|{{GREEN|exposed}} = Pagename(s) of what this person exposed ''([[Property:Exposed]])''
 
|{{GREEN|exposed}} = Pagename(s) of what this person exposed ''([[Property:Exposed]])''
Line 67: Line 66:
 
|criminal_status = Whether at large, in jail, etc.
 
|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 [https://en.wikipedia.org/wiki/Help:Authority_control Wikipedia on this]) {{RED|Not implemented as yet, and may never be}}-->
 
''Others from the wikipedia-derived template''<!--
 
''Others from the wikipedia-derived template''<!--
 
Displaying age would be nice here, but needs some work on templates, since the input format ("Date") is less predictable than YYYY|MM|DD , so
 
Displaying age would be nice here, but needs some work on templates, since the input format ("Date") is less predictable than YYYY|MM|DD , so
Line 75: Line 74:
 
|{{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 , |organization, |known for, |notable works, |influences, |title, |term, |predecessor, |successor, |movement, |boards, |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}}{{#if: {{{WS_username|}}}|[[Category:Wikispooks Users With Pages]][[Has WSusername::{{{WS_username|}}}| ]]}}{{#if: {{{birth_date|}}}|[[Display at::Category:{{YearOfDate|{{{birth_date}}}}} births| ]][[category:{{YearOfDate|{{{birth_date}}}}} births]]}}{{#if: {{{death_date|}}}|[[Display at::Category:{{YearOfDate|{{{death_date}}}}} deaths| ]][[category:{{YearOfDate|{{{death_date}}}}} deaths]]}}{{#if: {{{image|}}}|[[Has image::File:{{{image|}}}| ]][[Has image2::File:{{{image|}}}| ]]}}{{SMWDefaultMarkup}}[[Has facebook::{{{facebook|}}}| ]][[Has powerbase::{{{powerbase|}}}| ]][[Has sourcewatch::{{{sourcewatch|}}}| ]][[Has spartacus::{{{spartacus|}}}| ]][[Has historycommons::{{{historycommons|}}}| ]][[Has imdb::{{{imdb|}}}| ]][[Has nndb::{{{nndb|}}}| ]][[Has linkedin::{{{linkedin|}}}| ]][[Has twitter::{{{twitter|}}}| ]][[Has namebase::{{{namebase|}}}| ]][[Has wikipediaPage::{{{wikipedia|}}}| ]][[Has youtube::{{{youtube|}}}| ]]{{#ifeq: {{{so_called|}}} | 1 | [[So called::Yes| ]]{{DISPLAYTITLE:"{{PAGENAME}}"}} |}}{{infobox person
+
</poem></noinclude><includeonly>{{SMWObjectHeader|Person}}{{#if: {{{default_sort|}}}|{{DEFAULTSORT:{{{default_sort|}}}}}|{{DEFAULTSORT:{{LastName|{{PAGENAME}}}}, {{OtherNames|{{PAGENAME}}}}}}}}
 +
{{#if: {{{image|}}}|[[Has image::File:{{{image|}}}| ]][[Has image2::File:{{{image|}}}| ]]}}{{SMWDefaultMarkup}}[[Has facebook::{{{facebook|}}}| ]][[Has powerbase::{{{powerbase|}}}| ]][[Has sourcewatch::{{{sourcewatch|}}}| ]][[Has spartacus::{{{spartacus|}}}| ]][[Has historycommons::{{{historycommons|}}}| ]][[Has imdb::{{{imdb|}}}| ]][[Has nndb::{{{nndb|}}}| ]][[Has linkedin::{{{linkedin|}}}| ]][[Has twitter::{{{twitter|}}}| ]][[Has namebase::{{{namebase|}}}| ]][[Has wikipediaPage::{{{wikipedia|}}}| ]][[Has youtube::{{{youtube|}}}| ]]{{#ifeq: {{{so_called|}}} | 1 | [[So called::Yes| ]]{{DISPLAYTITLE:"{{PAGENAME}}"}} |}}{{infobox person
 
<!-- WikiSpooks specific parameters-->
 
<!-- WikiSpooks specific parameters-->
| WS_username              = {{{WS_username|}}}
 
 
| wikipedia_protection      = {{{wikipedia_protection|}}}
 
| wikipedia_protection      = {{{wikipedia_protection|}}}
 
| interest_of              = {{#ask: [[Has interest::{{PAGENAME}}]]}}
 
| interest_of              = {{#ask: [[Has interest::{{PAGENAME}}]]}}
| ownerfounder_of          = {{#ifeq: {{#ask: [[Has founder::{{PAGENAME}}]] }}|{{#ask: [[Has operator::{{PAGENAME}}]] }}|{{#ask: [[Has operator::{{PAGENAME}}]] }}}}
+
| founder_of                = {{#ask: [[Has founder::{{PAGENAME}}]] }}
| founder_of                = {{#ifeq: {{#ask: [[Has founder::{{PAGENAME}}]] }}|{{#ask: [[Has operator::{{PAGENAME}}]] }}||{{#ask: [[Has founder::{{PAGENAME}}]] }}}}
+
| owner_of                  = {{#ask: [[Has operator::{{PAGENAME}}]] }}
| owner_of                  = {{#ifeq: {{#ask: [[Has founder::{{PAGENAME}}]] }}|{{#ask: [[Has operator::{{PAGENAME}}]] }}||{{#ask: [[Has operator::{{PAGENAME}}]] }}}}
 
 
| member_of                = {{#ask: [[Has member::{{PAGENAME}}]] }}
 
| member_of                = {{#ask: [[Has member::{{PAGENAME}}]] }}
 
| perpetrator_of            = {{#ask: [[Has perpetrator::{{PAGENAME}}]] }}
 
| perpetrator_of            = {{#ask: [[Has perpetrator::{{PAGENAME}}]] }}
Line 149: Line 147:
 
| monuments                = {{{monuments|}}}
 
| monuments                = {{{monuments|}}}
 
| residence                = {{{residence|}}}
 
| residence                = {{{residence|}}}
| nationality              = {{ArrayMapPropertyListLink|{{{nationality|}}}|Has nationality}}
+
| nationality              = {{{nationality|}}}
 
| other_names              = {{{other_names|}}}
 
| other_names              = {{{other_names|}}}
 
| ethnicity                = {{{ethnicity|}}}
 
| ethnicity                = {{{ethnicity|}}}

Revision as of 11:22, 26 July 2016

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=Image name with no prefix (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)
|default_sort= How this name should be sorted (only needed in unusual cases - defaults to {{SECONDNAME, FIRST NAME}}
|website = URL of the person's homepage, (Property:Has website)
|facebook = URL of the person's facebook page (Property:Has facebook)
|historycommons = URL of the person's History commons page, if any (Property:Has historycommons)
|imdb = URL of the person's IMDB page (Property:Has imdb)
|linkedin = URL of the person's linkedin page (Property:Has linkedin)
|namebase = URL of the person's namebase page (Property:Has namebase)
|nndb = URL of the person's NNDB page (Property:Has nndb)
|powerbase = URL of the person's powerbase page (Property:Has powerbase)
|sourcewatch = URL of the person's sourcewatch page (Property:Has sourcewatch)
|spartacus = URL of the person's Spartacus page (Property:Has spartacus)
|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)
|youtube = URL of the person's YouTube page (Property:Has youtube)
|constitutes = What the person constitutes (Property:Constitutes)
|ON_constitutes = What the person ON constitutes (Property:ON_constitutes)
|inspired = Pagename(s) of people this person inspired (Property:Inspired)
|interests= Area(s) of interest (Property:Has interest)
|so_called = Set to "Yes" to illustrate concern about the name of this object (Property:So called) - For flagging up deceitful language such as the "War on Terror"
|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
|disappeared_date= Date of disappearance (Property:Disappeared on)
|disappeared_place= Place of disappearance
|disappeared_status= Status of disappearance
|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
|children_details = Optional explanation, e.g. for illegitimacy, adoption etc.
|relatives = List of noteworthy relatives
|parents = List of parents
|spouses= present and former spouses (Property:Has spouse)
|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 whistleblowers:
|exposed = Pagename(s) of what this person exposed (Property:Exposed)
Mostly for politicians:
|political_parties = List of political parties
For criminals:
|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
}}