Difference between revisions of "Template:Person"
(-> div) |
(upgrade and tidy) |
||
Line 11: | Line 11: | ||
<!--|gender={M,F} | <!--|gender={M,F} | ||
|summary=Human readable short overview --> | |summary=Human readable short overview --> | ||
− | |website = URL of the person's homepage, | + | |website = URL of the person's homepage, ''([[Property:Has website]])'' |
− | |wikipedia = URL of the person's Wikipedia page | + | |wikipedia = URL of the person's Wikipedia page ''([[Property:Has wikipediaPage]])'' |
− | |{{GREEN|constitutes}} = What the person constitutes | + | |{{GREEN|constitutes}} = What the person constitutes ''([[Property:Constitutes]])'' |
− | |{{GREEN|ON constitutes}} = What the person ON constitutes | + | |{{GREEN|ON constitutes}} = What the person ON constitutes ''([[Property:ON constitutes]])'' |
− | |{{GREEN|exposed}} = | + | |{{GREEN|exposed}} = Pagename(s) of what this person exposed ''(Whistleblowers only)'' ''([[Property:Exposed]])'' |
− | |{{GREEN|inspired}} = | + | |{{GREEN|inspired}} = Pagenames(s) of people this person inspired ''([[Property:Inspired]])'' |
+ | |{{GREEN|interests}}= Area(s) of interest | ||
+ | |{{BLUE|image}}=Address of an image | ||
|{{BLUE|created}}= |{{BLUE|created2}}= |{{BLUE|created3}}=... Title of books they authored | |{{BLUE|created}}= |{{BLUE|created2}}= |{{BLUE|created3}}=... Title of books they authored | ||
− | |||
− | |||
|caption=Caption for the image | |caption=Caption for the image | ||
|alt=Alt text for the image | |alt=Alt text for the image | ||
Line 29: | Line 29: | ||
}} | }} | ||
</poem></noinclude><includeonly>[[Constitutes::Person| ]]{{Description|{{{description|}}}}} | </poem></noinclude><includeonly>[[Constitutes::Person| ]]{{Description|{{{description|}}}}} | ||
− | |||
− | |||
− | |||
{{ArrayMapProperty|{{{constitutes|}}}|constitutes}} | {{ArrayMapProperty|{{{constitutes|}}}|constitutes}} | ||
{{ArrayMapProperty|{{{ON constitutes|}}}|ON constitutes}} | {{ArrayMapProperty|{{{ON constitutes|}}}|ON constitutes}} | ||
{{#if: {{{death date|}}} | [[Died on::{{{death date}}}| ]] }} | {{#if: {{{death date|}}} | [[Died on::{{{death date}}}| ]] }} | ||
− | |||
{{ArrayMapProperty|{{{exposed|}}}|Exposed}} | {{ArrayMapProperty|{{{exposed|}}}|Exposed}} | ||
{{ArrayMapProperty|{{{inspired|}}}|Inspired}} | {{ArrayMapProperty|{{{inspired|}}}|Inspired}} | ||
− | <div style="vertical-align:top;align:right;border:1pt solid #9a9a9a;padding:1%;">{{Infobox | + | <div style="vertical-align:top; width:300px; 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}}};}} | ||
− | | image = {{#if:{{{image|}}}| <div style="border: #883300;"> | + | | image = {{#if:{{{image|}}}|[[Has image::{{{image}}}| ]] <div style="border: #883300;"> |
[[File:{{{image}}}|{{px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|280x220px}}|alt={{{alt|}}}]]</div> }} | [[File:{{{image}}}|{{px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|280x220px}}|alt={{{alt|}}}]]</div> }} | ||
| imageclass = {{image class names|{{{image}}}}} | | imageclass = {{image class names|{{{image}}}}} | ||
Line 52: | Line 48: | ||
| label3 = Cause of death | | label3 = Cause of death | ||
− | | data3 = {{{death cause|{{{death_cause|}}}}}} | + | | data3 = {{#if: {{{death cause|{{{death_cause|}}}} | [[Death cause::{{{death cause|{{{death_cause|}}}} ]] }} |
| label4 = Body discovered | | label4 = Body discovered | ||
Line 111: | Line 107: | ||
| label24 = Personal Website | | label24 = Personal Website | ||
− | | data24 = {{{website|}}} | + | | data24 = {{#if: {{{website|}}}|[[Has website::{{{website}}}]]}} |
| label25 = Wikipedia Page | | label25 = Wikipedia Page |
Revision as of 14:38, 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, (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
}}