Difference between revisions of "Template:Person"

From Wikispooks
Jump to navigation Jump to search
(capitalize)
(Link to exposures and interests)
Line 36: Line 36:
 
|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| ]] {{ArrayMapProperty|{{{constitutes|}}}|Constitutes}}{{ArrayMapProperty|{{{interests|}}}|Has interest}} {{ArrayMapProperty|{{{ON constitutes|}}}|ON constitutes}} {{ArrayMapProperty|{{{exposed|}}}|Exposed}} {{ArrayMapProperty|{{{inspired|}}}|Inspired}}
+
</poem></noinclude><includeonly>[[Constitutes::Person| ]] {{ArrayMapProperty|{{{constitutes|}}}|Constitutes}} {{ArrayMapProperty|{{{ON constitutes|}}}|ON constitutes}} {{ArrayMapProperty|{{{inspired|}}}|Inspired}}
  
 
<div style="vertical-align:top; width:260px; align:right; border:1pt solid #9a9a9a; background-color:#f9f9f9; padding:1%; margin:0% 0% 0% 1%; float:right; clear:right;">
 
<div style="vertical-align:top; width:260px; align:right; border:1pt solid #9a9a9a; background-color:#f9f9f9; padding:1%; margin:0% 0% 0% 1%; float:right; clear:right;">
Line 46: Line 46:
 
{{#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: {{{born|}}} |&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;'''{{{exposed}}} }}{{#if: {{{interests|}}} |<br/> '''Wikispooks related:&nbsp;'''{{{interests}}} }}
+
{{#if: {{{exposed|}}} |<br/> '''Exposed:&nbsp;'''{{ArrayMapPropertyListLink|{{{exposed|}}}|Exposed}}} }}{{#if: {{{interests|}}} |<br/> '''Wikispooks related:&nbsp;'''{{ArrayMapPropertyListLink|{{{interests|}}}|Has interest}} }}
 
{{#if: {{{description|}}} |
 
{{#if: {{{description|}}} |
 
----
 
----
 
<br/>''[[Description::{{{description}}}]]''}}
 
<br/>''[[Description::{{{description}}}]]''}}
 
</div>{{SMWDefaultMarkup}}</includeonly>
 
</div>{{SMWDefaultMarkup}}</includeonly>

Revision as of 02:54, 23 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)
|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
}}