Difference between revisions of "Template:Person"

From Wikispooks
Jump to navigation Jump to search
m (fix)
m (f)
Line 38: Line 38:
 
|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>
 
|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>
 
}}
 
}}
</poem></noinclude><includeonly>[[Constitutes::Person]]{{Description|{{{description|}}}}}
+
</poem></noinclude><includeonly>[[Constitutes::Person| ]]{{Description|{{{description|}}}}}
 
<div style="vertical-align:top; width:300px; align:right; border:1pt solid #9a9a9a; padding:1%; float:right; clear:right;">
 
<div style="vertical-align:top; width:300px; align:right; border:1pt solid #9a9a9a; padding:1%; float:right; clear:right;">
 
{{ArrayMapProperty|{{{constitutes|}}}|Constitutes}}{{ArrayMapProperty|{{{interests|}}}|Has interest}}
 
{{ArrayMapProperty|{{{constitutes|}}}|Constitutes}}{{ArrayMapProperty|{{{interests|}}}|Has interest}}
 
{{ArrayMapProperty|{{{ON constitutes|}}}|ON constitutes}}{{#if: {{{birth date|}}} | '''Born on:&nbsp;'''[[Born on::{{{birth date}}}]] }}{{#if: {{{death date|}}} | <br/>'''Died on:&nbsp;'''[[Died on::{{{death date}}}]] }}{{ArrayMapProperty|{{{exposed|}}}|Exposed}}{{ArrayMapProperty|{{{inspired|}}}|Inspired}}
 
{{ArrayMapProperty|{{{ON constitutes|}}}|ON constitutes}}{{#if: {{{birth date|}}} | '''Born on:&nbsp;'''[[Born on::{{{birth date}}}]] }}{{#if: {{{death date|}}} | <br/>'''Died on:&nbsp;'''[[Died on::{{{death date}}}]] }}{{ArrayMapProperty|{{{exposed|}}}|Exposed}}{{ArrayMapProperty|{{{inspired|}}}|Inspired}}
 
</div>{{SMWDefaultMarkup}}</includeonly>
 
</div>{{SMWDefaultMarkup}}</includeonly>

Revision as of 16:25, 11 February 2014


Bug1.jpg This template has problems: Two main problems:
  1. This doesn't display the information, it only sets the properties.
  2. The authority control needs work. (Wikipedia uses a separate template for this.) 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)
|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)
|image=Address of an image
|created= |created2= |created3=... Title of books they authored
|caption=Caption for the image
|alt=Alt text for the image
|birth date= Date of birth
|death date= Date of death
|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

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