Difference between revisions of "Template:Project"

From Peace Corps Wiki
Jump to: navigation, search
(56 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{projectinfobox
+
<noinclude>
|projectname= {{{projectname}}}
+
This is the 'Project' template. The Project name is the title of the page.
|name= {{{name}}}
+
It should be called in the following format:
|country= {{{country}}}
+
<pre>
|projectyear= {{{projectyear}}}
+
{{Project
|site= {{{site}}}
+
|projecttype=  
|program= {{{program}}}
+
|site=
|assignment01= {{{assignment01}}}
+
|region=
|partershipprojectnumber= {{{partershipprojectnumber}}}
+
|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.
  
== Project Description ==
+
[[Category:templates infoboxes]]
{{{partershipprojectnumber}}}
+
[[Category:templates projects]]
Funds: {{funds}}}$
+
Community Contribution: {{{communitycontribution}}}$
+
{{{aboutproject}}}
+
  
[[category:Projects]]
+
example:
[[category:{{{country}}}_Projects]]
+
 
[[category:{{{country}}}_Projects_{{{yearproject}}}]]
+
{|
[[category:{{{country}}}_Volunteers_{{{projectyear}}}_{{{site}}}]]
+
 
[[category:{{{site}}}]]
+
<pre>
[[category:{{{projectyear}}}]]
+
{{Project
[[category:{{{site}}}_{{{projectyear}}}]]
+
|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]]|}}
 +
| {{#arraymap:{{{site|}}}|,|x|[[Name of community was::x]]}}
 +
|-
 +
! {{#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|}}}|[[Property:Is from state|Volunteer's Homestate]]|}}
 +
| {{#if:{{{state|}}}|[[Is from state::{{{state}}}]]|}}
 +
|-
 +
! {{#if:{{{counterpartlastname|}}}|[[Property:Lastname|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 was|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}}
 +
|}
 +
 
 +
{{#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 22:19, 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
|projecttype= 
|site=
|region=
|country=
|lastname=
|firstname=
|state=
|affiliateorganization=
|counterpartfirstname=
|counterpartlastname=
|communityfunds=
|communitypercentage=
|requestedfunds=
|neededfunds=
|projectnumber=
|projectyear=
|map= ("yes" to display; "no" leave field blank)
}}

Edit the page to see the template text.

example:

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


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