Difference between revisions of "Template:Volunteerinfobox"

From Peace Corps Wiki
Jump to: navigation, search
Line 37: Line 37:
 
|-
 
|-
 
! {{#if:{{{site|}}}|[[:category:sites|Site(s)]]|}}
 
! {{#if:{{{site|}}}|[[:category:sites|Site(s)]]|}}
| {{#arraymap:{{{site|}}}|,|x|[[Name of community was::x]]}} {{#arraymap:{{{site2|}}}|,|x|[[Name of community was::x]]}}
+
| {{#arraymap:{{{site|}}}|,|x|[[Name of community was::x]]}} {{#arraymap:{{{site2|}}}|,|x|and [[Name of community was::x]]}}
 
|-
 
|-
 
! {{#if:{{{region|}}}|[[:category:regions|Region]]|}}
 
! {{#if:{{{region|}}}|[[:category:regions|Region]]|}}
| {{#arraymap:{{{region|}}}|,|x|[[Name of region was::x]]}} {{#arraymap:{{{region2|}}}|,|x|[[Name of region was::x]]}}
+
| {{#arraymap:{{{region|}}}|,|x|[[Name of region was::x]]}} {{#arraymap:{{{region2|}}}|,|x|and [[Name of region was::x]]}}
 
|-
 
|-
 
! [[:category:programs|Program]]
 
! [[:category:programs|Program]]
Line 59: Line 59:
 
|-
 
|-
 
! colspan="3"|{{#if:{{{region|}}}|{{#ask:[[Served in::{{{country}}}]][[Name of region was::{{{region}}}]]|format=list|limit=15}}|}}
 
! colspan="3"|{{#if:{{{region|}}}|{{#ask:[[Served in::{{{country}}}]][[Name of region was::{{{region}}}]]|format=list|limit=15}}|}}
|-
 
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{region1|}}}|[[{{{region1}}}]]|}}
 
|-
 
! colspan="3"|{{#if:{{{region|}}}|{{#ask:[[Served in::{{{country}}}]][[Name of region was::{{{region1}}}]]|format=list|limit=15}}|}}
 
 
|-
 
|-
 
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{program|}}}|[[{{{program}}}]]|}}
 
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{program|}}}|[[{{{program}}}]]|}}

Revision as of 23:09, 16 February 2009

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

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

Edit the page to see the template text.