Difference between revisions of "Template:Project"

From Peace Corps Wiki
Jump to: navigation, search
(5 intermediate revisions by one user not shown)
Line 5: Line 5:
 
{{Project
 
{{Project
 
|projecttype=  
 
|projecttype=  
|site=
+
|site=               (Multiple site allowed)
|region=
+
|region=             (primary secondary region)
|country=
+
|region2=            (secondary region)
 +
|country=             (primary country)
 +
|country2=            (second country)
 
|firstname=
 
|firstname=
 
|lastname=
 
|lastname=
Line 71: Line 73:
  
  
Example 1:
+
Example 2:
  
 
{|
 
{|
Line 125: Line 127:
 
|-
 
|-
 
! {{#if:{{{country|}}}|[[Property:Project in|Country]]|}}
 
! {{#if:{{{country|}}}|[[Property:Project in|Country]]|}}
| {{#if:{{{country|}}}|[[Project in::{{{country|}}}]]|}}
+
| {{#if:{{{country|}}}|[[Project in::{{{country|}}}]]|}}{{#if:{{{country2|}}}|,[[Project in::{{{country2|}}}]]|}}
 
|-
 
|-
 
! {{#if:{{{lastname|}}}|[[:category:volunteers|Volunteer's Name]]|}}
 
! {{#if:{{{lastname|}}}|[[:category:volunteers|Volunteer's Name]]|}}
Line 160: Line 162:
 
| {{#if:{{{projectyear|}}}|[[Year of approval was::{{{projectyear}}}]]|}}
 
| {{#if:{{{projectyear|}}}|[[Year of approval was::{{{projectyear}}}]]|}}
 
|-
 
|-
! colspan="3" | {{#ifeq: {{{projectyear}}}|2008|<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}}}|2009|<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" | {{#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>|}}
 
|-
 
|-
 
! 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:#ccccff;" colspan="3"|{{#if:{{{projectyear|}}}|[[{{{projectyear}}}|Projects started]] in [[{{{country}}}]] [http://www.peacecorpswiki.org/Special:BrowseData/Years?_subcat={{{projectyear}}} {{{projectyear}}}]|}}
Line 174: Line 176:
 
! colspan="3"|{{#if:{{{state|}}}|{{#ask:[[Is from state::{{{state}}}]]|format=list|limit=15}}|}}
 
! colspan="3"|{{#if:{{{state|}}}|{{#ask:[[Is from state::{{{state}}}]]|format=list|limit=15}}|}}
 
|-
 
|-
! style="text-align: center; background-color:#ccccff;" colspan="3"|Other [[:Category:{{{projecttype}}}|{{{projecttype}}}]] by [[Volunteers]]
+
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{projecttype|}}}|Other [[:Category:{{{projecttype}}}|{{{projecttype}}}]] by [[Volunteers]]|}}
 
|-
 
|-
 
! colspan="3"|{{#if:{{{projecttype|}}}|{{#ask:[[Project type was::{{{projecttype}}}]]|format=list|limit=10}}|}}
 
! colspan="3"|{{#if:{{{projecttype|}}}|{{#ask:[[Project type was::{{{projecttype}}}]]|format=list|limit=10}}|}}

Revision as of 15:21, 10 May 2009

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

{{Project
|projecttype= 
|site=                (Multiple site allowed)
|region=              (primary secondary region)
|region2=             (secondary region)
|country=             (primary country)
|country2=            (second country)
|firstname=
|lastname=
|state=
|uscity=
|affiliateorganization=
|counterpartfirstname=
|counterpartlastname=
|communityfunds=
|communitypercentage=
|requestedfunds=
|neededfunds=
|projectnumber=
|projectyear=
|appropedia=
|map= ("yes" to display; "no" leave field blank)
}}

Edit the page to see the template text.

Example 1:

{{Project
|projecttype= PCPP
|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=2006
}}


Template:Project HELP

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

{{#if:|{{{flickr}}}|}}{{#if:|[[Image:{{{image}}}|250px]]
|}} {{#if:PCPP|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: 2006PCPP|2008PCPP|
Partnership project number was::x}} http://www.peacecorpswiki.org/images/Donatebutton.JPG
|}}{{#ifeq: 2006PCPP|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:PCPP|Other PCPP Projects by Volunteers (101).|}}
{{#if:PCPP|{{#ask:Project type was::PCPP|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:PCPP||}} {{#if:|[[category:{{{projectsector}}}]]|}} {{#if:|[[category:{{{projectsector2}}}]]|}} {{#if:Minnesota||}} {{#if:Minnesota||}} {{#if:|[[category:{{{uscity}}}]]|}} {{#if:||}} {{#if:||}} {{#if:Slattengren||}}



Example 2:

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


Template:Project HELP

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

{{#if:|{{{flickr}}}|}}{{#if:|[[Image:{{{image}}}|250px]]
|}} {{#if:Independent|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::2008|}}
Project located:|}} yes|}}
{{#ifeq: 2008Independent|2008PCPP|
Partnership project number was::x}} http://www.peacecorpswiki.org/images/Donatebutton.JPG
|}}{{#ifeq: 2008Independent|2009PCPP|
Partnership project number was::x}} http://www.peacecorpswiki.org/images/Donatebutton.JPG
|}}
{{#if:2008|Projects started in Albania 2008 (0).|}}
{{#if:2008|{{#ask:Project in::AlbaniaYear of approval was::2008|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:Independent|Other Independent Projects by Volunteers (7).|}}
{{#if:Independent|{{#ask:Project type was::Independent|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:2008||}} {{#if:2008||}} {{#if:Peshkopi||}} {{#if:|[[category:{{{site2}}}]]|}} {{#if:|[[category:{{{site3}}}]]|}} {{#if:|[[category:{{{site4}}}]]|}} {{#if:|[[category:{{{affiliateorganization}}}]]|}} {{#if:Independent||}} {{#if:|[[category:{{{projectsector}}}]]|}} {{#if:|[[category:{{{projectsector2}}}]]|}} {{#if:Minnesota||}} {{#if:Minnesota||}} {{#if:|[[category:{{{uscity}}}]]|}} {{#if:||}} {{#if:||}} {{#if:Slattengren||}}