Difference between revisions of "Template:Person"

From Wikispooks
Jump to navigation Jump to search
m (assign description to footnotes)
m (change birth and death param names to coincide with standard WP template - a few pages will need changing as a result)
Line 19: Line 19:
 
|caption=Caption for the image
 
|caption=Caption for the image
 
|alt=Alt text for the image
 
|alt=Alt text for the image
|birth date= Date of birth
+
|birth_date= Date of birth
|death date= Date of death
+
|birth_place= birth location
 +
|death_date= Date of death
 +
|death_place = death location
 
|{{GREEN|employment}}=List of jobs the person has (had) - See [[template:job]] for details -  ''([[Property:has employer]])''
 
|{{GREEN|employment}}=List of jobs the person has (had) - See [[template:job]] for details -  ''([[Property:has employer]])''
 
|box_width  = To modify the box width
 
|box_width  = To modify the box width
Line 31: Line 33:
 
|death date  = <nowiki>{{Death date and age|YYYY|MM|DD}}</nowiki> (incompatible format)<br/>
 
|death date  = <nowiki>{{Death date and age|YYYY|MM|DD}}</nowiki> (incompatible format)<br/>
 
-->
 
-->
|born = location of birth, |died = location of death, |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 </small>
+
|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 </small>
 
}}
 
}}
 
</poem></noinclude><includeonly><!-- Set the SMW data
 
</poem></noinclude><includeonly><!-- Set the SMW data
Line 123: Line 125:
 
{{#if: {{{constitutes|}}} |<br/>'''{{Capitalize|{{{constitutes}}}}}''' }}  
 
{{#if: {{{constitutes|}}} |<br/>'''{{Capitalize|{{{constitutes}}}}}''' }}  
 
</div>
 
</div>
{{#if: {{{birth date|}}} |<br/> '''Born:&nbsp;'''[[Born on::{{{birth date}}}]] }}{{#if: {{{born|}}} |&nbsp;-&nbsp;{{{born}}} }}{{#if: {{{death date|}}} | <br/>'''Died:&nbsp;'''[[Died on::{{{death date}}}]] }}{{#if: {{{died|}}} |&nbsp;-&nbsp;{{{died}}} }}
+
{{#if: {{{birth_date|}}} |<br/> '''Born:&nbsp;'''[[Born on::{{{birth_date}}}]] }}{{#if: {{{birth_place|}}} |&nbsp;-&nbsp;{{{born}}} }}{{#if: {{{death_date|}}} | <br/>'''Died:&nbsp;'''[[Died on::{{{death_date}}}]] }}{{#if: {{{died|}}} |&nbsp;-&nbsp;{{{died}}} }}
 
{{#if: {{{website|}}} |<br/> '''WWW:''' {{{website|}}} }}{{#if: {{{wikipedia|}}} |<br/> '''Wikipedia:''' {{WikipediaLink|{{{wikipedia|}}}}} }}  
 
{{#if: {{{website|}}} |<br/> '''WWW:''' {{{website|}}} }}{{#if: {{{wikipedia|}}} |<br/> '''Wikipedia:''' {{WikipediaLink|{{{wikipedia|}}}}} }}  
 
{{#if: {{{exposed|}}} |<br/> '''Exposed:&nbsp;'''{{ArrayMapPropertyListLink|{{{exposed|}}}|Exposed}} }}{{#if: {{{interests|}}} |<br/> '''Wikispooks related:&nbsp;'''{{ArrayMapPropertyListLink|{{{interests|}}}|Has interest}} }}
 
{{#if: {{{exposed|}}} |<br/> '''Exposed:&nbsp;'''{{ArrayMapPropertyListLink|{{{exposed|}}}|Exposed}} }}{{#if: {{{interests|}}} |<br/> '''Wikispooks related:&nbsp;'''{{ArrayMapPropertyListLink|{{{interests|}}}|Has interest}} }}

Revision as of 15:45, 24 February 2014

Bug1.jpg This template has problems: This template is still suitable for use, but has multiple issues being worked on. Use the discussion page to see the debate about this.

This template is for Wikispooks pages about people. It should be the first item on the page.
The blue parameters not be marked up at all; they should be Wikispooks page names (whether or not the page yet exists).
Usage: All sections are optional.

{{person
|authority= (See Wikipedia on this) Not implemented as yet
|description= <500 character summary, (Property:Description)
|website = URL of the person's homepage, (Property:Has website)
|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 = Pagenames(s) of people this person inspired (Property:Inspired)
|interests= Area(s) of interest (Property:Has interest)
|created= Titles of books they authored
|image=Address of an image (Property:Has image)
|caption=Caption for the image
|alt=Alt text for the image
|birth_date= Date of birth
|birth_place= birth location
|death_date= Date of death
|death_place = death location
|employment=List of jobs the person has (had) - 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
}}