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

From Peace Corps Wiki
(Difference between pages)
Jump to: navigation, search
 
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the 'Project' template. The Project name is the title of the page.
+
This is the 'memorialvolunteerbox' template.
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
{{Project
+
{{memorialvolunteerbox
|projecttype=
+
|site=
+
|region=
+
|country=
+
 
|firstname=
 
|firstname=
 +
|middlename=
 
|lastname=
 
|lastname=
 +
|country=
 +
|yearservicestarted=
 +
|yearserviceended=
 +
|groupcode=
 +
|site=
 +
|site2=
 +
|site3=
 +
|region=
 +
|region2=
 +
|region3=
 +
|program=
 +
|assignment01=
 +
|assignment02=
 +
|assignment03=
 +
|fatalitycause=
 +
|fatalitydate=
 
|state=
 
|state=
 
|uscity=
 
|uscity=
|affiliateorganization=
 
|counterpartfirstname=
 
|counterpartlastname=
 
|communityfunds=
 
|communitypercentage=
 
|requestedfunds=
 
|neededfunds=
 
|projectnumber=
 
|projectyear=
 
|appropedia=
 
|map= ("yes" to display; "no" leave field blank)
 
 
}}
 
}}
 
</pre>
 
</pre>
 +
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
[[Category:templates infoboxes]]
 
[[Category:templates projects]]
 
 
example:
 
  
 
{|
 
{|
 
+
| colspan="2" align="center" | '''<big>EXAMPLE:</big>'''
<pre>
+
|-
{{Project
+
|
|projecttype= PCPP
+
<pre>{{memorialvolunteerbox
|site=Peshkopi
+
|firstname= Joe
|project=Peshkopi School Library Investment Project
+
|middlename=
|country=Albania
+
|lastname= Peaceman
|firstname=J
+
|country= Armenia
|lastname=Slattengren
+
|yearservicestarted= 2008
|state=Minnesota
+
|yearserviceended= 2010
|uscity=
+
|groupcode= A-17
|communityfunds=$2205.00
+
|site= Jermuk
|communitypercentage=
+
|site2=
|communityfunds=
+
|site3= Vyke
|requestedfunds=
+
|region= Vayots Dzor
|projectnumber=304-007
+
|region2=  
|projectyear=2006
+
|region3=
 +
|program= Environment
 +
|assignment01=
 +
|assignment02=
 +
|assignment03=
 +
|fatalitycause=  
 +
|fatalitydate= Jan 1 2005
 
}}
 
}}
 
</pre>
 
</pre>
 +
  
 
|
 
|
  
{{Project
 
|projecttype= PCPP
 
|site=Peshkopi
 
|project=Peshkopi School Library Investment Project
 
|country=Albania
 
|firstname=J
 
|lastname=Slattengren
 
|state=Minnesota
 
|communityfunds=$2205.00
 
|projectnumber=304-007
 
|projectyear=2006
 
}}
 
  
 +
 +
 +
 +
 +
 +
 +
 +
 +
{{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=auto
 +
|fatalitydate=Jan 1 2005
 +
}}
 
|}
 
|}
  
</noinclude><includeonly>
+
[[Category:templates]]
{| 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;"
+
[[Category:templates infoboxes]]
! style="text-align: center; background-color:#ccccff;" colspan="2" |<div align="right"><small>''[[Template:Project]]''</small></div>
+
[[Category:templates volunteers]]
<big>[[Name of project::{{PAGENAME}}]]</big>
+
[[Category:templates memorials]]
  
{{#if:{{{projecttype|}}}|[[Property:Project type was|Project Type(s):]]|}} {{#arraymap:{{{projecttype|}}}|,|x|[[Project type was::x]]}}
+
</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" |<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>
 +
{{#if:{{{fatalitydate|}}}|Passed away on: [[Date of death::{{{fatalitydate}}}]]|}}<br>
 
|-
 
|-
! {{#if:{{{site|}}}|[[Property:Name of community was|Community Name]]|}}
+
! [[:category:{{{country}}}|Country]]
| {{#arraymap:{{{site|}}}|,|x|[[Name of community was::x]]}}
+
| [[Served in::{{{country|}}}]]
 
|-
 
|-
! {{#if:{{{region|}}}|[[Property:Name of region was|Region]]|}}
+
! {{#if:{{{yearservicestarted|}}}|[[:category:{{{country}}}_Volunteers_{{{yearservicestarted}}}|Started Service:]]|}
| {{#arraymap:{{{region|}}}|,|x|[[Name of region was::x]]}}
+
| {{#if:{{{yearservicestarted|}}}|[[Started service in::{{{yearservicestarted}}}]]|}}
 
|-
 
|-
! {{#if:{{{country|}}}|[[Property:Project in|Country]]|}}
+
! {{#if:{{{groupcode|}}}|[[:category:groupcodes|Group Code]]|}}
| {{#if:{{{country|}}}|[[Project in::{{{country|}}}]]|}}
+
| {{#arraymap:{{{groupcode|}}}|,|x|[[Group code was::x]]}}
 
|-
 
|-
! {{#if:{{{lastname|}}}|[[:category:volunteers|Volunteer's Name]]|}}
+
! {{#if:{{{site|}}}|[[Property:Name of community was|Site(s)]]|}}
| {{#arraymap:{{{firstname|}}}|,|x|[[Firstname::x]]}} {{#arraymap:{{{lastname|}}}|,|x|[[Lastname::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:{{{state|}}}|[[Property:Is from state|Volunteer's Homestate]]|}}
+
! {{#if:{{{region|}}}|[[Property:Name of region was|Region(s)]]|}}
| {{#if:{{{state|}}}|[[Is from state::{{{state}}}]]|}}
+
| {{#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:{{{uscity|}}}|[[Property:Is from state|Volunteer's Home city]]|}}
+
! {{#if:{{{program|}}}[[Property:Served in sector|Program]]|}}
| {{#if:{{{uscity|}}}|[[Is from town or city::{{{uscity}}}]]|}}
+
| {{#if:{{{program|}}}[[Served in sector::{{{program}}}]]|}}
 
|-
 
|-
! {{#if:{{{counterpartlastname|}}}|[[Property:Lastname|Counterpart's Name]]|}}
+
! {{#if:{{{assignment01|}}}|[[Property:Primary assignment was|Assignment(s)]]|}}
| {{#arraymap:{{{counterpartfirstname|}}}|,|x|[[Firstname::x]]}} {{#arraymap:{{{counterpartlastname|}}}|,|x|[[Lastname::x]]}}
+
| {{#arraymap:{{{assignment01|}}}|,|x|[[Primary assignment was::x]]}}{{#arraymap:{{{assignment02|}}}|,|x|, [[Primary assignment was::x]]}}{{#arraymap:{{{assignment03|}}}|,|x|, [[Primary assignment was::x]]}}
 
|-
 
|-
! {{#if:{{{affiliateorganization|}}}|[[Property:Affiliate organization was|Affiliate organization]]|}}
+
! {{#if:{{{fatalitycause|}}}|[[Property:Cause of fatality|Cause of fatality:]]|}}  
| {{#arraymap:{{{affiliateorganization|}}}|,|x|[[Affiliate organization was::x]]}}
+
| {{#if:{{{fatalitycause|}}}|[[Cause of death::{{{fatalitycause}}}]]|}}<br>
 
|-
 
|-
! {{#if:{{{communityfunds|}}}|[[Property:Funds community contributed|Funds community contributed]]|}}
+
! {{#if:{{{state|}}}|[[Property:Is from state|Volunteer's Homestate]]|}}
| {{#arraymap:{{{communityfunds|}}}|,|x|[[Funds community contributed::x]]}}
+
| {{#if:{{{state|}}}|[[Is from state::{{{state}}}]]|}}
 
|-
 
|-
! {{#if:{{{communitypercentage|}}}|[[Property:Percentage community contributed|Percentage community contributed]]|}}
+
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{country|}}}|Passed away while serving in: [[Special:Browse/{{{country}}}|{{{country}}}]]|}}
| {{#arraymap:{{{Percentage community contributed|}}}|,|x|[[Percentage community contributed::x]]}}
+
 
|-
 
|-
! {{#if:{{{neededfunds|}}}|[[Property:Funds needed were|Funds needed were]]|}}
+
! colspan="3"|{{#ask:[[Category:Volunteer memorial]][[Served in::{{{country}}}]]|format=list|limit=15}}
| {{#arraymap:{{{neededfunds|}}}|,|x|[[Funds needed were::x]]}}
+
 
|-
 
|-
! {{#if:{{{requestedfunds|}}}|[[Property:Funds requested|Funds requested]]}}
+
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{fatalitydate|}}}|Passed away in: [[Property:Date of death|{{{fatalitydate}}}]]|}}
| {{#arraymap:{{{requestedfunds|}}}|,|x|[[Funds requested were::x]]}}
+
 
|-
 
|-
! {{#if:{{{projectnumber|}}}|[[Property:Partnership project number was|PPCP #]]|}}
+
! colspan="3"|{{#if:{{{fatalitydate|}}}|{{#ask:[[Category:Volunteer memorial]][[Date of death::{{{fatalitydate}}}]]|format=list|limit=15}}|}}
| {{#arraymap:{{{projectnumber|}}}|,|x|[[Partnership project number was::x]]}}
+
 
|-
 
|-
! {{#if:{{{projectyear|}}}|[[Property:Year of approval was|Year of project approval]]|}}
+
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{state|}}}|From US State: [[{{{state}}}]]|}}
| {{#if:{{{projectyear|}}}|[[Year of approval was::{{{projectyear}}}]]|}}
+
 
|-
 
|-
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{projectyear|}}}|[[:category:years|Started]] in [[{{{country}}}]] [http://www.peacecorpswiki.org/Special:BrowseData/Years?_subcat={{{projectyear}}} {{{projectyear}}}]|}}
+
! colspan="3"|{{#if:{{{state|}}}|{{#ask:[[Category:Volunteer memorial]][[Is from state::{{{state}}}]]|format=list|limit=15}}|}}
 
|-
 
|-
! colspan="3"|{{#if:{{{projectyear|}}}|{{#ask:[[Project in::{{{country}}}]][[Year of approval was::{{{projectyear}}}]]|format=list|limit=15}}|}}
+
! style="text-align: center; background-color:mediumorchid;" colspan="3"|{{#if:{{{program|}}}|[[{{{program}}}]] in {{{country}}}|}}
 
|-
 
|-
! style="text-align: center; background-color:#ccccff;" colspan="3"|Other [[:Category:[[Project in::{{{country}}}]]_projects|Projects]] in [[{{{country}}}]]
+
! colspan="3"|{{#if:{{{program|}}}|{{#ask:[[Served in::{{{country}}}]][[Served in sector::{{{program}}}]][[Category:Volunteer memorial]]|format=list|limit=15}}|}}
 
|-
 
|-
! colspan="3"|{{#ask:[[Project in::{{{country}}}]]|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; background-color:#ccccff;" colspan="3"|Other [[:Category:[[Project in::{{{country}}}]]_projects|Projects]] by Volunteers from [[Is from state::{{{state}}}]]
+
! colspan="3"|{{#ask:[[Date of death::+]]|format=list|limit=15}}
|-
+
! colspan="3"|{{#ask:[[Is from state::{{{state}}}]]|format=list|limit=15}}
+
 
|}
 
|}
  
{{#if:{{{map|}}}|{{Location
+
{{#if:{{{yearservicestarted|}}}[[category:{{{country}}}_Volunteers_{{{yearservicestarted}}}]]|}}  
|Coordinates={{#geocode:{{{site}}},{{{country}}}}}
+
{{#if:{{{yearserviceended|}}}[[category:{{{yearserviceended}}}]]|}}
}}|}}
+
{{#if:{{{yearservicestarted|}}}[[category:{{{yearservicestarted}}}]]|}}
 
+
{{#if:{{{site|}}}|[[category:{{{site|}}}]]|}}  
 
+
{{#if:{{{region|}}}|[[category:{{{region|}}}]]|}}  
'''Info about the [[Project was named::{{PAGENAME}}]]'''
+
{{#if:{{{groupcode|}}}|[[category:{{{groupcode|}}}]]|}}
[[category:projects]]
+
{{#if:{{{fatalitydate|}}}|[[category:Volunteer memorials]]|}}
{{#if:{{{country|}}}|[[category:{{{country}}}_projects]]|}}
+
{{#if:{{{state|}}}|[[category:{{{state}}}]]|}}
{{#if:{{{projectyear|}}}|[[category:{{{projectyear}}}]]|}}
+
{{DEFAULTSORT:{{{lastname}}},{{{firstname}}} }}
{{#if:{{{site|}}}|[[category:{{{site}}}]]|}}
+
[[Category:volunteers]]
{{#if:{{{affiliateorganization|}}}|[[category:{{{affiliateorganization}}}]]|}}
+
{{#if:{{{projecttype|}}}|[[category:{{{projecttype}}}]]|}}
+
{{#if:{{{appropedia|}}}|{{Appropediapage}}|}}
+
 
</includeonly>
 
</includeonly>

Revision as of 11:19, 10 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=
}}

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







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