Difference between pages "Template:Volunteerinfobox" and "Template:Memorialvolunteerbox"

From Peace Corps Wiki
(Difference between pages)
Jump to: navigation, search
 
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the 'volunteerinfobox' template.
+
This is the 'memorialvolunteerbox' template.
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
{{volunteerinfobox
+
{{memorialvolunteerbox
 
|firstname=
 
|firstname=
 
|middlename=
 
|middlename=
Line 18: Line 18:
 
|region3=
 
|region3=
 
|program=
 
|program=
|program2=
 
 
|assignment01=
 
|assignment01=
 
|assignment02=
 
|assignment02=
 
|assignment03=
 
|assignment03=
|assignment04=
+
|fatalitycause=
 +
|fatalitydate=
 
|state=
 
|state=
 
|uscity=
 
|uscity=
|map= ("yes" to display; "no" leave field blank)
+
|ageatdeath=
 +
|image=
 
}}
 
}}
 
</pre>
 
</pre>
Line 35: Line 36:
 
|-
 
|-
 
|
 
|
<pre>{{volunteerinfobox
+
<pre>{{memorialvolunteerbox
 
|firstname= Joe
 
|firstname= Joe
 
|middlename=
 
|middlename=
Line 53: Line 54:
 
|assignment02=
 
|assignment02=
 
|assignment03=
 
|assignment03=
|map= yes
+
|fatalitycause=  
|state=Virginia
+
|fatalitydate= Jan 1 2005
|uscity=Richmond
+
|ageatdeath=
 +
|image=
 +
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 71: Line 74:
  
  
{{volunteerinfobox
+
{{memorialvolunteerbox
|firstname= Example
+
|firstname= Joe
 
|middlename=
 
|middlename=
|lastname= Example
+
|lastname= Peaceman
 
|country= Armenia
 
|country= Armenia
|yearservicestarted=  
+
|yearservicestarted= 2008
|yearserviceended=  
+
|yearserviceended= 2010
 
|groupcode= A-17
 
|groupcode= A-17
 
|site= Jermuk
 
|site= Jermuk
Line 89: Line 92:
 
|assignment02=
 
|assignment02=
 
|assignment03=
 
|assignment03=
|map= yes
+
|fatalitycause=auto
|state=Virginia
+
|fatalitydate=Jan 1 2005
|uscity=Richmond
+
|ageatdeath=24
 +
|image=Presentation image.jpg
 
}}
 
}}
 
|}
 
|}
Line 97: Line 101:
 
[[Category:templates]]
 
[[Category:templates]]
 
[[Category:templates infoboxes]]
 
[[Category:templates infoboxes]]
[[Category:templates countries]]
+
[[Category:templates volunteers]]
</noinclude>
+
[[Category:templates memorials]]
  
<includeonly>
+
</noinclude><includeonly>
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; 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; background-color:#ccccff;" colspan="2" |<div align="right"><small>''[[Template:Volunteerinfobox]]''</small></div><br>
+
! style="text-align: center; :link: #C0C0C0; background-color:mediumorchid;" colspan="2" |<div align="right"><small>''[[Template:memorialvolunteerbox]]''</small></div><br>IN MEMORY OF<br><big>{{#if:{{{firstname|}}}|'''[[Firstname::{{{firstname}}}]]|}} {{#if:{{{middlename|}}}|[[Middlename::{{{middlename}}}]]|}} {{#if:{{{lastname|}}}|[[Lastname::{{{lastname}}}]]'''|}}</big><br>
<big>{{#if:{{{firstname|}}}|'''[[Firstname::{{{firstname}}}]]|}} {{#if:{{{middlename|}}}|[[Middlename::{{{middlename}}}]]|}} {{#if:{{{lastname|}}}|[[Lastname::{{{lastname}}}]]'''|}}</big>{{#if:{{{country|}}}|[[Image:Flag_of_{{{country}}}.svg‎|50px|none]]|}}
+
{{#if:{{{fatalitydate|}}}|[[Property:Date of death|Passed away on]]: [[Date of death::{{{fatalitydate}}}]]|}} <br>
{{#if:{{{flickr|}}}|<br>{{{flickr}}}|}}{{#if:{{{image|}}}|<br>[[Image:{{{image}}}|250px]]|}}
+
[[Image:{{{image}}}|200px]]
 
|-
 
|-
 
! [[:category:{{{country}}}|Country]]
 
! [[:category:{{{country}}}|Country]]
| [[Served in::{{{country|}}}]]
+
| [[Served in::{{{country}}}]]
 
|-
 
|-
! {{#if:{{{yearservicestarted|}}}|[[:category:{{{country}}}_volunteers_{{{yearservicestarted}}}|Years:]]|}}
+
! {{#if:{{{yearservicestarted|}}}|[[:category:{{{country}}}_Volunteers_{{{yearservicestarted}}}|Started Service:]]|}}
| {{#if:{{{yearservicestarted|}}}|[[Started service in::{{{yearservicestarted}}}]]|}}{{#if:{{{yearserviceended|}}}|-|}}{{#if:{{{yearserviceended|}}}|[[Ended service in::{{{yearserviceended}}}]]|}}
+
| {{#if:{{{yearservicestarted|}}}|[[Started service in::{{{yearservicestarted}}}]]|}}
 
|-
 
|-
! {{#if:{{{groupcode|}}}|[[Property:Group code was|Group Code]]|}}
+
! {{#if:{{{groupcode|}}}|[[:category:groupcodes|Group Code]]|}}
 
| {{#arraymap:{{{groupcode|}}}|,|x|[[Group code was::x]]}}
 
| {{#arraymap:{{{groupcode|}}}|,|x|[[Group code was::x]]}}
 
|-
 
|-
Line 121: Line 125:
 
| {{#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]]}}
 
|-
 
|-
! {{#if:{{{program|}}}|[[Property:Served in sector|Program(s)]]|}}
+
! {{#if:{{{program|}}}[[Property:Served in sector|Program]]|}}
| {{#if:{{{program|}}}|[[Served in sector::{{{program}}}]]|}}{{#if:{{{program2|}}}|,[[Served in sector::{{{program2}}}]]|}}{{#if:{{{program3|}}}|,[[Served in sector::{{{program3}}}]]|}}
+
| {{#if:{{{program|}}}[[Served in sector::{{{program}}}]]|}}
 
|-
 
|-
 
! {{#if:{{{assignment01|}}}|[[Property:Primary assignment was|Assignment(s)]]|}}
 
! {{#if:{{{assignment01|}}}|[[Property:Primary assignment was|Assignment(s)]]|}}
| {{#if:{{{assignment01|}}}|[[Primary assignment was::{{{assignment01}}}]]|}}{{#if:{{{assignment02|}}}|,[[Primary assignment was::{{{assignment02}}}]]|}}{{#if:{{{assignment03|}}}|,[[Primary assignment was::{{{assignment03}}}]]|}}
+
| {{#arraymap:{{{assignment01|}}}|,|x|[[Primary assignment was::x]]}}{{#arraymap:{{{assignment02|}}}|,|x|, [[Primary assignment was::x]]}}{{#arraymap:{{{assignment03|}}}|,|x|, [[Primary assignment was::x]]}}
 
|-
 
|-
! {{#if:{{{state|}}}|[[Property:Is from state|From US state]]|}}
+
! {{#if:{{{fatalitycause|}}}|[[Property:Cause_of_death|Cause of death:]]|}}  
| {{#arraymap:{{{state|}}}|,|x|[[Is from state::x]]}}
+
| {{#if:{{{fatalitycause|}}}|[[Cause of death::{{{fatalitycause}}}]]|}}
 
|-
 
|-
! {{#if:{{{uscity|}}}|[[Property:Is from town or city|From US town/city]]|}}
+
! {{#if:{{{ageatdeath|}}}|[[Property:Age at death|Age:]]|}}
| {{#arraymap:{{{uscity|}}}|,|x|[[Is from town or city::x]]}}
+
| {{#if:{{{ageatdeath|}}}|[[Age at death::{{{ageatdeath}}}]]|}}
 
|-
 
|-
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{yearservicestarted|}}}|[[:category:{{{country}}}_volunteers_{{{yearservicestarted}}}|Started]] in [[{{{country}}}]] [http://www.peacecorpswiki.org/Special:BrowseData/Years?_subcat={{{yearservicestarted}}} {{{yearservicestarted}}}]|}}
+
! {{#if:{{{state|}}}|[[Property:Is from state|Volunteer's Homestate]]|}}
 +
| {{#if:{{{state|}}}|[[Is from state::{{{state}}}]]|}}
 
|-
 
|-
! colspan="3"|{{#if:{{{yearservicestarted|}}}|{{#ask:[[Served in::{{{country}}}]][[Started service in::{{{yearservicestarted}}}]]|format=list|limit=15}}|}}
+
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{country|}}}|Passed away while serving in: [[Special:Browse/{{{country}}}|{{{country}}}]]|}}
 
|-
 
|-
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{region|}}}|[[Property:Name of region was|Region]]: [[{{{region}}}]]|}}
+
! colspan="3"|{{#ask:[[Category:Volunteer memorials]][[Served in::{{{country}}}]]|format=list|limit=15}}
 
|-
 
|-
! colspan="3"|{{#if:{{{region|}}}|{{#ask:[[Served in::{{{country}}}]][[Name of region was::{{{region}}}]]|format=list|limit=15}}|}}
+
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{fatalitydate|}}}|Passed away in: [[Property:Date of death|{{{fatalitydate}}}]]|}}
 
|-
 
|-
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{region2|}}}|[[Property:Name of region was|Region]][[{{{region2}}}]]|}}
+
! colspan="3"|{{#if:{{{fatalitydate|}}}|{{#ask:[[Category:Volunteer memorials]][[Date of death::{{{fatalitydate}}}]]|format=list|limit=15}}|}}
 
|-
 
|-
! colspan="3"|{{#if:{{{region2|}}}|{{#ask:[[Served in::{{{country}}}]][[Name of region was::{{{region2}}}]]|format=list|limit=15}}|}}
+
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{state|}}}|From US State: [[{{{state}}}]]|}}
 
|-
 
|-
! style="text-align: center; background-color:#ccccff;" colspan="3"| {{#if:{{{program|}}}|[[Property:Served in sector|{{{program}}}]] in [[:Category:{{{country}}}_{{lcfirst:{{{program}}}}}|{{{country}}}]]: |}}{{#if:{{{program|}}}|[[Image:{{{program}}}.gif|25px]]|}}
+
! colspan="3"|{{#if:{{{state|}}}|{{#ask:[[Category:Volunteer memorials]][[Is from state::{{{state}}}]]|format=list|limit=15}}|}}
 
|-
 
|-
! colspan="3"|{{#if:{{{program|}}}|{{#ask:[[Served in sector::{{{program}}}]][[Served in::{{{country}}}]]|format=list|limit=10}}|}}
+
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{program|}}}|[[{{{program}}}]] in {{{country}}}|}}
 
|-
 
|-
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{program2|}}}|[[Property:Served in sector|{{{program2}}}]] in [[:Category:{{{country}}}_{{{program2}}}|{{{country}}}]]: |}}{{#if:{{{program2|}}}|[[Image:{{{program2}}}.gif|25px]]|}}
+
! colspan="3"|{{#if:{{{program|}}}|{{#ask:[[Served in::{{{country}}}]][[Served in sector::{{{program}}}]][[Category:Volunteer memorials]]|format=list|limit=15}}|}}
 
|-
 
|-
! colspan="3"|{{#if:{{{program2|}}}|{{#ask:[[Served in sector::{{{program2}}}]][[Served in::{{{country}}}]]|format=list|limit=10}}|}}
+
! style="text-align: center; background-color:mediumorchid;" colspan="3"|Other Volunteers you passed away while serving in Peace Corps.
|-
+
! style="text-align: center; background-color:#ccccff;" colspan="3"|Other [[:Category:{{{country}}}_volunteers|Volunteers]] who served in [[{{{country}}}]]{{#if:{{{country|}}}|:[[Image:Flag_of_{{{country}}}.svg‎|20px|none]]|}}
+
|-
+
! colspan="3"|{{#ask:[[Served in::{{{country}}}]]|format=list|limit=15}}
+
|-
+
! style="text-align: center; background-color:#ccccff;" colspan="3"|[[:Category:{{{country}}}_projects|Projects]] in [[{{{country}}}]]{{#if:{{{country|}}}|:[[Image:Flag_of_{{{country}}}.svg‎|20px|none]]|}}
+
|-
+
! colspan="3"|{{#compound_query:[[Category:{{{lastname}}}]][[Project in::{{{country}}}]];|format=list}}
+
|-
+
! style="text-align: center; background-color:#ccccff;" colspan="3"|'''Don't see yourself, Add yourself or a friend!'''
+
<small>''Enter your '''first''' and '''last name'''''</small>{{#forminput:Volunteer}}
+
|-
+
! style="text-align: center; background-color:#ccccff;" colspan="3"| {{#if:{{{map|}}}|Mapped [[Volunteers who served in {{{country}}}|Volunteers]] around [[{{{country}}}]] [[:Category:{{{country}}} volunteers located|({{PAGESINCAT:{{{country}}}_volunteers_located}})]].|}}
+
{{#if:{{{map|}}}|You located yourself at based on your site: [[{{{site|}}}]]
+
<small>{{Location2
+
|Coordinates={{#geocode:{{{site}}},{{{country}}}}}|}}</small>
+
}}
+
 
|-
 
|-
! colspan="3"|{{#if:{{{map|}}}|{{#compound_query:[[Category:{{{country}}}_volunteers]][[Location Coordinates::+]];?Location Coordinates;icon=Vol.PNG‎|format=googlemap|width=350|height=400}}|}}
+
! colspan="3"|{{#ask:[[Date of death::+]]|format=list|limit=15}}
 
|}
 
|}
  
{{#if:{{{yearservicestarted|}}}|[[category:{{{country}}}_volunteers]]|}}
+
{{#if:{{{yearservicestarted|}}}[[category:{{{country}}}_Volunteers_{{{yearservicestarted}}}]]|}}  
{{#if:{{{yearservicestarted|}}}|[[category:{{{country}}}_volunteers_{{{yearservicestarted}}}]]|}}
+
{{#if:{{{yearserviceended|}}}[[category:{{{yearserviceended}}}]]|}}
{{#if:{{{yearservicestarted|}}}|[[category:{{{yearservicestarted}}}]]|}}
+
{{#if:{{{yearservicestarted|}}}[[category:{{{yearservicestarted}}}]]|}}  
 
{{#if:{{{site|}}}|[[category:{{{site|}}}]]|}}  
 
{{#if:{{{site|}}}|[[category:{{{site|}}}]]|}}  
{{#if:{{{site2|}}}|[[category:{{{site2|}}}]]|}}
 
{{#if:{{{site3|}}}|[[category:{{{site3|}}}]]|}}
 
{{#if:{{{site4|}}}|[[category:{{{site4|}}}]]|}}
 
 
{{#if:{{{region|}}}|[[category:{{{region|}}}]]|}}  
 
{{#if:{{{region|}}}|[[category:{{{region|}}}]]|}}  
{{#if:{{{region2|}}}|[[category:{{{region2|}}}]]|}}
 
{{#if:{{{map|}}}|[[category:{{{country}}}_volunteers_located]]|}}
 
{{#if:{{{map|}}}|[[category:volunteers located]]|}}
 
 
{{#if:{{{groupcode|}}}|[[category:{{{groupcode|}}}]]|}}
 
{{#if:{{{groupcode|}}}|[[category:{{{groupcode|}}}]]|}}
{{#if:{{{program|}}}|[[category:{{{country}}}_{{lc:{{{program}}}}}]]|}}
+
{{#if:{{{fatalitydate|}}}|[[category:Volunteer memorials]]|}}
{{#if:{{{program2|}}}|[[category:{{{country}}}_{{lc:{{{program2}}}}}]]|}}
+
{{#if:{{{state|}}}|[[category:{{{state}}}]]|}}
{{#if:{{{program|}}}|[[category:{{{program}}}]]|}}
+
{{#if:{{{program2|}}}|[[category:{{{program2}}}]]|}}
+
{{#if:{{{assignment01|}}}|[[category:{{{country}}}_{{lc:{{{assignment01}}}}}]]|}}
+
{{#if:{{{assignment02|}}}|[[category:{{{country}}}_{{lc:{{{assignment02}}}}}]]|}}
+
{{#if:{{{assignment03|}}}|[[category:{{{country}}}_{{lc:{{{assignment03}}}}}]]|}}
+
{{#if:{{{assignment04|}}}|[[category:{{{country}}}_{{lc:{{{assignment04}}}}}]]|}}
+
{{#if:{{{assignment01|}}}|[[category:{{{assignment01}}}]]|}}
+
{{#if:{{{assignment02|}}}|[[category:{{{assignment02}}}]]|}}
+
{{#if:{{{assignment03|}}}|[[category:{{{assignment03}}}]]|}}
+
{{#if:{{{assignment04|}}}|[[category:{{{assignment04}}}]]|}}
+
 
{{DEFAULTSORT:{{{lastname}}},{{{firstname}}} }}
 
{{DEFAULTSORT:{{{lastname}}},{{{firstname}}} }}
 
[[Category:volunteers]]  
 
[[Category:volunteers]]  
 
</includeonly>
 
</includeonly>

Revision as of 17:16, 28 May 2009

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}}}]]|}}