Difference between revisions of "Template:Person"

From Wikispooks
Jump to navigation Jump to search
(test)
(temporary tidy)
Line 27: Line 27:
 
}}
 
}}
 
</poem></noinclude><includeonly>[[Constitutes::Person| ]]{{Description|{{{description|}}}}}{{ArrayMapProperty|{{{constitutes|}}}|constitutes}}
 
</poem></noinclude><includeonly>[[Constitutes::Person| ]]{{Description|{{{description|}}}}}{{ArrayMapProperty|{{{constitutes|}}}|constitutes}}
{{ArrayMapProperty|{{{ON constitutes|}}}|ON constitutes}}{{#if: {{{death date|}}}  | [[Died on::{{{death date}}}| ]] }}{{ArrayMapProperty|{{{exposed|}}}|Exposed}}{{ArrayMapProperty|{{{inspired|}}}|Inspired}}<div style="vertical-align:top; width:300px; align:right; border:1pt solid #9a9a9a; padding:1%; float:right; clear:right;"></div>test...{{Infobox
+
{{ArrayMapProperty|{{{ON constitutes|}}}|ON constitutes}}{{#if: {{{death date|}}}  | [[Died on::{{{death date}}}| ]] }}{{ArrayMapProperty|{{{exposed|}}}|Exposed}}{{ArrayMapProperty|{{{inspired|}}}|Inspired}}<div style="vertical-align:top; width:300px; align:right; border:1pt solid #9a9a9a; padding:1%; float:right; clear:right;">
| bodyclass  = biography vcard
+
</div>{{SMWDefaultMarkup}}</includeonly>
| bodystyle  = {{#if:{{{box_width|}}}|width:{{{box_width}}};}}
 
| image      = {{#if:{{{image|}}}|[[Has image::{{{image}}}| ]] <div style="border: #883300;">
 
[[File:{{{image}}}|{{px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|280x220px}}|alt={{{alt|}}}]]</div> }}
 
| imageclass = {{image class names|{{{image}}}}}
 
| caption    = {{{caption|}}}
 
| label1    = Born
 
| data1      = {{br separated entries|{{#if:{{{birth name|{{{birth_name|}}}}}}|<span class="nickname">{{{birth name|{{{birth_name}}}}}}</span>}}|{{{birth date|{{{birth_date|}}}}}}|{{{birth place|{{{birth_place|}}}}}}}}
 
 
 
| label2    = Died
 
| data2      = {{br separated entries|{{{death date|{{{death_date|}}}}}}|{{{death_place|}}}}}
 
 
 
| label3    = Cause&nbsp;of death
 
| data3      = {{#if: {{{death cause|{{{death_cause|}}}} | [[Death cause::{{{death cause|{{{death_cause|}}}} ]] }} }} }}
 
 
 
| label4    = Body discovered
 
| data4      = {{{body discovered|{{{body_discovered|}}}}}}
 
 
 
| label5    = Resting place
 
| class5    = label
 
| data5      = {{br separated entries|{{{resting place|{{{resting_place|}}}}}}|{{{resting place coordinates|{{{resting_place_coordinates|}}}}}}}}
 
 
 
| label7    = Residence
 
| class7    = {{#if:{{{death date|{{{death_date|}}}}}}{{{death place|{{{death_place|}}}}}}||label}}
 
| data7      = {{{residence|}}}
 
 
 
| class8    = category
 
| label8    = Nationality
 
| data8      = {{{nationality|}}}
 
 
 
| label9    = Other names
 
| class9    = nickname
 
| data9      = {{{other names|{{{other_names|}}}}}}
 
 
 
| class11    = category
 
| label11    = Citizenship
 
| data11    = {{{citizenship|}}}
 
 
 
| label12    = Education
 
| data12    = {{{education|}}}
 
 
 
| label13    = ''Alma mater''
 
| data13    = {{{alma mater|{{{alma_mater|}}}}}}
 
 
 
| label14    = Occupation
 
| class14    = role
 
| data14    = {{{occupation|}}}
 
 
 
| label15    = Years active
 
| data15    = {{{years active|{{{years_active|}}}}}}
 
 
 
| label16    = Employer
 
| data16    = {{{employer|}}}
 
| class16    = org
 
 
 
| label17    = Organization
 
| data17    = {{{organization|{{{organizations|}}}}}}
 
| class17    = org
 
 
 
| label19    = Known&nbsp;for
 
| data19    = {{{known for|{{{known_for|{{{known|}}}}}}}}}
 
 
 
| label20    = Notable works
 
| data20    = {{{notable works|{{{notable_works|}}}}}}
 
 
 
| label22    = Influenced by
 
| data22    = {{{influences|}}}
 
 
 
| label23    = Influenced
 
| data23    = {{ArrayMapProperty|{{{influenced|}}}|Inspired}}
 
 
 
| label24    = Personal Website
 
| data24    = {{#if: {{{website|}}}|[[Has website::{{{website}}}]]}}
 
 
 
| label25    = Wikipedia Page
 
| data25    = {{ArrayMapProperty|{{{wikipedia|}}}|Has wikipediaPage}}
 
 
 
| label30    = Title
 
| data30    = {{{title|}}}
 
| class30    = title
 
 
 
| label31    = Term
 
| data31    = {{{term|}}}
 
 
 
| label32    = Predecessor
 
| data32    = {{{predecessor|}}}
 
 
 
| label33    = Successor
 
| data33    = {{{successor|}}}
 
 
 
| label34    = Political party
 
| data34    = {{{party|}}}
 
| class34    = org
 
 
 
| label35    = Political movement
 
| data35    = {{{movement|}}}
 
| class35    = category
 
 
 
| label37    = Board member&nbsp;of
 
| data37    = {{{boards|}}}
 
 
 
| label38    = Religion
 
| data38    = {{{religion|}}}
 
| class38    = category
 
 
 
| label39    = Denomination
 
| data39    = {{{denomination|}}}
 
| class39    = category
 
 
 
| label40    = Criminal&nbsp;charge
 
| data40    = {{{criminal charge|{{{criminal_charge|}}}}}}
 
 
 
| label41    = Criminal&nbsp;penalty
 
| data41    = {{{criminal penalty|{{{criminal_penalty|}}}}}}
 
 
 
| label42    = Criminal&nbsp;status
 
| data42    = {{{criminal status|{{{criminal_status|}}}}}}
 
| class42    = category
 
 
 
| label43    = <span style="white-space:nowrap;">Spouse(s)</span>
 
| data43    = {{{spouse|}}}
 
 
 
| label44    = Partner
 
| data44    = {{{partner|}}}
 
 
 
| label45    = Children
 
| data45    = {{{children|}}}
 
 
 
| label46    = Parents
 
| data46    = {{{parents|}}}
 
 
 
| label47    = Relatives
 
| data47    = {{{relations|{{{relatives|}}}}}}
 
 
 
| label49    = Awards
 
| data49    = {{{awards|}}}
 
}}</div>{{SMWDefaultMarkup}}</includeonly>
 

Revision as of 15:09, 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, (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
|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 = {{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
}}