Difference between revisions of "Template:Volunteerinfobox"

From Peace Corps Wiki
Jump to: navigation, search
(allowing for 3 sites/regions, fixing spacing, calling site category, fixing link to Years)
m (fixed multiple regions)
Line 42: Line 42:
 
|-
 
|-
 
! {{#if:{{{region|}}}|[[:category:regions|Region(s)]]|}}
 
! {{#if:{{{region|}}}|[[:category:regions|Region(s)]]|}}
| {{#arraymap:{{{region|}}}|,|x|[[Name of region was::x]]}} {{#arraymap:{{{region2|}}}|,|x|, [[Name of region was::x]]}}{{#arraymap:{{{region2|}}}|,|x|and [[Name of region was::x]]}}
+
| {{#arraymap:{{{region|}}}|,|x|[[Name of region was::x]]}} {{#arraymap:{{{region2|}}}|,|x|, [[Name of region was::x]]}}{{#arraymap:{{{region3|}}}|,|x|,[[Name of region was::x]]}}
 
|-
 
|-
 
! [[:category:programs|Program]]
 
! [[:category:programs|Program]]

Revision as of 02:04, 13 March 2009

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

{{volunteerinfobox
|firstname=
|middlename=
|lastname=
|country=
|yearservicestarted=
|yearserviceended=
|groupcode= 
|site=
|site2=
|site3=
|region=
|region2=
|region3=
|program=
|assignment01=
|assignment02=
|assignment03=
|map= ("yes" to display; "no" leave field blank)
}}

Edit the page to see the template text.