Difference between revisions of "Template:Project"

From Peace Corps Wiki
Jump to: navigation, search
(3 intermediate revisions by the same user not shown)
Line 24: Line 24:
 
|-
 
|-
 
! [[:category:project|Project Name]]
 
! [[:category:project|Project Name]]
| {{#arraymap:{{{project|}}}|,|x|[[Project was named::x]]}}
+
| {{#arraymap:{{{{{PAGENAME}}|}}}|,|x|[[Project was named::x]]}}
 
|-
 
|-
 
! [[:category:countries|Country]]
 
! [[:category:countries|Country]]
Line 32: Line 32:
 
| {{#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]]}}
 
|-
 
|-

Revision as of 20:45, 2 February 2009

This is the 'Project' template. It should be called in the following format:

{{Project
|site=
|project=
|country=
|lastname=
|firstname=
|state=
|communityfunds=
|projectnumber=
|projectyear=
}}

Edit the page to see the template text.