Template:Memorialvolunteerbox

From Peace Corps Wiki

(Difference between revisions)
Jump to: navigation, search
m (template tages)
Line 1: Line 1:
 +
<noinclude>
 +
This is the 'memorialvolunteerbox' template.
 +
It should be called in the following format:
 +
<pre>
 +
{{memorialvolunteerbox
 +
|firstname=
 +
|middlename=
 +
|lastname=
 +
|country=
 +
|yearservicestarted=
 +
|yearserviceended=
 +
|groupcode=
 +
|site=
 +
|site2=
 +
|site3=
 +
|region=
 +
|region2=
 +
|region3=
 +
|program=
 +
|assignment01=
 +
|assignment02=
 +
|assignment03=
 +
|fatalitycause=
 +
|fatalitydate=
 +
|state=
 +
|uscity=
 +
|map= ("yes" to display; "no" leave field blank)
 +
}}
 +
</pre>
 +
Edit the page to see the template text.
 +
 +
{|
 +
| colspan="2" align="center" | '''<big>EXAMPLE:</big>'''
 +
|-
 +
|
 +
<pre>{{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=
 +
|map= yes
 +
|fatalitycause=
 +
|fatalitydate=
 +
}}
 +
</pre>
 +
 +
 +
|
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
{{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=
 +
|map= yes
 +
|fatalitycause=auto
 +
|fatalitydate=Jan 1 2005
 +
}}
 +
|}
 +
 +
[[Category:templates]]
 +
[[Category:templates infoboxes]]
 +
[[Category:templates volunteers]]
 +
[[Category:templates memorials]]
 +
 +
</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="text-align: center; :link: #C0C0C0; background-color:mediumorchid;" colspan="2" |
 +
IN MEMORY OF<br>
 +
<big>{{#if:{{{firstname|}}}|'''[[Firstname::{{{firstname}}}]]|}} {{#if:{{{middlename|}}}|[[Middlename::{{middlename}}]]|}} {{#if:{{{lastname|}}}|[[Lastname::{{{lastname}}}]]'''|}}</big><br>
 +
{{#if:{{{fatalitydate|}}}|Passed away on:[[Date of death::{{{fatalitydate}}}]]|}}<br>
 +
|-
 +
! [[:category:{{{country}}}|Country]]
 +
| [[Served in::{{{country|}}}]]
 +
|-
 +
! [[:category:{{{country}}}_Volunteers_{{{yearservicestarted}}}|Years:]]
 +
| [[Started service in::{{{yearservicestarted|}}}]]-[[Ended service in::{{{yearserviceended|}}}]]
 +
|-
 +
! {{#if:{{{groupcode|}}}|[[:category:groupcodes|Group Code]]|}}
 +
| {{#arraymap:{{{groupcode|}}}|,|x|[[Group code was::x]]}}
 +
|-
 +
! {{#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]]}}
 +
|-
 +
! {{#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]]}}
 +
|-
 +
! [[Property:Served in sector|Program]]
 +
| [[Served in sector::{{{program|}}}]]
 +
|-
 +
! {{#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]]}}
 +
|-
 +
! {{#if:{{{fatalitycause|}}}|[[Property:Cause of fatality|Cause of fatality:]]|}}
 +
| {{#if:{{{fatalitycause|}}}|[[Cause of death::{{{fatalitycause}}}]]|}}<br>
 +
|-
 +
! {{#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:{{{country|}}}|Passed away while serving in: [[Special:Browse/{{{country}}}|{{{country}}}]]|}}
 +
|-
 +
! colspan="3"|{{#ask:[[Category:Volunteer memorial]][[Served in::{{{country}}}]]|format=list|limit=15}}
 +
|-
 +
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{fatalitydate|}}}|Passed away in: [[Property:Date of death|{{{fatalitydate}}}]]|}}
 +
|-
 +
! colspan="3"|{{#ask:[[Category:Volunteer memorial]][[Date of death::{{{fatalitydate}}}]]|format=list|limit=15}}
 +
|-
 +
! style="text-align: center; background-color:mediumorchid;" colspan="3"|Started service in [http://www.peacecorpswiki.org/Special:BrowseData/Years?_subcat={{{yearserviceended}}} {{{yearserviceended}}}]
 +
|-
 +
! colspan="3"|{{#ask:[[Category:Volunteer memorial]][[Ended service in::{{{yearserviceended}}}]]|format=list|limit=15}}
 +
|-
 +
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{state|}}}|From US State: [[{{{state}}}]]|}}
 +
|-
 +
! colspan="3"|{{#if:{{{state|}}}|{{#ask:[[Category:Volunteer memorial]][[Is from state::{{{state}}}]]|format=list|limit=15}}|}}
 +
|-
 +
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{program|}}}|[[{{{program}}}]] in {{{country}}}|}}
 +
|-
 +
! colspan="3"|{{#if:{{{program|}}}|{{#ask:[[Served in::{{{country}}}]][[Served in sector::{{{program}}}]][[Category:Volunteer memorial]]|format=list|limit=15}}|}}
 +
|-
 +
! style="text-align: center; background-color:mediumorchid;" colspan="3"|Other [[:Category:[[Served in::{{{country}}}]]_Volunteers|Volunteers]] who served in [[{{{country}}}]]
 +
|-
 +
! colspan="3"|{{#ask:[[Date of death::+]]|format=list|limit=15}}
 +
|}
 +
 +
{{#if:{{{map|}}}|{{Location
 +
|Coordinates={{#geocode:{{{site}}},{{{country}}}}}
 +
}}|}}
 +
 +
{{#if:{{{yearservicestarted|}}}[[category:{{{country}}}_Volunteers_{{{yearservicestarted}}}]]|}}
 +
{{#if:{{{yearserviceended|}}}[[category:{{{yearserviceended}}}]]|}}
 +
{{#if:{{{yearservicestarted|}}}[[category:{{{yearservicestarted}}}]]|}}
 +
{{#if:{{{site|}}}|[[category:{{{site|}}}]]|}}
 +
{{#if:{{{region|}}}|[[category:{{{region|}}}]]|}}
 +
{{#if:{{{groupcode|}}}|[[category:{{{groupcode|}}}]]|}}
 +
{{#if:{{{fatalitydate|}}}|[[category:Volunteer memorials]]|}}
 +
{{#if:{{{state|}}}|[[category:{{{state}}}]]|}}
 +
{{DEFAULTSORT:{{{lastname}}},{{{firstname}}} }}
 +
[[Category:volunteers]]
 +
</includeonly>

Revision as of 23:17, 4 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=
|map= ("yes" to display; "no" leave field blank)
}}

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=
|map= yes
|fatalitycause=
|fatalitydate=
}}







Template:memorialvolunteerbox

IN MEMORY OF
Joe Peaceman

Passed away: Jan 1 2005

Country Armenia
Started Service: 2008
Group Code A-17
Site(s) Jermuk, Vyke
Region(s) Vayots Dzor
Cause of death: auto
Passed away while serving in: Armenia
Passed away in: Jan 1 2005
Wyatt Ammon, Patricia Scataloni
Environment in Armenia
Other Volunteers who passed away while serving in Peace Corps.
William Ackerman, Darryl Adkins, Elizabeth Aldrich, Carlos Amador, Wyatt Ammon, Thomas Ashton, Marian Baciewicz, Bethanne Bahler, Gregor V. Baker, Gregory Baker, Alan C. Banner, Thomas Barakatt, Florice Barnum, John Beckner, Robert Benson … further results
Source: FOIA request #10076 (June 2010)
Personal tools
Namespaces
Variants
Actions
Tell Your Friends
Navigation
Peace Corps News
Timelines
Country Information
Groups
Help
About
Toolbox