Difference between revisions of "Template:Person"

From Wikispooks
Jump to navigation Jump to search
(lists for constitutes)
(style box)
Line 22: Line 22:
 
|caption=Caption for the image
 
|caption=Caption for the image
 
|alt=Alt text for the image
 
|alt=Alt text for the image
 +
|birth date  = <nowiki>{{Birth date and age|YYYY|MM|DD}}</nowiki>
 +
|death date  = <nowiki>{{Death date and age|YYYY|MM|DD}}</nowiki>
 
----
 
----
''From the wikipedia-derived template''
+
''Others from the wikipedia-derived template''
|born        = location of birth
+
<small>|born        = location of birth
|birth date  = <nowiki>{{Birth date and age|YYYY|MM|DD}}</nowiki>
 
 
|died        = location of death
 
|died        = location of death
|death date  = <nowiki>{{Death date and age|YYYY|MM|DD}}</nowiki>
 
 
|death cause =  
 
|death cause =  
 
|body discovered=
 
|body discovered=
Line 44: Line 44:
 
|notable works=
 
|notable works=
 
|influences  =
 
|influences  =
|influenced  =
 
 
|title      =
 
|title      =
 
|term        =
 
|term        =
Line 61: Line 60:
 
|parents    =
 
|parents    =
 
|relatives  =
 
|relatives  =
|awards      =
+
|awards      =</small>
 
}}
 
}}
 
</poem></noinclude><includeonly>[[Constitutes::Person| ]]{{Description|{{{description|}}}}}
 
</poem></noinclude><includeonly>[[Constitutes::Person| ]]{{Description|{{{description|}}}}}
Line 69: Line 68:
 
{{ArrayMapProperty|{{{constitutes|}}}|constitutes}}
 
{{ArrayMapProperty|{{{constitutes|}}}|constitutes}}
 
{{ArrayMapProperty|{{{ON constitutes|}}}|ON constitutes}}
 
{{ArrayMapProperty|{{{ON constitutes|}}}|ON constitutes}}
{{#if: {{{wikipedia|}}}|[[Has wikipediaPage::{{{wikipedia}}}| ]]}}
 
 
{{#if: {{{death date|}}}  | [[Died on::{{{death date}}}| ]] }}
 
{{#if: {{{death date|}}}  | [[Died on::{{{death date}}}| ]] }}
 
{{#if: {{{death cause|}}} | [[Death cause::{{{death cause}}}| ]] }}
 
{{#if: {{{death cause|}}} | [[Death cause::{{{death cause}}}| ]] }}
 
{{ArrayMapProperty|{{{exposed|}}}|Exposed}}
 
{{ArrayMapProperty|{{{exposed|}}}|Exposed}}
 
{{ArrayMapProperty|{{{inspired|}}}|Inspired}}
 
{{ArrayMapProperty|{{{inspired|}}}|Inspired}}
{| style="vertical-align:top;"
+
{|style="vertical-align:top;align:right;border:1pt solid #9a9a9a;padding:1%;"
|style="vertical-align:top; "|{{Infobox
+
|style="vertical-align:top;align:right;border:1pt solid #9a9a9a;padding:1%;"|{{Infobox
 
| bodyclass  = biography vcard
 
| bodyclass  = biography vcard
 
| bodystyle  = {{#if:{{{box_width|}}}|width:{{{box_width}}};}}
 
| bodystyle  = {{#if:{{{box_width|}}}|width:{{{box_width}}};}}
Line 145: Line 143:
  
 
| label23    = Influenced
 
| label23    = Influenced
| data23    = {{{influenced|}}}
+
| data23    = {{ArrayMapProperty|{{{influenced|}}}|Inspired}}
  
 
| label24    = Personal Website
 
| label24    = Personal Website
Line 151: Line 149:
  
 
| label25    = Wikipedia Page
 
| label25    = Wikipedia Page
| data25    = {{{wikipedia|}}}
+
| data25    = {{ArrayMapProperty|{{{wikipedia|}}}|Has wikipediaPage}}
  
 
| label30    = Title
 
| label30    = Title

Revision as of 13:40, 27 January 2014

This template is for Wikispooks pages about people. It should be the first item on the page.
It is still provisional, very much a work in progress. Contributions welcome.
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

|website = URL of the person's homepage, if any
|wikipedia = URL of the person's Wikipedia page, if any
|constitutes = What the person constitutes
|ON constitutes = What the person ON constitutes
|exposed = List of pagenames of what this person exposed (Whistleblowers only) (Property:Exposed)
|inspired = List of pagenames of people this person inspired (Property:Inspired)
|created= |created2= |created3=... Title of books they authored
|subject= |subject2= |subject3=... Subjects of interest
|image=Address of an image
|caption=Caption for the image
|alt=Alt text for the image
|birth date = {{Birth date and age|YYYY|MM|DD}}
|death date = {{Death date and age|YYYY|MM|DD}}


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 =

}}