Difference between revisions of "Template:Volunteerinfobox"

From Peace Corps Wiki
Jump to: navigation, search
(11 intermediate revisions by 2 users not shown)
Line 39: Line 39:
 
| {{#arraymap:{{{site|}}}|,|x|[[Name of community was::x]]}} {{#arraymap:{{{site2|}}}|,|x|and [[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(s)]]|}}
 
| {{#arraymap:{{{region|}}}|,|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|and [[Name of region was::x]]}}
 
|-
 
|-
Line 48: Line 48:
 
| {{#arraymap:{{{assignment01|}}}|,|x|[[Primary assignment was::x]]}}{{#arraymap:{{{assignment02|}}}|,|x|[[Primary assignment was::x]]}}{{#arraymap:{{{assignment03|}}}|,|x|[[Primary assignment was::x]]}}
 
| {{#arraymap:{{{assignment01|}}}|,|x|[[Primary assignment was::x]]}}{{#arraymap:{{{assignment02|}}}|,|x|[[Primary assignment was::x]]}}{{#arraymap:{{{assignment03|}}}|,|x|[[Primary assignment was::x]]}}
 
|-
 
|-
! style="text-align: center; background-color:#ccccff;" colspan="3"|Other [[:category:{{{country}}}_Volunteers|Volunteers]] who served in [[{{{country}}}]]
+
! style="text-align: center; background-color:#ccccff;" colspan="3"|Started service in [[:category:{{{country}}}_Volunteers_{{{yearservicestarted}}}|{{{yearservicestarted}}}]]
|-
+
! colspan="3"|{{#ask:[[Served in::{{{country}}}]]|format=list|limit=15}}
+
|-
+
! style="text-align: center; background-color:#ccccff;" colspan="3"|Started service in [[{{{yearservicestarted}}}]]
+
 
|-
 
|-
 
! colspan="3"|{{#ask:[[Served in::{{{country}}}]][[Started service in::{{{yearservicestarted}}}]]|format=list|limit=15}}
 
! colspan="3"|{{#ask:[[Served in::{{{country}}}]][[Started service in::{{{yearservicestarted}}}]]|format=list|limit=15}}
 
|-
 
|-
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{region|}}}|[[{{{region}}}]]|}}
+
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{region|}}}|Region: [[{{{region}}}]]|}}
 
|-
 
|-
 
! 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:{{{program|}}}|[[{{{program}}}]]|}}
+
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{region2|}}}|Region: [[{{{region2}}}]]|}}
 +
|-
 +
! colspan="3"|{{#if:{{{region2|}}}|{{#ask:[[Served in::{{{country}}}]][[Name of region was::{{{region2}}}]]|format=list|limit=15}}|}}
 +
|-
 +
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{program|}}}|Program: [[{{{program}}}]]|}}
 
|-
 
|-
 
! colspan="3"|{{#if:{{{program|}}}|{{#ask:[[Served in::{{{country}}}]][[Served in sector::{{{program}}}]]|format=list|limit=15}}|}}
 
! colspan="3"|{{#if:{{{program|}}}|{{#ask:[[Served in::{{{country}}}]][[Served in sector::{{{program}}}]]|format=list|limit=15}}|}}
 +
|-
 +
! style="text-align: center; background-color:#ccccff;" colspan="3"|Other [[:Category:[[Served in::{{{country}}}]]_Volunteers|Volunteers]] who served in [[{{{country}}}]]
 +
|-
 +
! colspan="3"|{{#ask:[[Served in::{{{country}}}]]|format=list|limit=15}}
 
|}
 
|}
  
Line 69: Line 73:
 
}}|}}
 
}}|}}
  
[[category:{{{country}}}_Volunteers]] [[category:{{{country}}}_Volunteers_{{{yearservicestarted}}}]] [[category:{{{country}}}_Volunteers_{{{yearservicestarted}}}_{{{site}}}]] [[category:{{{site}}}]] [[category:{{{yearservicestarted}}}]] [[category:{{{site}}}_{{{yearservicestarted}}}]] [[Category:volunteers]] {{DEFAULTSORT:{{{lastname}}},{{{firstname}}} }}
+
[[category:{{{country}}}_Volunteers_{{{yearservicestarted}}}]]  
{{#if:{{{region|}}}|[[category:{{{region|}}}]]|}} {{#if:{{{groupcode|}}}|[[category:{{{groupcode|}}}]]|}}
+
[[category:{{{yearservicestarted}}}]]  
 
+
{{#if:{{{site|}}}[[category:{{{site}}}]]}}  
 +
{{#if:{{{region|}}}|[[category:{{{region|}}}]]|}}  
 +
{{#if:{{{groupcode|}}}|[[category:{{{groupcode|}}}]]|}}
 +
{{DEFAULTSORT:{{{lastname}}},{{{firstname}}} }}
 +
[[Category:volunteers]]
 
</includeonly>
 
</includeonly>

Revision as of 21:40, 25 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.