Difference between revisions of "Template:Project"

From Peace Corps Wiki
Jump to: navigation, search
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the 'Project' template.
+
This is the 'Project' template. The Project name is the title of the page.
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
 
{{Project
 
{{Project
 
|site=
 
|site=
|project=
 
 
|country=
 
|country=
 
|lastname=
 
|lastname=
Line 13: Line 12:
 
|projectnumber=
 
|projectnumber=
 
|projectyear=
 
|projectyear=
 +
|map= ("yes" to display; "no" leave field blank)
 
}}
 
}}
 
</pre>
 
</pre>
Line 21: Line 21:
 
|-
 
|-
 
! [[:category:site|Community Name]]
 
! [[:category:site|Community Name]]
| {{#arraymap:[[{{{site|}}}]]|,|x|[[Name of community was::x]]}}
+
| {{#arraymap:{{{site|}}}|,|x|[[Name of community was::x]]}}
|-
 
! [[:category:project|Project Name]]
 
| {{#arraymap:[[{{{project|}}}]]|,|x|[[Project was named::x]]}}
 
 
|-
 
|-
 
! [[:category:countries|Country]]
 
! [[:category:countries|Country]]
| {{#arraymap:[[{{{country|}}}]]|,|x|[[Served in::x]]}}
+
| {{#arraymap:{{{country|}}}|,|x|[[Served in::x]]}}
 
|-
 
|-
 
! [[:category:volunteers|Volunteer's Name]]
 
! [[:category:volunteers|Volunteer's Name]]
| {{#arraymap:[[{{{firstname|}}}]]|,|x|[[Firstname::x]]}} {{#arraymap:[[{{{lastname|}}}]]|,|x|[[Lastname::x]]}}
+
| {{#arraymap:{{{firstname|}}}|,|x|[[Firstname::x]]}} {{#arraymap:{{{lastname|}}}|,|x|[[Lastname::x]]}}
 
|-
 
|-
! Volunteer's Homestate
+
! {{#if:{{{state|}}}|Volunteer's Homestate|}}
| {{#arraymap:[[{{{state|}}}]]|,|x|[[Is from state::x]]}}
+
| {{#arraymap:{{{state|}}}|,|x|[[Is from state::x]]}}
 
|-
 
|-
! Funds contributed by community
+
! {{#if:{{{communityfunds|}}}|Funds contributed by community|}}
 
| {{#arraymap:{{{communityfunds|}}}|,|x|[[Funds contributed by community were::x]]}}
 
| {{#arraymap:{{{communityfunds|}}}|,|x|[[Funds contributed by community were::x]]}}
 
|-
 
|-
! PPCP #
+
! {{#if:{{{projectnumber|}}}|PPCP #|}}
 
| {{#arraymap:{{{projectnumber|}}}|,|x|[[Partnership project number was::x]]}}
 
| {{#arraymap:{{{projectnumber|}}}|,|x|[[Partnership project number was::x]]}}
 
|-
 
|-
! [[:category:years|Year of project approval]]
+
! {{#if:{{{projectyear|}}}|[[:category:years|Year of project approval]]|}}
| {{#arraymap:[[{{{projectyear|}}}]]|,|x|[[Year of project approval was::x]]}}
+
| {{#arraymap:{{{projectyear|}}}|,|x|[[Year of project approval was::x]]}}
 
|-
 
|-
 
!  
 
!  
Line 48: Line 45:
 
|}
 
|}
  
'''Info about the {{{project}}}'''
+
<noinclude>{{#if:{{{map}}}|{{Location
 +
|Coordinates={{#geocode:{{{site}}},{{{country}}}}}
 +
}}|}}</noinclude>
 +
 
 +
'''Info about the [[Project was named::{{PAGENAME}}]]'''
 
[[Category:projects]]
 
[[Category:projects]]
 
[[category:{{{country}}}]]
 
[[category:{{{country}}}]]

Revision as of 21:43, 2 February 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=
|projectnumber=
|projectyear=
|map= ("yes" to display; "no" leave field blank)
}}

Edit the page to see the template text.