Difference between revisions of "Template:Person"

From Wikispooks
Jump to navigation Jump to search
(prabook)
(Fix default sort of names with ()s. i.e. Use the bit before the "(")
(25 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
|object=person}}
 
|object=person}}
 
'''Usage:'''
 
'''Usage:'''
''All sections are optional.''
+
''All sections are optional except for <font face=courier>|image</font>. If no image of the person is available on the internet, use the anonymous image, {{t|person.gif}} to reflect this fact.''
 
<poem>
 
<poem>
 
{{person
 
{{person
Line 15: Line 15:
 
|default_sort= How this name should be sorted (only needed in unusual cases - defaults to <nowiki>{{</nowiki>LAST NAME, FIRST NAME(S)<nowiki>}}</nowiki>
 
|default_sort= How this name should be sorted (only needed in unusual cases - defaults to <nowiki>{{</nowiki>LAST NAME, FIRST NAME(S)<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|alchetron}}    = URL of the person's [[alchetron]] page ''([[Property:Has alchetron]])''
 +
|{{PURPLE|amazon}}    = URL of the person's [[amazon]] page ''([[Property:Has amazon]])''
 +
|{{PURPLE|ancestry}}    = URL of the person's [[ancestry]] page ''([[Property:Has ancestry]])''
 +
|{{PURPLE|companycheck}}    = URL of the person's [[companycheck]] page ''([[Property:Has companycheck]])'' (company directors only?)
 +
|{{PURPLE|companydirectorcheck}}    = URL of the person's [[companydirectorcheck]] page ''([[Property:Has companydirectorcheck]])'' (company directors only?)
 +
|{{PURPLE|crunchbase}}    = URL of the person's [[crunchbase]] page ''([[Property:Has crunchbase]])''
 +
|{{PURPLE|cspan}}    = URL of the person's [[C-SPAN]] page ''([[Property:Has cspan]])''
 +
|{{PURPLE|dbpedia}}    = URL of the person's [[dbpedia]] page ''([[Property:Has dbpedia]])''
 
|{{PURPLE|facebook}}    = URL of the person's [[facebook]] page ''([[Property:Has facebook]])''
 
|{{PURPLE|facebook}}    = URL of the person's [[facebook]] page ''([[Property:Has facebook]])''
 +
|{{PURPLE|famechain}}    = URL of the person's [[famechain]] page ''([[Property:Has famechain]])''
 +
|{{PURPLE|geni}}    = URL of the person's [[geni]] page ''([[Property:Has geni]])''
 
|{{PURPLE|historycommons}}        = URL of the person's [[History commons]] page, if any ''([[Property:Has historycommons]])''
 
|{{PURPLE|historycommons}}        = URL of the person's [[History commons]] page, if any ''([[Property:Has historycommons]])''
 
|{{PURPLE|imdb}}    = URL of the person's [[IMDB]] page ''([[Property:Has imdb]])''
 
|{{PURPLE|imdb}}    = URL of the person's [[IMDB]] page ''([[Property:Has imdb]])''
 +
|{{PURPLE|infogalactic}}    = URL of the person's [[infogalactic]] page ''([[Property:Has infogalactic]])''
 
|{{PURPLE|instagram}}    = URL of the person's [[instagram]] page ''([[Property:Has instagram]])''
 
|{{PURPLE|instagram}}    = URL of the person's [[instagram]] page ''([[Property:Has instagram]])''
 +
|{{PURPLE|isgp}}    = URL of one page on [[isgp]] of special relevance ''([[Property:Has isgp]])''
 
|{{PURPLE|linkedin}}    = URL of the person's [[linkedin]] page ''([[Property:Has linkedin]])''
 
|{{PURPLE|linkedin}}    = URL of the person's [[linkedin]] page ''([[Property:Has linkedin]])''
 +
|{{PURPLE|mashpedia}}    = URL of the person's [[mashpedia]] page ''([[Property:Has mashpedia]])''
 +
|{{PURPLE|medium}}    = URL of the person's [[medium]] page ''([[Property:Has medium]])''
 
|{{PURPLE|namebase}}    = URL of the person's [[namebase]] page ''([[Property:Has namebase]])''
 
|{{PURPLE|namebase}}    = URL of the person's [[namebase]] page ''([[Property:Has namebase]])''
 
|{{PURPLE|nndb}}    = URL of the person's [[NNDB]] page ''([[Property:Has nndb]])''
 
|{{PURPLE|nndb}}    = URL of the person's [[NNDB]] page ''([[Property:Has nndb]])''
 +
|{{PURPLE|patreon}}  = URL of the person's [[patreon]] page ''([[Property:Has patreon]])''
 
|{{PURPLE|powerbase}}  = URL of the person's [[powerbase]] page ''([[Property:Has powerbase]])''
 
|{{PURPLE|powerbase}}  = URL of the person's [[powerbase]] page ''([[Property:Has powerbase]])''
 
|{{PURPLE|prabook}}  = URL of the person's [[prabook]] page ''([[Property:Has prabook]])''
 
|{{PURPLE|prabook}}  = URL of the person's [[prabook]] page ''([[Property:Has prabook]])''
Line 27: Line 42:
 
|{{PURPLE|spartacus}}  = URL of the person's Spartacus page ''([[Property:Has spartacus]])''
 
|{{PURPLE|spartacus}}  = URL of the person's Spartacus page ''([[Property:Has spartacus]])''
 
|twitter    = Handle of the person's twitter (no '@') ''([[Property:Has twitter]])''
 
|twitter    = Handle of the person's twitter (no '@') ''([[Property:Has twitter]])''
 +
|{{PURPLE|vimeo}}  = URL of the person's vimeo page ''([[Property:Has vimeo]])''
 +
|{{PURPLE|wikidata}}  = URL of the person's wikidata page ''([[Property:Has wikidata]])''
 +
|{{PURPLE|wikileaks}}  = URL of the person's wikileaks page ''([[Property:Has wikileaks]])''
 
|{{PURPLE|wikipedia}}  = URL of the person's Wikipedia page ''([[Property:Has wikipediaPage]])''
 
|{{PURPLE|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]])''
+
|{{PURPLE|wikiquote}}  = URL of the person's Wikiquote page ''([[Property:Has wikiquote]])''
 +
|wikipedia_protection      = Set to 1 if the Wikipedia page is edit protected, 0 or empty otherwise ''([[Property:Has wikipediaProtection]])''
 
|{{PURPLE|youtube}}  = URL of the person's YouTube page ''([[Property:Has youtube]])''
 
|{{PURPLE|youtube}}  = URL of the person's YouTube page ''([[Property:Has youtube]])''
 +
|{{PURPLE|zoominfo}}    = URL of the person's [[zoominfo]] page ''([[Property:Has zoominfo]])''
 
|{{GREEN|constitutes}} = What the person constitutes ''([[Property:Constitutes]])''
 
|{{GREEN|constitutes}} = What the person constitutes ''([[Property:Constitutes]])''
 
|{{GREEN|ON_constitutes}}  = What the person ON constitutes ''([[Property:ON_constitutes]])''
 
|{{GREEN|ON_constitutes}}  = What the person ON constitutes ''([[Property:ON_constitutes]])''
Line 49: Line 69:
 
|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|nationality}} = (List of) Nationalies ''([[Property:Has nationality]])''
 
|{{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 81: Line 101:
 
|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>
 
|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: {{{default_sort|}}}|{{DEFAULTSORT:{{{default_sort|}}}}}|{{DEFAULTSORT:{{LastName|{{PAGENAME}}}}, {{OtherNames|{{PAGENAME}}}}}}}}
+
</poem></noinclude><includeonly>{{SMWObjectHeader|Person}}{{#if: {{{default_sort|}}}|{{DEFAULTSORT:{{{default_sort|}}}}}|{{DEFAULTSORT:{{LastName|{{#explode: {{PAGENAME}}|(|0}}}}, {{OtherNames|{{#explode: {{PAGENAME}}|(|0}}}}}}}}
{{#if: {{{image|}}}|[[Has image::File:{{{image|}}}| ]][[Has image2::File:{{{image|}}}| ]]}}{{SMWDefaultMarkup}}[[Has facebook::{{{facebook|}}}| ]][[Has powerbase::{{{powerbase|}}}| ]][[Has prabook::{{{prabook|}}}| ]][[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 wikipediaPage2::{{{wikipedia|}}}| ]][[Has youtube::{{{youtube|}}}| ]]{{#ifeq: {{{so_called|}}} | 1 | [[So called::Yes| ]]{{DISPLAYTITLE:"{{PAGENAME}}"}} |}}{{infobox person
+
{{#if: {{{image|}}}|[[Has image::File:{{{image|}}}| ]][[Has image2::File:{{{image|}}}| ]]}}{{SMWDefaultMarkup}}<!--
 +
-->[[Has alchetron::{{{alchetron|}}}| ]]<!--
 +
-->[[Has amazon::{{{amazon|}}}| ]]<!--
 +
-->[[Has ancestry::{{{ancestry|}}}| ]]<!--
 +
-->[[Has crunchbase::{{{crunchbase|}}}| ]]<!--
 +
-->[[Has cspan::{{{cspan|}}}| ]]<!--
 +
-->[[Has companycheck:{{{companycheck|}}}| ]]<!--
 +
-->[[Has companydirectorcheck:{{{companydirectorcheck|}}}| ]]<!--
 +
-->[[Has dbpedia::{{{dbpedia|}}}| ]]<!--
 +
-->[[Has facebook::{{{facebook|}}}| ]]<!--
 +
-->[[Has famechain::{{{famechain|}}}| ]]<!--
 +
-->[[Has geni::{{{geni|}}}| ]]<!--
 +
-->[[Has historycommons::{{{historycommons|}}}| ]]<!--
 +
-->[[Has imdb::{{{imdb|}}}| ]]<!--
 +
-->[[Has infogalactic::{{{infogalactic|}}}| ]]<!--
 +
-->[[Has isgp::{{{isgp|}}}| ]]<!--
 +
-->[[Has nndb::{{{nndb|}}}| ]]<!--
 +
-->[[Has mashpedia::{{{mashpedia|}}}| ]]<!--
 +
-->[[Has medium::{{{medium|}}}| ]]<!--
 +
-->[[Has linkedin::{{{linkedin|}}}| ]]<!--
 +
-->[[Has patreon::{{{patreon|}}}| ]]<!--
 +
-->[[Has powerbase::{{{powerbase|}}}| ]]<!--
 +
-->[[Has prabook::{{{prabook|}}}| ]]<!--
 +
-->[[Has sourcewatch::{{{sourcewatch|}}}| ]]<!--
 +
-->[[Has spartacus::{{{spartacus|}}}| ]]<!--
 +
-->[[Has twitter::{{{twitter|}}}| ]]<!--
 +
-->[[Has namebase::{{{namebase|}}}| ]]<!--
 +
-->[[Has vimeo::{{{vimeo|}}}| ]]<!--
 +
-->[[Has wikidata::{{{wikidata|}}}| ]]<!--
 +
-->[[Has wikileaks::{{{wikileaks|}}}| ]]<!--
 +
-->[[Has wikipediaPage2::{{{wikipedia|}}}| ]]<!--
 +
-->[[Has wikiquote::{{{wikiquote|}}}| ]]<!--
 +
-->[[Has youtube::{{{youtube|}}}| ]]<!--
 +
-->[[Has zoominfo::{{{zoominfo|}}}| ]]<!--
 +
-->{{#ifeq: {{{so_called|}}} | 1 | [[So called::Yes| ]]{{DISPLAYTITLE:"{{PAGENAME}}"}} |}}{{infobox person
 
<!-- WikiSpooks specific parameters-->
 
<!-- WikiSpooks specific parameters-->
 
| wikipedia_protection      = {{{wikipedia_protection|}}}
 
| wikipedia_protection      = {{{wikipedia_protection|}}}
|WS_username              = {{{WS_username|}}}
+
| WS_username              = {{{WS_username|}}}
 
| interest_of              = {{#ask: [[Has interest::{{PAGENAME}}]]}}
 
| interest_of              = {{#ask: [[Has interest::{{PAGENAME}}]]}}
 
| founder_of                = {{#ask: [[Has founder::{{PAGENAME}}]] }}
 
| founder_of                = {{#ask: [[Has founder::{{PAGENAME}}]] }}
Line 96: Line 150:
 
| political_parties        = {{{political_parties|}}}
 
| political_parties        = {{{political_parties|}}}
 
| criminal_convictions      = {{ArrayMapPropertyBulletedListLink‎|{{{criminal_convictions|}}}|Has criminalConviction}}
 
| criminal_convictions      = {{ArrayMapPropertyBulletedListLink‎|{{{criminal_convictions|}}}|Has criminalConviction}}
 +
| alchetron                = {{{alchetron|}}}
 +
| amazon                    = {{{amazon|}}}
 +
| ancestry                  = {{{ancestry|}}}
 +
| companycheck              = {{{companycheck|}}}
 +
| crunchbase                = {{{crunchbase|}}}
 +
| cspan                    = {{{cspan|}}}
 +
| dbpedia                  = {{{dbpedia|}}}
 
| facebook                  = {{{facebook|}}}
 
| facebook                  = {{{facebook|}}}
 +
| famechain                = {{{famechain|}}}
 +
| geni                      = {{{geni|}}}
 
| historycommons            = {{{historycommons|}}}
 
| historycommons            = {{{historycommons|}}}
 
| imdb                      = {{{imdb|}}}
 
| imdb                      = {{{imdb|}}}
 +
| infogalactic              = {{{infogalactic|}}}
 
| instagram                = {{{instagram|}}}
 
| instagram                = {{{instagram|}}}
 +
| isgp                      = {{{isgp|}}}
 
| linkedin                  = {{{linkedin|}}}
 
| linkedin                  = {{{linkedin|}}}
 +
| medium                    = {{{medium|}}}
 
| namebase                  = {{{namebase|}}}
 
| namebase                  = {{{namebase|}}}
 
| nndb                      = {{{nndb|}}}
 
| nndb                      = {{{nndb|}}}
 +
| patreon                  = {{{patreon|}}}
 
| powerbase                = {{{powerbase|}}}
 
| powerbase                = {{{powerbase|}}}
 
| prabook                  = {{{prabook|}}}
 
| prabook                  = {{{prabook|}}}
Line 108: Line 175:
 
| spartacus                = {{{spartacus|}}}
 
| spartacus                = {{{spartacus|}}}
 
| twitter                  = {{{twitter|}}}
 
| twitter                  = {{{twitter|}}}
 +
| vimeo                    = {{{vimeo|}}}
 +
| wikidata                  = {{{wikidata|}}}
 +
| wikileaks                = {{{wikileaks|}}}
 
| wikipedia                = {{#if: {{{wikipedia|}}}|{{{wikipedia}}}|{{{WP|}}}}}
 
| wikipedia                = {{#if: {{{wikipedia|}}}|{{{wikipedia}}}|{{{WP|}}}}}
 +
| wikiquote                = {{{wikiquote|}}}
 
| youtube                  = {{{youtube|}}}
 
| youtube                  = {{{youtube|}}}
 +
| zoominfo                  = {{{zoominfo|}}}
 
| children_details          = {{children_details|}}
 
| children_details          = {{children_details|}}
 
<!-- Below also set SMWData -->
 
<!-- Below also set SMWData -->
Line 155: Line 227:
 
| monuments                = {{{monuments|}}}
 
| monuments                = {{{monuments|}}}
 
| residence                = {{{residence|}}}
 
| residence                = {{{residence|}}}
| nationality              = {{{nationality|}}}
+
| nationality              = {{ArrayMapPropertyListLink|{{{nationality|}}}|Has nationality}}
 
| other_names              = {{{other_names|}}}
 
| other_names              = {{{other_names|}}}
 
| ethnicity                = {{{ethnicity|}}}
 
| ethnicity                = {{{ethnicity|}}}
Line 202: Line 274:
 
| footnotes                =  
 
| footnotes                =  
 
| box_width                = {{{box_width|}}}
 
| box_width                = {{{box_width|}}}
}}
+
}}[[Category:People]]</includeonly>
[[Category:People]]
 
</includeonly>
 

Revision as of 21:01, 17 November 2017

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 that person's name using the 'members' parameter.

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 except for |image. If no image of the person is available on the internet, use the anonymous image, person.gif to reflect this fact.

{{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 {{LAST NAME, FIRST NAME(S)}}
|website = URL of the person's homepage, (Property:Has website)
|alchetron = URL of the person's alchetron page (Property:Has alchetron)
|amazon = URL of the person's amazon page (Property:Has amazon)
|ancestry = URL of the person's ancestry page (Property:Has ancestry)
|companycheck = URL of the person's companycheck page (Property:Has companycheck) (company directors only?)
|companydirectorcheck = URL of the person's companydirectorcheck page (Property:Has companydirectorcheck) (company directors only?)
|crunchbase = URL of the person's crunchbase page (Property:Has crunchbase)
|cspan = URL of the person's C-SPAN page (Property:Has cspan)
|dbpedia = URL of the person's dbpedia page (Property:Has dbpedia)
|facebook = URL of the person's facebook page (Property:Has facebook)
|famechain = URL of the person's famechain page (Property:Has famechain)
|geni = URL of the person's geni page (Property:Has geni)
|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)
|infogalactic = URL of the person's infogalactic page (Property:Has infogalactic)
|instagram = URL of the person's instagram page (Property:Has instagram)
|isgp = URL of one page on isgp of special relevance (Property:Has isgp)
|linkedin = URL of the person's linkedin page (Property:Has linkedin)
|mashpedia = URL of the person's mashpedia page (Property:Has mashpedia)
|medium = URL of the person's medium page (Property:Has medium)
|namebase = URL of the person's namebase page (Property:Has namebase)
|nndb = URL of the person's NNDB page (Property:Has nndb)
|patreon = URL of the person's patreon page (Property:Has patreon)
|powerbase = URL of the person's powerbase page (Property:Has powerbase)
|prabook = URL of the person's prabook page (Property:Has prabook)
|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)
|vimeo = URL of the person's vimeo page (Property:Has vimeo)
|wikidata = URL of the person's wikidata page (Property:Has wikidata)
|wikileaks = URL of the person's wikileaks page (Property:Has wikileaks)
|wikipedia = URL of the person's Wikipedia page (Property:Has wikipediaPage)
|wikiquote = URL of the person's Wikiquote page (Property:Has wikiquote)
|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)
|zoominfo = URL of the person's zoominfo page (Property:Has zoominfo)
|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 (Property:Has birthPlace)
|birth_name= birth name
|death_date= Date of death (Property:Died on)
|death_cause = death cause (Property:Has deathCause)
|death_place = death location (Property:Has deathPlace)
|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 (Property:Has nationality)
|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 WikiSpooks account holders:
|WS_username= Username of this person's Wikispooks user page
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(Property:Has criminalConviction)
|out_of_court_settlement = Out of court settlement
|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
}}