Difference between pages "Form:Volunteer memorials" and "Template:Memorialvolunteerbox"

From Peace Corps Wiki
(Difference between pages)
Jump to: navigation, search
m (1 revision)
 
m (changing font color to gray)
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
{| border="2" class="noprint" class="toccolours" background-color:mediumorchid;" width: 250px;" cellspacing="3" cellpadding="3" rules="none"
+
This is the 'memorialvolunteerbox' template.
| colspan="2" align="center" | '''<big>[[Volunteer memorials|Volunteer Memorials]] to those who died while serving in Peace Corps</big>'''
+
It should be called in the following format:
|-
+
<pre>
|[[Image:Pcw logo.png|120px|none]]
+
{{memorialvolunteerinfobox
||This page is a listing of all the volunteers who passed away while serving in Peace Corps.
+
|firstname=
Please Add or Edit entries by entering the name: {{#forminput:Volunteer memorials}}
+
|middlename=
(most memorials have a page already) to the Peace Corps Wiki, enter the '''first''' and '''last name''' of the deceased below to create a page title.
+
|lastname=
|}
+
|country=
<br>
+
|yearservicestarted=
'''Volunteers in the following chart have information in the PCwiki:'''
+
|yearserviceended=
{{#ask:[[Date of death::+]]
+
|groupcode=
| ?Firstname
+
|site=
| ?Lastname
+
|site2=
| ?Date of death
+
|site3=
| ?Ended service in
+
|region=
| ?Served in
+
|region2=
| ?Name of community was
+
|region3=
| ?Served in sector
+
|program=
| ?Cause of death
+
|assignment01=
| sort = Date of death
+
|assignment02=
| order = ascending
+
|assignment03=
| limit = 300
+
|fatalitycause=
}}<br>
+
|fatalitydate=
 +
|map= ("yes" to display; "no" leave field blank)
 +
}}
 +
</pre>
  
This category uses the form [[Has default form::Volunteer memorials]].<br>
+
Edit the page to see the template text.
  
</noinclude><includeonly>
+
{|
{{{info|add title=Add Volunteer Info|edit title=Edit Volunteer Info|page name=<Volunteerinfobox[firstname]>_<Volunteerinfobox[firstname]>}}}
+
| 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>
  
</includeonly><includeonly>
 
{{{for template|Memorialvolunteerbox|label= Volunteer Memorial Information Box}}}
 
'''Firstname:''' {{{field|firstname|mandatory|input type=text}}}
 
  
'''Middlename:''' {{{field|middlename|input type=text}}}
+
|
  
'''Lastname:''' {{{field|lastname|mandatory|input type=text}}}
 
  
'''Country:''' {{{field|country|mandatory}}}
 
  
'''Service started:''' {{{field|yearservicestarted|}}}
 
  
'''Fatality date:''' {{{field|fatalitydate|mandatory}}}
 
  
'''Fatality cause:''' {{{field|fatalitycause|mandatory}}}
 
  
'''Site:''' {{{field|site}}}
 
  
'''Region:''' {{{field|region}}}
 
  
'''Groupcode:''' {{{field|groupcode}}}
 
  
'''State:''' {{{field|state}}}
 
  
'''City:''' {{{field|uscity}}}
+
{{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
 +
}}
 +
|}
  
'''Program:''' {{{field|program|chooser=volunteerbox}}}
+
</noinclude><includeonly>
 +
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #7FFFAA; color: gray; 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" |IN MEMORY OF<big>{{PAGENAME}}</big><br>
 +
[[Cause of death::{{{fatalitycause}}}<br>
 +
[[Date of death::{{{fatality}}}<br>
  
'''Assignment:''' {{{field|assignment01|chooser=volunteerbox}}}
+
|-
 
+
! [[:category:{{{country}}}|Country]]
{{{end template}}}
+
| [[Served in::{{{country|}}}]]
 
+
|-
 
+
! [[:category:{{{country}}}_Volunteers_{{{yearservicestarted}}}|Years:]]
'''Free text:'''
+
| [[Started service in::{{{yearservicestarted|}}}]]-[[Ended service in::{{{yearserviceended|}}}]]
 
+
|-
{{{standard input|free text}}}
+
! {{#if:{{{groupcode|}}}|[[:category:groupcodes|Group Code]]|}}
 
+
| {{#arraymap:{{{groupcode|}}}|,|x|[[Group code was::x]]}}
 
+
|-
{{{standard input|summary}}}
+
! {{#if:{{{site|}}}|[[:category:sites|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|}}}|[[:category:regions|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]]}}
 +
|-
 +
! [[:category:programs|Program]]
 +
| [[Served in sector::{{{program|}}}]]
 +
|-
 +
! {{#if:{{{assignment01|}}}|[[:category:assignments|Assignment(s)]]|}}
 +
| {{#arraymap:{{{assignment01|}}}|,|x|[[Primary assignment was::x]]}}{{#arraymap:{{{assignment02|}}}|,|x|, [[Primary assignment was::x]]}}{{#arraymap:{{{assignment03|}}}|,|x|, [[Primary assignment was::x]]}}
 +
|-
 +
! style="text-align: center; background-color:#7FFFAA;" colspan="3"|Started service in [http://www.peacecorpswiki.org/Special:BrowseData/Memorial?_subcat={{{yearservicestarted}}} {{{yearservicestarted}}}]
 +
|-
 +
! colspan="3"|{{#ask:[[Category:Volunteer memorial]]|format=list|limit=15}}
 +
|-
 +
! style="text-align: center; background-color:#ccccff;" colspan="3"|Started service in [http://www.peacecorpswiki.org/Special:BrowseData/Years?_subcat={{{yearservicestarted}}} {{{yearservicestarted}}}]
 +
|-
 +
! colspan="3"|{{#ask:[[Served in::{{{country}}}]][[Started service in::{{{yearservicestarted}}}]]|format=list|limit=15}}
 +
|-
 +
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{region|}}}|Region: [[{{{region}}}]]|}}
 +
|-
 +
! colspan="3"|{{#if:{{{region|}}}|{{#ask:[[Served in::{{{country}}}]][[Name of region was::{{{region}}}]]|format=list|limit=15}}|}}
 +
|-
 +
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{region2|}}}|Region: [[{{{region2}}}]]|}}
 +
|-
 +
! colspan="3"|{{#if:{{{region2|}}}|{{#ask:[[Served in::{{{country}}}]][[Name of region was::{{{region2}}}]]|format=list|limit=15}}|}}
 +
|-
 +
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{program|}}}|Program: [[{{{program}}}]]|}}
 +
|-
 +
! colspan="3"|{{#if:{{{program|}}}|{{#ask:[[Served in::{{{country}}}]][[Served in sector::{{{program}}}]]|format=list|limit=15}}|}}
 +
|-
 +
! style="text-align: center; background-color:#ccccff;" colspan="3"|Other [[:Category:[[Served in::{{{country}}}]]_Volunteers|Volunteers]] who served in [[{{{country}}}]]
 +
|-
 +
! colspan="3"|{{#ask:[[Served in::{{{country}}}]]|format=list|limit=15}}
 +
|}
  
{{{standard input|minor edit}}} {{{standard input|watch}}}
+
{{#if:{{{map|}}}|{{Location
 +
|Coordinates={{#geocode:{{{site}}},{{{country}}}}}
 +
}}|}}
  
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
+
[[category:{{{country}}}_Volunteers_{{{yearservicestarted}}}]]
 +
[[category:{{{yearservicestarted}}}]]
 +
{{#if:{{{site|}}}|[[category:{{{site|}}}]]}}
 +
{{#if:{{{region|}}}|[[category:{{{region|}}}]]|}}
 +
{{#if:{{{groupcode|}}}|[[category:{{{groupcode|}}}]]|}}
 +
{{#if:{{{fatalitydate|}}}|[[category:Voluteer memorial]]}}
 +
{{DEFAULTSORT:{{{lastname}}},{{{firstname}}} }}
 +
[[Category:volunteers]]
 
</includeonly>
 
</includeonly>

Revision as of 21:32, 26 April 2009

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

{{memorialvolunteerinfobox
|firstname=
|middlename=
|lastname=
|country=
|yearservicestarted=
|yearserviceended=
|groupcode= 
|site=
|site2=
|site3=
|region=
|region2=
|region3=
|program=
|assignment01=
|assignment02=
|assignment03=
|fatalitycause=
|fatalitydate=
|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
{{#if:Joe|Firstname::Joe|}} {{#if:|Middlename::|}} {{#if:Peaceman|Lastname::Peaceman|}}

{{#if:Jan 1 2005|Passed away: Date of death::Jan 1 2005|}}
{{#if:|[[Image:{{{image}}}|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::{{{ageatdeath}}}]]|}}
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}}}]]|}}