Difference between revisions of "Template:Project"

From Peace Corps Wiki
Jump to: navigation, search
(2 intermediate revisions by the same user not shown)
Line 20: Line 20:
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
 
|-
 
|-
! [[:category:site|Community Name]]
+
! [[:category:sites|Community Name]]
 
| {{#arraymap:{{{site|}}}|,|x|[[Name of community was::x]]}}
 
| {{#arraymap:{{{site|}}}|,|x|[[Name of community was::x]]}}
 
|-
 
|-
! [[:category:countries|Country]]
+
! [[:category:country|Country]]
 
| {{#arraymap:{{{country|}}}|,|x|[[Served in::x]]}}
 
| {{#arraymap:{{{country|}}}|,|x|[[Served in::x]]}}
 
|-
 
|-
Line 29: Line 29:
 
| {{#arraymap:{{{firstname|}}}|,|x|[[Firstname::x]]}} {{#arraymap:{{{lastname|}}}|,|x|[[Lastname::x]]}}
 
| {{#arraymap:{{{firstname|}}}|,|x|[[Firstname::x]]}} {{#arraymap:{{{lastname|}}}|,|x|[[Lastname::x]]}}
 
|-
 
|-
! {{#if:{{{state|}}}|Volunteer's Homestate|}}
+
! {{#if:{{{state|}}}|[[:category:homestates|Volunteer's Homestate]]|}}
 
| {{#arraymap:{{{state|}}}|,|x|[[Is from state::x]]}}
 
| {{#arraymap:{{{state|}}}|,|x|[[Is from state::x]]}}
 
|-
 
|-
Line 45: Line 45:
 
|}
 
|}
  
<noinclude>{{#if:{{{map}}}|{{Location
+
{{#if:{{{map|}}}|{{Location
 
|Coordinates={{#geocode:{{{site}}},{{{country}}}}}
 
|Coordinates={{#geocode:{{{site}}},{{{country}}}}}
}}|}}</noinclude>
+
}}|}}
  
 
'''Info about the [[Project was named::{{PAGENAME}}]]'''
 
'''Info about the [[Project was named::{{PAGENAME}}]]'''

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