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

From Peace Corps Wiki
(Difference between pages)
Jump to: navigation, search
 
m (trying for gray text)
 
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=                (Multiple site allowed)
 
|region=              (primary secondary region)
 
|region2=            (secondary region)
 
|country=            (primary country)
 
|country2=            (second country)
 
 
|firstname=
 
|firstname=
 +
|middlename=
 
|lastname=
 
|lastname=
|state=
+
|country=
|uscity=
+
|yearservicestarted=
|affiliateorganization=
+
|yearserviceended=
|counterpartfirstname=
+
|groupcode=  
|counterpartlastname=
+
|site=
|communityfunds=
+
|site2=
|communitypercentage=
+
|site3=
|requestedfunds=
+
|region=
|neededfunds=
+
|region2=
|projectnumber=
+
|region3=
|projectyear=
+
|program=
|appropedia=
+
|assignment01=
|flickr=           (put this "<flickr>YOURPHOTONUMBER|center|m</flickr>" with your flickr photo# display at the top of the project box)
+
|assignment02=
|map=               ("yes" to display; "no" leave field blank)
+
|assignment03=
|image=            (Header uploaded to wiki put "IMAGENAME.FORMAT"  example: "flower.jpg")
+
|fatalitycause=
 +
|fatalitydate=
 +
|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 1:
 
  
 
{|
 
{|
 
+
| 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=
|image=Small_cucumber_plants.jpg
+
|program= Environment
 +
|assignment01=
 +
|assignment02=
 +
|assignment03=
 +
|map= yes
 +
|fatalitycause=
 +
|fatalitydate=
 
}}
 
}}
 
</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
 
|image=Small_cucumber_plants.jpg
 
}}
 
  
|}
 
  
  
Example 2:
 
  
{|
 
  
<pre>
 
{{Project
 
|projecttype= Independent
 
|site=Peshkopi
 
|project=Peshkopi School Library Investment Project
 
|country=Albania
 
|firstname=J
 
|lastname=Slattengren
 
|state=Minnesota
 
|uscity=
 
|communityfunds=$2205.00
 
|communitypercentage=
 
|communityfunds=
 
|requestedfunds=
 
|projectnumber=304-007
 
|projectyear=2008
 
}}
 
</pre>
 
  
|
 
  
{{Project
+
 
|projecttype= Independent
+
 
|site=Peshkopi
+
{{memorialvolunteerbox
|project=Peshkopi School Library Investment Project
+
|firstname= Joe
|country=Albania
+
|middlename=
|firstname=J
+
|lastname= Peaceman
|lastname=Slattengren
+
|country= Armenia
|state=Minnesota
+
|yearservicestarted= 2008
|communityfunds=$2205.00
+
|yearserviceended= 2010
|projectnumber=304-007
+
|groupcode= A-17
|projectyear=2008
+
|site= Jermuk
|flickr=<flickr>3520529070|center|m</flickr>
+
|site2=
 +
|site3= Vyke
 +
|region= Vayots Dzor
 +
|region2=  
 +
|region3=
 +
|program= Environment
 +
|assignment01=
 +
|assignment02=
 +
|assignment03=
 +
|map= yes
 +
|fatalitycause=auto
 +
|fatalitydate=Jan 1 2005
 
}}
 
}}
 
 
|}
 
|}
  
 
</noinclude><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 #CC0000; background-color: #FFFFFF; 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:Project]]''</small></div><br>
+
! style="text-align: center; background-color:#cc0000;" colspan="2"; color=gray; |IN MEMORY OF <big>{{PAGENAME}}</big><br>
<big>[[Project was named::{{PAGENAME}}]]</big><br>
+
[[Cause of death::{{{fatalitycause}}}]]<br>
{{#if:{{{flickr|}}}|{{{flickr}}}|}}{{#if:{{{image|}}}|[[Image:{{{image}}}|250px]]|}}<br>
+
[[Date of death::{{{fatalitydate}}}]]<br>
{{#if:{{{projecttype|}}}|[[Property:Project type was|Project Type(s):]]|}} {{#arraymap:{{{projecttype|}}}|,|x|[[Project type was::x]]}}
+
 
|-
 
! {{#if:{{{site|}}}|[[Property:Name of community was|Community Name]]|}}
 
| {{#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:{{{site4|}}}|,|x|, [[Name of community was::x]]}}
 
|-
 
! {{#if:{{{region|}}}|[[Property:Name of region was|Region]]|}}
 
| {{#arraymap:{{{region|}}}|,|x|[[Name of region was::x]]}} {{#arraymap:{{{region2|}}}|,|x|, [[Name of region was::x]]}}
 
|-
 
! {{#if:{{{country|}}}|[[Property:Project in|Country]]|}}
 
| {{#if:{{{country|}}}|[[Project in::{{{country|}}}]]|}}{{#if:{{{country2|}}}|,[[Project in::{{{country2|}}}]]|}}
 
|-
 
! {{#if:{{{lastname|}}}|[[:category:volunteers|Volunteer's Name]]|}}
 
| {{#arraymap:{{{firstname|}}}|,|x|[[Firstname::x]]}} {{#arraymap:{{{lastname|}}}|,|x|[[Lastname::x]]}}
 
 
|-
 
|-
! {{#if:{{{state|}}}|[[Property:Is from state|Volunteer's Homestate]]|}}
+
! [[:category:{{{country}}}|Country]]
| {{#if:{{{state|}}}|[[Is from state::{{{state}}}]]|}}
+
| [[Served in::{{{country|}}}]]
 
|-
 
|-
! {{#if:{{{uscity|}}}|[[Property:Is from state|Volunteer's Home city]]|}}
+
! [[:category:{{{country}}}_Volunteers_{{{yearservicestarted}}}|Years:]]
| {{#if:{{{uscity|}}}|[[Is from town or city::{{{uscity}}}]]|}}
+
| [[Started service in::{{{yearservicestarted|}}}]]-[[Ended service in::{{{yearserviceended|}}}]]
 
|-
 
|-
! {{#if:{{{counterpartlastname|}}}|[[Property:Lastname|Counterpart's Name]]|}}
+
! {{#if:{{{groupcode|}}}|[[:category:groupcodes|Group Code]]|}}
| {{#arraymap:{{{counterpartfirstname|}}}|,|x|[[Firstname::x]]}} {{#arraymap:{{{counterpartlastname|}}}|,|x|[[Lastname::x]]}}
+
| {{#arraymap:{{{groupcode|}}}|,|x|[[Group code was::x]]}}
 
|-
 
|-
! {{#if:{{{affiliateorganization|}}}|[[Property:Affiliate organization was|Affiliate organization]]|}}
+
! {{#if:{{{site|}}}|[[:category:sites|Site(s)]]|}}
| {{#arraymap:{{{affiliateorganization|}}}|,|x|[[Affiliate organization 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:{{{communityfunds|}}}|[[Property:Funds community contributed|Funds community contributed]]|}}
+
! {{#if:{{{region|}}}|[[:category:regions|Region(s)]]|}}
| {{#arraymap:{{{communityfunds|}}}|,|x|[[Funds community contributed::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:{{{communitypercentage|}}}|[[Property:Percentage community contributed|Percentage community contributed]]|}}
+
! [[:category:programs|Program]]
| {{#arraymap:{{{communitypercentage|}}}|,|x|[[Percentage community contributed::x]]}}
+
| [[Served in sector::{{{program|}}}]]
 
|-
 
|-
! {{#if:{{{neededfunds|}}}|[[Property:Funds needed were|Funds needed were]]|}}
+
! {{#if:{{{assignment01|}}}|[[:category:assignments|Assignment(s)]]|}}
| {{#arraymap:{{{neededfunds|}}}|,|x|[[Funds needed were::x]]}}
+
| {{#arraymap:{{{assignment01|}}}|,|x|[[Primary assignment was::x]]}}{{#arraymap:{{{assignment02|}}}|,|x|, [[Primary assignment was::x]]}}{{#arraymap:{{{assignment03|}}}|,|x|, [[Primary assignment was::x]]}}
 
|-
 
|-
! {{#if:{{{requestedfunds|}}}|[[Property:Funds requested were|Funds requested were]]}}
+
! style="text-align: center; background-color:#CC0000;" colspan="3"|In Memory of those who passed in [http://www.peacecorpswiki.org/Special:BrowseData/Memorial?_subcat={{{yearservicestarted}}} {{{yearservicestarted}}}]
| {{#arraymap:{{{requestedfunds|}}}|,|x|[[Funds requested were::x]]}}
 
 
|-
 
|-
! {{#if:{{{projectnumber|}}}|[[Property:Partnership project number was|PPCP #]]|}}
+
! colspan="3"|{{#ask:[[Category:Volunteer memorial]]|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:#CC0000;" colspan="3"|Started service in [http://www.peacecorpswiki.org/Special:BrowseData/Years?_subcat={{{yearservicestarted}}} {{{yearservicestarted}}}]
| {{#if:{{{projectyear|}}}|[[Year of approval was::{{{projectyear}}}]]|}}
 
 
|-
 
|-
! colspan="3" | {{#ifeq: {{{projectyear}}}{{{projecttype}}}|2008PCPP|<center><span class="plainlinks">[https://www.peacecorps.gov/index.cfm?shell=resources.donors.contribute.projDetail&projdesc={{#arraymap:{{{projectnumber|}}}|,|x|[[Partnership project number was::x]]}} http://www.peacecorpswiki.org/images/Donatebutton.JPG]</span></center>|}}{{#ifeq: {{{projectyear}}}{{{projecttype}}}|2009PCPP|<center><span class="plainlinks">[https://www.peacecorps.gov/index.cfm?shell=resources.donors.contribute.projDetail&projdesc={{#arraymap:{{{projectnumber|}}}|,|x|[[Partnership project number was::x]]}} http://www.peacecorpswiki.org/images/Donatebutton.JPG]</span></center>|}}
+
! colspan="3"|{{#ask:[[Served in::{{{country}}}]][[Started service in::{{{yearservicestarted}}}]]|format=list|limit=15}}
 
|-
 
|-
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{projectyear|}}}|[[{{{projectyear}}}|Projects started]] in [[{{{country}}}]] [http://www.peacecorpswiki.org/Special:BrowseData/Years?_subcat={{{projectyear}}} {{{projectyear}}}]|}}
+
! style="text-align: center; background-color:#CC0000;" colspan="3"|{{#if:{{{region|}}}|Region: [[{{{region}}}]]|}}
 
|-
 
|-
! colspan="3"|{{#if:{{{projectyear|}}}|{{#ask:[[Project in::{{{country}}}]][[Year of approval was::{{{projectyear}}}]]|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:#ccccff;" colspan="3"|Other [[:Category:[[Project in::{{{country}}}]]_projects|Projects]] in [[{{{country}}}]]
+
! style="text-align: center; background-color:#CC0000;" colspan="3"|{{#if:{{{region2|}}}|Region: [[{{{region2}}}]]|}}
 
|-
 
|-
! colspan="3"|{{#ask:[[Project in::{{{country}}}]]|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:#ccccff;" colspan="3"|{{#if:{{{state|}}}|Other [[:Category:[[Project in::{{{country}}}]]_projects|Projects]] by [[Volunteers]] from [[:Category:{{{state}}}|{{{state}}}]]|}}
+
! style="text-align: center; background-color:#CC0000;" colspan="3"|{{#if:{{{program|}}}|Program: [[{{{program}}}]]|}}
 
|-
 
|-
! colspan="3"|{{#if:{{{state|}}}|{{#ask:[[Is from state::{{{state}}}]]|format=list|limit=15}}|}}
+
! 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"|{{#if:{{{projecttype|}}}|Other [[:Category:{{{projecttype}}}|{{{projecttype}}}]] [[Projects]] by [[Volunteers]]|}}
+
! style="text-align: center; background-color:#CC0000;" colspan="3"|Other [[:Category:[[Served in::{{{country}}}]]_Volunteers|Volunteers]] who served in [[{{{country}}}]]
 
|-
 
|-
! colspan="3"|{{#if:{{{projecttype|}}}|{{#ask:[[Project type was::{{{projecttype}}}]]|format=list|limit=10}}|}}
+
! colspan="3"|{{#ask:[[Served in::{{{country}}}]]|format=list|limit=15}}
|-
 
! style="text-align: center; background-color:#ccccff;" colspan="3"|'''Don't see your Project, Add yours!''' {{#forminput:Project}}
 
 
|}
 
|}
  
Line 191: Line 149:
 
|Coordinates={{#geocode:{{{site}}},{{{country}}}}}
 
|Coordinates={{#geocode:{{{site}}},{{{country}}}}}
 
}}|}}
 
}}|}}
{{#if:{{{appropedia|}}}|{{Appropediaprojects}}|}}
 
 
'''Info about the [[Project was named::{{PAGENAME}}]]'''
 
[[category:projects]]
 
{{#if:{{{country|}}}|[[category:{{{country}}}_projects]]|}}
 
{{#if:{{{country2|}}}|[[category:{{{country2}}}_projects]]|}}
 
{{#if:{{{projectyear|}}}|[[category:{{{projectyear}}}]]|}}
 
{{#if:{{{site|}}}|[[category:{{{site}}}]]|}}
 
{{#if:{{{site2|}}}|[[category:{{{site2}}}]]|}}
 
{{#if:{{{site3|}}}|[[category:{{{site3}}}]]|}}
 
{{#if:{{{site4|}}}|[[category:{{{site4}}}]]|}}
 
{{#if:{{{affiliateorganization|}}}|[[category:{{{affiliateorganization}}}]]|}}
 
{{#if:{{{projecttype|}}}|[[category:{{{projecttype}}}]]|}}
 
{{#if:{{{state|}}}|[[category:{{{state}}}]]|}}
 
{{#if:{{{uscity|}}}|[[category:{{{uscity}}}]]|}}
 
  
 +
[[category:{{{country}}}_Volunteers_{{{yearservicestarted}}}]]
 +
[[category:{{{yearservicestarted}}}]]
 +
{{#if:{{{site|}}}|[[category:{{{site|}}}]]}}
 +
{{#if:{{{region|}}}|[[category:{{{region|}}}]]|}}
 +
{{#if:{{{groupcode|}}}|[[category:{{{groupcode|}}}]]|}}
 +
{{#if:{{{fatalitydate|}}}|[[category:Volunteer memorial]]}}
 +
{{DEFAULTSORT:{{{lastname}}},{{{firstname}}} }}
 +
[[Category:volunteers]]
 
</includeonly>
 
</includeonly>

Revision as of 20:21, 26 April 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=
|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}}}]]|}}