Difference between revisions of "Template:Person"
m (reduce box width further) |
m (forgot to paste on last edit) |
||
Line 36: | Line 36: | ||
|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 | + | |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| ]]{{ | + | </poem></noinclude><includeonly>[[Constitutes::Person| ]] {{ArrayMapProperty|{{{constitutes|}}}|Constitutes}}{{ArrayMapProperty|{{{interests|}}}|Has interest}} {{ArrayMapProperty|{{{ON constitutes|}}}|ON constitutes}} {{ArrayMapProperty|{{{exposed|}}}|Exposed}} {{ArrayMapProperty|{{{inspired|}}}|Inspired}} |
+ | |||
<div style="vertical-align:top; width:260px; align:right; border:1pt solid #9a9a9a; padding:1%; float:right; clear:right;"> | <div style="vertical-align:top; width:260px; align:right; border:1pt solid #9a9a9a; padding:1%; float:right; clear:right;"> | ||
<div align="center"> | <div align="center"> | ||
'''<big>{{PAGENAME}}</big>'''<br/> | '''<big>{{PAGENAME}}</big>'''<br/> | ||
{{#if: {{{image|}}} | [[Image:{{{image}}}|center|150px]] }} | {{#if: {{{image|}}} | [[Image:{{{image}}}|center|150px]] }} | ||
+ | {{#if: {{{constitutes|}}} |<br/>'''{{{constitutes}}}''' }} | ||
</div> | </div> | ||
− | {{#if: {{{birth date|}}} |<br/> '''Born: '''[[Born on::{{{birth date}}}]] }} | + | {{#if: {{{birth date|}}} |<br/> '''Born: '''[[Born on::{{{birth date}}}]] }}{{#if: {{{born|}}} | - {{{born}}} }}{{#if: {{{death date|}}} | <br/>'''Died: '''[[Died on::{{{death date}}}]] }}{{#if: {{{died|}}} | - {{{died}}} }} |
− | {{#if: {{{death date|}}} | <br/>'''Died: '''[[Died on::{{{death date}}}]] }} | ||
{{#if: {{{website|}}} |<br/> [{{{website|}}} Website] }} {{#if: {{{wikipedia|}}} |<br/> [{{{wikipedia|}}} Wikipedia page] }} | {{#if: {{{website|}}} |<br/> [{{{website|}}} Website] }} {{#if: {{{wikipedia|}}} |<br/> [{{{wikipedia|}}} Wikipedia page] }} | ||
− | {{ | + | ---- |
+ | {{#if: {{{exposed|}}} |<br/> '''Exposed: '''{{{exposed}}} }} | ||
+ | {{#if: {{{interests|}}} |<br/> '''Wikispooks related: '''{{{interests}}} }} | ||
+ | <br/>'''Note:''' {{{description}}} | ||
</div>{{SMWDefaultMarkup}}</includeonly> | </div>{{SMWDefaultMarkup}}</includeonly> |
Revision as of 17:57, 12 February 2014
This template has problems: Two main problems:
|
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
}}