Difference between revisions of "Template:Project"

From Peace Corps Wiki
Jump to: navigation, search
(5 intermediate revisions by the same user not shown)
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]]}}
 
|-
 
|-
Line 48: Line 48:
 
|}
 
|}
  
== Info about {{{project}}} ==
+
'''Info about the {{{project}}}'''
 
 
 
 
 
[[Category:projects]]
 
[[Category:projects]]
 
[[category:{{{country}}}]]
 
[[category:{{{country}}}]]
Line 59: Line 57:
 
[[category:{{{projectyear}}}]]
 
[[category:{{{projectyear}}}]]
 
[[category:{{{site}}}_{{{projectyear}}}]]
 
[[category:{{{site}}}_{{{projectyear}}}]]
 
 
</includeonly>
 
</includeonly>

Revision as of 18:58, 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.