Difference between revisions of "Template:Person"

From Wikispooks
Jump to navigation Jump to search
(fix caption parameter)
(Has objectClass)
Line 38: Line 38:
 
}}
 
}}
 
</poem></noinclude><includeonly>{{WikiSpooks:Site Status}}<!-- Set the SMW data
 
</poem></noinclude><includeonly>{{WikiSpooks:Site Status}}<!-- Set the SMW data
-->[[Constitutes::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                  = {{ArrayMapPropertyListLink|{{{exposed|}}}|Exposed}}

Revision as of 09:27, 27 June 2014

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 |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.

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
|authority= (See Wikipedia on this) Not implemented as yet, and may never be
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
}}