Difference between revisions of "Template:Memorialvolunteerbox"

From Peace Corps Wiki
Jump to: navigation, search
(changed location of date and cause)
m (65 revisions)
 
(37 intermediate revisions by 7 users not shown)
Line 23: Line 23:
 
|fatalitycause=
 
|fatalitycause=
 
|fatalitydate=
 
|fatalitydate=
|map= ("yes" to display; "no" leave field blank)
+
|state=
 +
|uscity=
 +
|ageatdeath=
 +
|image=
 
}}
 
}}
 
</pre>
 
</pre>
Line 51: Line 54:
 
|assignment02=
 
|assignment02=
 
|assignment03=
 
|assignment03=
|map= yes
+
|fatalitycause=  
|fatalitycause=
+
|fatalitydate= Jan 1 2005
|fatalitydate=
+
|ageatdeath=
 +
|image=
 +
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 87: Line 92:
 
|assignment02=
 
|assignment02=
 
|assignment03=
 
|assignment03=
|map= yes
 
 
|fatalitycause=auto
 
|fatalitycause=auto
 
|fatalitydate=Jan 1 2005
 
|fatalitydate=Jan 1 2005
 +
|ageatdeath=24
 +
|image=Presentation image.jpg
 
}}
 
}}
 
|}
 
|}
 +
 +
[[Category:templates]]
 +
[[Category:templates infoboxes]]
 +
[[Category:templates volunteers]]
 +
[[Category:templates memorials]]
  
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: white; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: white; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
! style="text-align: center; :link: #C0C0C0; background-color:mediumorchid;" colspan="2" |
+
! style="text-align: center; :link: #C0C0C0; background-color:mediumorchid;" colspan="2" |<div align="right"><small>''[[Template:memorialvolunteerbox]]''</small></div><br>[[:Category:Volunteer memorials|IN MEMORY OF]]<br><big>{{#if:{{{firstname|}}}|'''[[Firstname::{{{firstname}}}]]|}} {{#if:{{{middlename|}}}|[[Middlename::{{{middlename}}}]]|}} {{#if:{{{lastname|}}}|[[Lastname::{{{lastname}}}]]'''|}}</big><br>
IN MEMORY OF<br>
+
{{#if:{{{fatalitydate|}}}|[[Property:Date of death|Passed away]]: [[Date of death::{{{fatalitydate}}}]]|}} <br>
<big>{{PAGENAME}}</big><br>
+
{{#if:{{{image|}}}|[[Image:{{{image}}}|200px]]|}}
{{#if:{{{fatalitycause|}}}|[[Cause of death::{{{fatalitycause}}}]]|}}<br>
+
Passed on: {{#if:{{{fatalitydate|}}}|[[Date of death::{{{fatalitydate}}}]]|}}<br>
+
 
+
 
|-
 
|-
 
! [[:category:{{{country}}}|Country]]
 
! [[:category:{{{country}}}|Country]]
| [[Served in::{{{country|}}}]]
+
| [[Served in::{{{country}}}]]
 
|-
 
|-
! [[:category:{{{country}}}_Volunteers_{{{yearservicestarted}}}|Years:]]
+
! {{#if:{{{yearservicestarted|}}}|[[:category:{{{country}}}_Volunteers_{{{yearservicestarted}}}|Started Service:]]|}}
| [[Started service in::{{{yearservicestarted|}}}]]-[[Ended service in::{{{yearserviceended|}}}]]
+
| {{#if:{{{yearservicestarted|}}}|[[Started service in::{{{yearservicestarted}}}]]|}}
 
|-
 
|-
 
! {{#if:{{{groupcode|}}}|[[:category:groupcodes|Group Code]]|}}
 
! {{#if:{{{groupcode|}}}|[[:category:groupcodes|Group Code]]|}}
 
| {{#arraymap:{{{groupcode|}}}|,|x|[[Group code was::x]]}}
 
| {{#arraymap:{{{groupcode|}}}|,|x|[[Group code was::x]]}}
 
|-
 
|-
! {{#if:{{{site|}}}|[[:category:sites|Site(s)]]|}}
+
! {{#if:{{{site|}}}|[[Property:Name of community was|Site(s)]]|}}
 
| {{#arraymap:{{{site|}}}|,|x|[[Name of community was::x]]}}{{#arraymap:{{{site2|}}}|,|x|, [[Name of community was::x]]}}{{#arraymap:{{{site3|}}}|,|x|, [[Name of community was::x]]}}
 
| {{#arraymap:{{{site|}}}|,|x|[[Name of community was::x]]}}{{#arraymap:{{{site2|}}}|,|x|, [[Name of community was::x]]}}{{#arraymap:{{{site3|}}}|,|x|, [[Name of community was::x]]}}
 
|-
 
|-
! {{#if:{{{region|}}}|[[:category:regions|Region(s)]]|}}
+
! {{#if:{{{region|}}}|[[Property:Name of region was|Region(s)]]|}}
 
| {{#arraymap:{{{region|}}}|,|x|[[Name of region was::x]]}}{{#arraymap:{{{region2|}}}|,|x|, [[Name of region was::x]]}}{{#arraymap:{{{region3|}}}|,|x|,[[Name of region was::x]]}}
 
| {{#arraymap:{{{region|}}}|,|x|[[Name of region was::x]]}}{{#arraymap:{{{region2|}}}|,|x|, [[Name of region was::x]]}}{{#arraymap:{{{region3|}}}|,|x|,[[Name of region was::x]]}}
 
|-
 
|-
! [[:category:programs|Program]]
+
! {{#if:{{{program|}}}[[Property:Served in sector|Program]]|}}
| [[Served in sector::{{{program|}}}]]
+
| {{#if:{{{program|}}}[[Served in sector::{{{program}}}]]|}}
 
|-
 
|-
! {{#if:{{{assignment01|}}}|[[:category:assignments|Assignment(s)]]|}}
+
! {{#if:{{{assignment01|}}}|[[Property:Primary assignment was|Assignment(s)]]|}}
 
| {{#arraymap:{{{assignment01|}}}|,|x|[[Primary assignment was::x]]}}{{#arraymap:{{{assignment02|}}}|,|x|, [[Primary assignment was::x]]}}{{#arraymap:{{{assignment03|}}}|,|x|, [[Primary assignment was::x]]}}
 
| {{#arraymap:{{{assignment01|}}}|,|x|[[Primary assignment was::x]]}}{{#arraymap:{{{assignment02|}}}|,|x|, [[Primary assignment was::x]]}}{{#arraymap:{{{assignment03|}}}|,|x|, [[Primary assignment was::x]]}}
 
|-
 
|-
! {{#if:{{{fatalitycause|}}}|Cause of fatality:|}}  
+
! {{#if:{{{fatalitycause|}}}|[[Property:Cause_of_death|Cause of death:]]|}}  
| {{#if:{{{fatalitycause|}}}|[[Cause of death::{{{fatalitycause}}}]]|}}<br>
+
| {{#if:{{{fatalitycause|}}}|[[Cause of death::{{{fatalitycause}}}]]|}}
 
|-
 
|-
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{country|}}}|Passed while serving in: [[{{{country}}}]]|}}
+
! {{#if:{{{ageatdeath|}}}|[[Property:Age at death|Age:]]|}}
 +
| {{#if:{{{ageatdeath|}}}|[[Age at death::{{{ageatdeath}}}]]|}}
 
|-
 
|-
! colspan="3"|{{#ask:[[Category:Volunteer memorial]][[Served in::{{{country}}}]]|format=list|limit=15}}
+
! {{#if:{{{state|}}}|[[Property:Is from state|Volunteer's Homestate]]|}}
 +
| {{#if:{{{state|}}}|[[Is from state::{{{state}}}]]|}}
 
|-
 
|-
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{yearserviceended|}}}|Passed in: [[{{{yearserviceended}}}]]|}}
+
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{country|}}}|Passed away while serving in: [[Special:Browse/{{{country}}}|{{{country}}}]]|}}
 
|-
 
|-
! colspan="3"|{{#ask:[[Category:Volunteer memorial]][[Ended service in::{{{yearserviceended}}}]]|format=list|limit=15}}
+
! colspan="3"|{{#ask:[[Category:Volunteer memorials]][[Served in::{{{country}}}]]|format=list|limit=15}}
 
|-
 
|-
! style="text-align: center; background-color:mediumorchid;" colspan="3"|Started service in [http://www.peacecorpswiki.org/Special:BrowseData/Years?_subcat={{{yearservicestarted}}} {{{yearservicestarted}}}]
+
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{fatalitydate|}}}|Passed away in: [[Property:Date of death|{{{fatalitydate}}}]]|}}
 
|-
 
|-
! colspan="3"|{{#ask:[[Served in::{{{country}}}]][[Started service in::{{{yearservicestarted}}}]]|format=list|limit=15}}
+
! colspan="3"|{{#if:{{{fatalitydate|}}}|{{#ask:[[Category:Volunteer memorials]][[Date of death::{{{fatalitydate}}}]]|format=list|limit=15}}|}}
 
|-
 
|-
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{region|}}}|Region: [[{{{region}}}]]|}}
+
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{state|}}}|From US State: [[{{{state}}}]]|}}
 
|-
 
|-
! colspan="3"|{{#if:{{{region|}}}|{{#ask:[[Served in::{{{country}}}]][[Name of region was::{{{region}}}]]|format=list|limit=15}}|}}
+
! colspan="3"|{{#if:{{{state|}}}|{{#ask:[[Category:Volunteer memorials]][[Is from state::{{{state}}}]]|format=list|limit=15}}|}}
 
|-
 
|-
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{region2|}}}|Region: [[{{{region2}}}]]|}}
+
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{program|}}}|[[{{{program}}}]] in {{{country}}}|}}
 
|-
 
|-
! colspan="3"|{{#if:{{{region2|}}}|{{#ask:[[Served in::{{{country}}}]][[Name of region was::{{{region2}}}]]|format=list|limit=15}}|}}
+
! colspan="3"|{{#if:{{{program|}}}|{{#ask:[[Served in::{{{country}}}]][[Served in sector::{{{program}}}]][[Category:Volunteer memorials]]|format=list|limit=15}}|}}
 
|-
 
|-
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{program|}}}|Program: [[{{{program}}}]]|}}
+
! style="text-align: center; background-color:mediumorchid;" colspan="3"|Other Volunteers who passed away while serving in Peace Corps.
 
|-
 
|-
! colspan="3"|{{#if:{{{program|}}}|{{#ask:[[Served in::{{{country}}}]][[Served in sector::{{{program}}}]]|format=list|limit=15}}|}}
+
! colspan="3"|{{#ask:[[Date of death::+]]|format=list|limit=15}}
 
|-
 
|-
! style="text-align: center; background-color:mediumorchid;" colspan="3"|Other [[:Category:[[Served in::{{{country}}}]]_Volunteers|Volunteers]] who served in [[{{{country}}}]]
+
! style="text-align: center; " colspan="3"|Source: [[FOIA_10076|FOIA request #10076 (June 2010)]]
|-
+
! colspan="3"|{{#ask:[[Served in::{{{country}}}]]|format=list|limit=15}}
+
 
|}
 
|}
 
+
{{#if:{{{yearservicestarted|}}}[[category:{{{country}}}_Volunteers_{{{yearservicestarted}}}]]|}}  
{{#if:{{{map|}}}|{{Location
+
{{#if:{{{yearserviceended|}}}[[category:{{{yearserviceended}}}]]|}}
|Coordinates={{#geocode:{{{site}}},{{{country}}}}}
+
{{#if:{{{yearservicestarted|}}}[[category:{{{yearservicestarted}}}]]|}}
}}|}}
+
{{#if:{{{site|}}}|[[category:{{{site|}}}]]|}}  
 
+
[[category:{{{country}}}_Volunteers_{{{yearservicestarted}}}]]
+
[[category:{{{yearservicestarted}}}]]  
+
{{#if:{{{site|}}}|[[category:{{{site|}}}]]}}  
+
 
{{#if:{{{region|}}}|[[category:{{{region|}}}]]|}}  
 
{{#if:{{{region|}}}|[[category:{{{region|}}}]]|}}  
 
{{#if:{{{groupcode|}}}|[[category:{{{groupcode|}}}]]|}}
 
{{#if:{{{groupcode|}}}|[[category:{{{groupcode|}}}]]|}}
{{#if:{{{fatalitydate|}}}|[[category:Volunteer memorial]]}}
+
{{#if:{{{fatalitydate|}}}|[[category:Volunteer memorials]]|}}
 +
{{#if:{{{state|}}}|[[category:{{{state}}}]]|}}
 
{{DEFAULTSORT:{{{lastname}}},{{{firstname}}} }}
 
{{DEFAULTSORT:{{{lastname}}},{{{firstname}}} }}
 
[[Category:volunteers]]  
 
[[Category:volunteers]]  
 
</includeonly>
 
</includeonly>

Latest revision as of 13:38, 21 May 2014

This is the 'memorialvolunteerbox' template. It should be called in the following format:

{{memorialvolunteerbox
|firstname=
|middlename=
|lastname=
|country=
|yearservicestarted=
|yearserviceended=
|groupcode= 
|site=
|site2=
|site3=
|region=
|region2=
|region3=
|program=
|assignment01=
|assignment02=
|assignment03=
|fatalitycause=
|fatalitydate=
|state=
|uscity=
|ageatdeath=
|image=
}}

Edit the page to see the template text.

EXAMPLE:
{{memorialvolunteerbox
|firstname= Joe
|middlename=
|lastname= Peaceman
|country= Armenia
|yearservicestarted= 2008
|yearserviceended= 2010
|groupcode= A-17
|site= Jermuk
|site2=
|site3= Vyke
|region= Vayots Dzor
|region2= 
|region3=
|program= Environment
|assignment01=
|assignment02=
|assignment03=
|fatalitycause= 
|fatalitydate= Jan 1 2005
|ageatdeath=
|image=

}}







Template:memorialvolunteerbox

IN MEMORY OF
{{#if:Joe|Firstname::Joe|}} {{#if:|Middlename::|}} {{#if:Peaceman|Lastname::Peaceman|}}

{{#if:Jan 1 2005|Passed away: Date of death::Jan 1 2005|}}
{{#if:Presentation image.jpg|200px|}}

Country Served in::Armenia
Started Service:|}} Started service in::2008|}}
Group Code|}} ,|x|Group code was::x}}
Site(s)|}} ,|x|Name of community was::x}}{{#arraymap:|,|x|, Name of community was::x}}{{#arraymap:Vyke|,|x|, Name of community was::x}}
Region(s)|}} ,|x|Name of region was::x}}{{#arraymap:|,|x|, Name of region was::x}}{{#arraymap:|,|x|,Name of region was::x}}
{{#if:EnvironmentProgram|}} {{#if:EnvironmentServed in sector::Environment|}}
Assignment(s)|}} ,|x|Primary assignment was::x}}{{#arraymap:|,|x|, Primary assignment was::x}}{{#arraymap:|,|x|, Primary assignment was::x}}
Cause of death:|}} Cause of death::auto|}}
Age:|}} Age at death::24|}}
Volunteer's Homestate|}} [[Is from state::{{{state}}}]]|}}
{{#if:Armenia|Passed away while serving in: Armenia|}}
{{#ask:Served in::Armenia|format=list|limit=15}}
{{#if:Jan 1 2005|Passed away in: Jan 1 2005|}}
{{#if:Jan 1 2005|{{#ask:Date of death::Jan 1 2005|format=list|limit=15}}|}}
{{#if:|From US State: [[{{{state}}}]]|}}
{{#if:|{{#ask:[[Is from state::{{{state}}}]]|format=list|limit=15}}|}}
{{#if:Environment|Environment in Armenia|}}
{{#if:Environment|{{#ask:Served in::ArmeniaServed in sector::Environment|format=list|limit=15}}|}}
Other Volunteers who passed away while serving in Peace Corps.
{{#ask:Date of death::+|format=list|limit=15}}
Source: FOIA request #10076 (June 2010)

{{#if:2008|}} {{#if:2010|}} {{#if:2008|}} {{#if:Jermuk||}} {{#if:Vayots Dzor||}} {{#if:A-17||}} {{#if:Jan 1 2005||}} {{#if:|[[category:{{{state}}}]]|}}