Difference between revisions of "Template:Person"

From Wikispooks
Jump to navigation Jump to search
(template)
(Switch to ArrayMapPropertyBulletedListLink‎)
Line 42: Line 42:
 
-->[[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}}[[Born on::{{{birth_date|}}}| ]][[Died on::{{{death_date|}}}| ]][[Has website::{{{website|}}}| ]][[Has facebook::{{{facebook|}}}| ]][[Has twitter::{{{twitter|}}}| ]][[Has wikipediaPage::{{{wikipedia|}}}| ]]{{infobox person
 
<!-- WikiSpooks specific parameters-->
 
<!-- WikiSpooks specific parameters-->
| exposed                  = {{ArrayMapPropertyListLink|{{{exposed|}}}|Exposed}}
+
| exposed                  = {{ArrayMapPropertyBulletedListLink‎|{{{exposed|}}}|Exposed}}
 
| wikipedia                = {{{wikipedia|}}}
 
| wikipedia                = {{{wikipedia|}}}
 
| facebook                  = {{{facebook|}}}
 
| facebook                  = {{{facebook|}}}
 
| twitter                  = {{{twitter|}}}
 
| twitter                  = {{{twitter|}}}
| inspired                  = {{ArrayMapPropertyListLink|{{{inspired|}}}|Has inspired}}
+
| inspired                  = {{ArrayMapPropertyBulletedListLink‎|{{{inspired|}}}|Has inspired}}
| interests                = {{ArrayMapPropertyListLink|{{{interests|}}}|Has interest}}
+
| interests                = {{ArrayMapPropertyBulletedListLink‎|{{{interests|}}}|Has interest}}
 
| 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 61: Line 61:
 
| description              = [[Description::{{{description|}}}]]
 
| description              = [[Description::{{{description|}}}]]
 
| employment                = {{#arraymap:{{{employment|}}}|,|x|x}}
 
| employment                = {{#arraymap:{{{employment|}}}|,|x|x}}
| victim_of                = {{ArrayMapPropertyListLink|{{{victim_of|}}}|Victim of}}
+
| victim_of                = {{ArrayMapPropertyBulletedListLink‎|{{{victim_of|}}}|Victim of}}
 
<!-- Wikipedia standard parameters-->  
 
<!-- Wikipedia standard parameters-->  
 
| honorific_prefix          = {{{honorific_prefix|}}}
 
| honorific_prefix          = {{{honorific_prefix|}}}

Revision as of 13:57, 13 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_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
|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
}}