Difference between revisions of "Template:Project"

From Peace Corps Wiki
Jump to: navigation, search
Line 64: Line 64:
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>[[Name of project::{{PAGENAME}}]]</big>
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>[[Name of project::{{PAGENAME}}]]</big>
 
|-
 
|-
! {{#if:{{{site|}}}|[[:category:sites|Community Name]]|}}
+
! {{#if:{{{site|}}}|[[Property:Name of community was|Community Name]]|}}
 
| {{#arraymap:{{{site|}}}|,|x|[[Name of community was::x]]}}
 
| {{#arraymap:{{{site|}}}|,|x|[[Name of community was::x]]}}
 
|-
 
|-
Line 79: Line 79:
 
| {{#if:{{{state|}}}|[[Is from state::{{{state}}}]]}}|}}
 
| {{#if:{{{state|}}}|[[Is from state::{{{state}}}]]}}|}}
 
|-
 
|-
! {{#if:{{{communityfunds|}}}|Funds community contributed|}}
+
! {{#if:{{{communityfunds|}}}|[[Property:Funds community contributed|Funds community contributed]]|}}
 
| {{#arraymap:{{{communityfunds|}}}|,|x|[[Funds community contributed::x]]}}
 
| {{#arraymap:{{{communityfunds|}}}|,|x|[[Funds community contributed::x]]}}
 
|-
 
|-
! {{#if:{{{communitypercentage|}}}|Percentage community contributed|}}
+
! {{#if:{{{communitypercentage|}}}|[[Property:Percentage community contributed|Percentage community contributed]]|}}
 
| {{#arraymap:{{{neededfunds|}}}|,|x|[[Percentage community contributed::x]]}}
 
| {{#arraymap:{{{neededfunds|}}}|,|x|[[Percentage community contributed::x]]}}
 
|-
 
|-
! {{#if:{{{neededfunds|}}}|Funds needed were|}}
+
! {{#if:{{{neededfunds|}}}|[[Property:Funds needed were|Funds needed were]]|}}
 
| {{#arraymap:{{{neededfunds|}}}|,|x|[[Funds needed were::x]]}}
 
| {{#arraymap:{{{neededfunds|}}}|,|x|[[Funds needed were::x]]}}
 
|-
 
|-
! {{#if:{{{requestedfunds|}}}|Funds requested|}}
+
! {{#if:{{{requestedfunds|}}}|[[Property:Funds requested|Funds requested]]}}
 
| {{#arraymap:{{{requestedfunds|}}}|,|x|[[Funds requested were::x]]}}
 
| {{#arraymap:{{{requestedfunds|}}}|,|x|[[Funds requested were::x]]}}
 
|-
 
|-
Line 94: Line 94:
 
| {{#arraymap:{{{projectnumber|}}}|,|x|[[Partnership project number was::x]]}}
 
| {{#arraymap:{{{projectnumber|}}}|,|x|[[Partnership project number was::x]]}}
 
|-
 
|-
! {{#if:{{{projectyear|}}}|[[:category:years|Year of project approval]]|}}
+
! {{#if:{{{projectyear|}}}|[[Property:Year of project approval|Year of project approval]]|}}
 
| {{#if:{{{projectyear|}}}|[[Year of approval was::{{{projectyear}}}]]|}}
 
| {{#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}}}]|}}
 
! 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}}}]][[Started service in::{{{projectyear}}}]]|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:#ccccff;" colspan="3"|Other [[:Category:[[Project in::{{{country}}}]]_projects|Projects]] in [[{{{country}}}]]
 
! style="text-align: center; background-color:#ccccff;" colspan="3"|Other [[:Category:[[Project in::{{{country}}}]]_projects|Projects]] in [[{{{country}}}]]
 
|-
 
|-
! colspan="3"|{{#ask:[[Projects in::{{{country}}}]]|format=list|limit=15}}
+
! colspan="3"|{{#ask:[[Project in::{{{country}}}]]|format=list|limit=15}}
 
|}
 
|}
  

Revision as of 15:26, 25 April 2009

This is the 'Project' template. The Project name is the title of the page. It should be called in the following format:

{{Project
|site=
|country=
|lastname=
|firstname=
|state=
|communityfunds=
|communitypercentage=
|requestedfunds=
|neededfunds=
|projectnumber=
|projectyear=
|map= ("yes" to display; "no" leave field blank)
}}

Edit the page to see the template text.

example:

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


Template:Project HELP

Project was named::Project{{#if:Albania|
|}}

{{#if:|{{{flickr}}}|}}{{#if:|[[Image:{{{image}}}|250px]]
|}} {{#if:|Project Type(s):|}} {{#if:|Project Sector(s):|}} {{#if:|[[Project sector was::{{{projectsector}}}]]|}} {{#if:|[[Image:{{{projectsector}}}.gif|20px]]
|}} {{#if:| [[Project sector was::{{{projectsector2}}}]]|}} {{#if:|[[Image:{{{projectsector2}}}.gif|20px]]|}}

Community Name:|}} ,|x|Name of community was::x}}{{#arraymap:|,|x|, Name of community was::x}}{{#arraymap:|,|x|, Name of community was::x}}{{#arraymap:|,|x|, Name of community was::x}}
Region:|}} ,|x|Name of region was::x}} {{#arraymap:|,|x|, Name of region was::x}}
Country:|}} Project in::Albania|}}{{#if:|, Project in::|}}
Volunteer(s) Name:|}} ,|x|Firstname::x}} {{#arraymap:Slattengren|,|x|Lastname::x}}{{#if:| , |}}{{#arraymap:|,|x|Firstname::x}} {{#arraymap:|,|x|Lastname::x}}
Volunteer(s) Homestate:|}} Is from state::Minnesota|}}{{#if:| , [[Is from state::{{{state2}}}]]|}}
Volunteer(s) Home city:|}} [[Is from town or city::{{{uscity}}}]]|}}{{#if:| and [[Is from state::{{{city2}}}]]|}}
Counterpart's Name:|}} ,|x|Firstname::x}} {{#arraymap:|,|x|Lastname::x}}
Affiliate organization:|}} ,|x|Affiliate organization was::x}}
Funds community contributed:|}} ,|x|Funds community contributed::x}}
Percentage community contributed:|}} ,|x|Percentage community contributed::x}}
Funds needed were:|}} ,|x|Funds needed were::x}}
Funds requested were:}} ,|x|Funds requested were::x}}
PPCP #:|}} ,|x|Partnership project number was::x}}
Year of project approval:|}} Year of approval was::2006|}}
Project located:|}} yes|}}
{{#ifeq: 2006{{{projecttype}}}|2008PCPP|
Partnership project number was::x}} http://www.peacecorpswiki.org/images/Donatebutton.JPG
|}}{{#ifeq: 2006{{{projecttype}}}|2009PCPP|
Partnership project number was::x}} http://www.peacecorpswiki.org/images/Donatebutton.JPG
|}}
{{#if:2006|Projects started in Albania 2006 (2).|}}
{{#if:2006|{{#ask:Project in::AlbaniaYear of approval was::2006|format=list|limit=15}}|}}
{{#if:Albania||}}Other [[:Category:Project in::Albania_projects|Projects]] in Albania (3).
{{#ask:Project in::Albania|format=list|limit=15}}
{{#if:Minnesota|30px|}}{{#if:Minnesota|Other [[:Category:Project in::Albania_projects|Projects]] by Volunteers from Minnesota (3).|}}
{{#if:Minnesota|{{#ask:Is from state::Minnesota|format=list|limit=15}}|}}
{{#if:|Other [[:Category:{{{projecttype}}}|{{{projecttype}}}]] Projects by Volunteers [[:Category:{{{projecttype}}}|(0)]].|}}
{{#if:|{{#ask:[[Project type was::{{{projecttype}}}]]|format=list|limit=10}}|}}
{{#if:|[[Image:{{{projectsector}}}.gif|30px]]|}}{{#if:|Other [[:Category:{{{projectsector}}}|{{{projectsector}}}]] Projects by Volunteers [[:Category:{{{projectsector}}}|(0)]].|}}
{{#if:|{{#ask:[[Project sector was::{{{projectsector}}}]]|format=list|limit=10}}|}}
{{#if:|[[Image:{{{projectsector2}}}.gif|30px]]|}}{{#if:|Other [[:Category:{{{projectsector2}}}|{{{projectsector2}}}]] Projects by Volunteers [[:Category:{{{projectsector2}}}|(0)]].|}}
{{#if:|{{#ask:[[Project sector was::{{{projectsector2}}}]]|format=list|limit=10}}|}}
Don't see your Project, Add yours! {{#forminput:Project}}
{{#if:Mapped Projects around Albania (3).|}}

{{#if:|This project location is: {{#if:{{#geocode:Peshkopi,Albania}}|[[Location Coordinates::{{#geocode:Peshkopi,Albania}}]]}} }}

{{#if:{{#compound_query:Location Coordinates::+;?Location Coordinates;icon=Project.png‎|format=openlayers|width=350|height=400}}|}}

{{#if:|Template:Appropediaprojects|}}

Info about the Project was named::Project {{#if:Albania||}} {{#if:|[[category:{{{country2}}}_projects]]|}} {{#if:2006||}} {{#if:2006||}} {{#if:Peshkopi||}} {{#if:|[[category:{{{site2}}}]]|}} {{#if:|[[category:{{{site3}}}]]|}} {{#if:|[[category:{{{site4}}}]]|}} {{#if:|[[category:{{{affiliateorganization}}}]]|}} {{#if:|[[category:{{{projecttype}}}]]|}} {{#if:|[[category:{{{projectsector}}}]]|}} {{#if:|[[category:{{{projectsector2}}}]]|}} {{#if:Minnesota||}} {{#if:Minnesota||}} {{#if:|[[category:{{{uscity}}}]]|}} {{#if:||}} {{#if:||}} {{#if:Slattengren||}}