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

From Peace Corps Wiki
(Difference between pages)
Jump to: navigation, search
 
 
Line 1: Line 1:
<noinclude>
+
{{#ask:[[Location Coordinates::+]][[Category:{{{1}}}_sites]]|limit=500|?Location Coordinates|format=googlemap|width=600|height=300}}
This is the 'Project' template. The Project name is the title of the page.
+
It should be called in the following format:
+
<pre>
+
{{Project
+
|projecttype=  
+
|site=
+
|region=
+
|country=
+
|lastname=
+
|firstname=
+
|state=
+
|affiliateorganization=
+
|counterpartfirstname=
+
|counterpartlastname=
+
|communityfunds=
+
|communitypercentage=
+
|requestedfunds=
+
|neededfunds=
+
|projectnumber=
+
|projectyear=
+
|map= ("yes" to display; "no" leave field blank)
+
}}
+
</pre>
+
Edit the page to see the template text.
+
  
[[Category:templates infoboxes]]
+
{| border="2" class="noprint" class="toccolours" style="clear:right; float:right; background: #f9f9f9; width: 250px;" cellspacing="3" cellpadding="3" rules="none"
[[Category:templates projects]]
+
| colspan="2" align="center" | '''<big>Volunteers who served in [[{{{1}}}]]</big>'''
 
+
example:
+
 
+
{|
+
 
+
<pre>
+
{{Project
+
|projecttype= PCPP
+
|site=Peshkopi
+
|project=Peshkopi School Library Investment Project
+
|country=Albania
+
|firstname=J
+
|lastname=Slattengren
+
|state=Minnesota
+
|communityfunds=$2205.00
+
|communitypercentage=
+
|communityfunds=
+
|requestedfunds=
+
|projectnumber=304-007
+
|projectyear=2006
+
}}
+
</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
+
}}
+
 
+
|}
+
 
+
</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="text-align: center; background-color:#ccccff;" colspan="2" |<big>[[Name of project::{{PAGENAME}}]]</big>
+
{{#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]]|}}
+
|{{#if: Image:Flag_of_{{{1}}}.svg ‎| [[Image:Flag_of_{{{1}}}.svg‎|50px|none]] | }}
| {{#arraymap:{{{site|}}}|,|x|[[Name of community was::x]]}}
+
||This page is a listing of all the volunteers who have served in [[{{{1}}}]].
|-
+
If you served in [[{{{1}}}]],please '''[[Form:Volunteer | create a page]]'''on yourself. Thanks!
! {{#if:{{{country|}}}|[[Property:Project in|Country]]|}}
+
| {{#arraymap:{{{region|}}}|,|x|[[Name of region was::x]]}}{{#if:{{{country|}}}|[[Project in::{{{country|}}}]]|}}
+
|-
+
! {{#if:{{{lastname|}}}|[[:category:volunteers|Volunteer's Name]]|}}
+
| {{#arraymap:{{{firstname|}}}|,|x|[[Firstname::x]]}} {{#arraymap:{{{lastname|}}}|,|x|[[Lastname::x]]}}
+
|-
+
! {{#if:{{{state|}}}|[[:category:homestates|Volunteer's Homestate]]|}}
+
| {{#if:{{{state|}}}|[[Is from state::{{{state}}}]]|}}
+
|-
+
! {{#if:{{{counterpartlastname|}}}|[[:category:counterparts|Counterpart's Name]]|}}
+
| {{#arraymap:{{{counterpartfirstname|}}}|,|x|[[Firstname::x]]}} {{#arraymap:{{{counterpartlastname|}}}|,|x|[[Lastname::x]]}}
+
|-
+
! {{#if:{{{affiliateorganization|}}}|[[Property:Affiliate organization was|Affiliate organization]]|}}
+
| {{#arraymap:{{{affiliateorganization|}}}|,|x|[[Affiliate organization was::x]]}}
+
|-
+
! {{#if:{{{communityfunds|}}}|[[Property:Funds community contributed|Funds community contributed]]|}}
+
| {{#arraymap:{{{communityfunds|}}}|,|x|[[Funds community contributed::x]]}}
+
|-
+
! {{#if:{{{communitypercentage|}}}|[[Property:Percentage community contributed|Percentage community contributed]]|}}
+
| {{#arraymap:{{{neededfunds|}}}|,|x|[[Percentage community contributed::x]]}}
+
|-
+
! {{#if:{{{neededfunds|}}}|[[Property:Funds needed were|Funds needed were]]|}}
+
| {{#arraymap:{{{neededfunds|}}}|,|x|[[Funds needed were::x]]}}
+
|-
+
! {{#if:{{{requestedfunds|}}}|[[Property:Funds requested|Funds requested]]}}
+
| {{#arraymap:{{{requestedfunds|}}}|,|x|[[Funds requested were::x]]}}
+
|-
+
! {{#if:{{{projectnumber|}}}|[[Property:Partnership project number was|PPCP #]]|}}
+
| {{#arraymap:{{{projectnumber|}}}|,|x|[[Partnership project number was::x]]}}
+
|-
+
! {{#if:{{{projectyear|}}}|[[Property:Year of project approval|Year of project approval]]|}}
+
| {{#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:{{{projectyear|}}}|{{#ask:[[Project in::{{{country}}}]][[Year of approval was::{{{projectyear}}}]]|format=list|limit=15}}|}}
+
|-
+
! style="text-align: center; background-color:#ccccff;" colspan="3"|Other [[:Category:[[Project in::{{{country}}}]]_projects|Projects]] in [[{{{country}}}]]
+
|-
+
! colspan="3"|{{#ask:[[Project in::{{{country}}}]]|format=list|limit=15}}
+
 
|}
 
|}
 +
'''Volunteers and Sites in the following chart have information in the PCwiki:'''
 +
{{#ask:[[Served in::{{{1}}}]]
 +
| ?Started service in
 +
| ?Name of community was
 +
| ?Name of Region was
 +
| sort = Name of community was
 +
| order = ascending
 +
| limit = 100
 +
}}<br>
 +
[[category:sites]]
 +
[[category:{{{1}}}]]
  
{{#if:{{{map|}}}|{{Location
+
}}
|Coordinates={{#geocode:{{{site}}},{{{country}}}}}
+
}}|}}
+
 
+
 
+
'''Info about the [[Project was named::{{PAGENAME}}]]'''
+
[[category:projects]]
+
{{#if:{{{country|}}}|[[category:{{{country}}}_projects]]|}}
+
{{#if:{{{projectyear|}}}|[[category:{{{projectyear}}}]]|}}
+
{{#if:{{{site|}}}|[[category:{{{site}}}]]|}}
+
{{#if:{{{affiliateorganization|}}}|[[category:{{{affiliateorganization}}}]]|}}
+
{{#if:{{{projecttype|}}}|[[category:{{{projecttype}}}]]|}}
+
</includeonly>
+

Revision as of 15:17, 26 March 2009

{{#ask:Location Coordinates::+[[Category:{{{1}}}_sites]]|limit=500|?Location Coordinates|format=googlemap|width=600|height=300}}

Volunteers who served in [[{{{1}}}]]
[[Image:Flag_of_{{{1}}}.svg‎|50px|none]] | }} This page is a listing of all the volunteers who have served in [[{{{1}}}]].

If you served in [[{{{1}}}]],please create a pageon yourself. Thanks!

Volunteers and Sites in the following chart have information in the PCwiki: {{#ask:[[Served in::{{{1}}}]] | ?Started service in | ?Name of community was | ?Name of Region was | sort = Name of community was | order = ascending | limit = 100 }}
[[category:{{{1}}}]]

}}