Difference between revisions of "Template:Volunteerinfobox"

From Peace Corps Wiki
Jump to: navigation, search
(One intermediate revision by one user not shown)
Line 52: Line 52:
 
! colspan="3"|{{#ask:[[Served in::{{{country}}}]]|format=list|limit=15}}
 
! colspan="3"|{{#ask:[[Served in::{{{country}}}]]|format=list|limit=15}}
 
|-
 
|-
! style="text-align: center; background-color:#ccccff;" colspan="3"|Started service in [[{{{yearservicestarted}}}]]
+
! style="text-align: center; background-color:#ccccff;" colspan="3"|Started service in [[category:{{country}}}_Volunteers_{{{yearservicestarted}}}|{{{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}}
Line 73: Line 73:
 
}}|}}
 
}}|}}
  
[[category:{{{country}}}_Volunteers]]
 
 
[[category:{{{country}}}_Volunteers_{{{yearservicestarted}}}]]  
 
[[category:{{{country}}}_Volunteers_{{{yearservicestarted}}}]]  
 
[[category:{{{yearservicestarted}}}]]  
 
[[category:{{{yearservicestarted}}}]]  
 
{{#if:{{{site|}}}[[category:{{{country}}}_Volunteers_{{{yearservicestarted}}}_{{{site}}}]]|}}
 
 
{{#if:{{{site|}}}[[category:{{{site}}}]]}}  
 
{{#if:{{{site|}}}[[category:{{{site}}}]]}}  
{{#if:{{{site|}}}|[[category:{{{site}}}_{{{yearservicestarted}}}]]|}}
 
 
{{#if:{{{region|}}}|[[category:{{{region|}}}]]|}}  
 
{{#if:{{{region|}}}|[[category:{{{region|}}}]]|}}  
 
{{#if:{{{groupcode|}}}|[[category:{{{groupcode|}}}]]|}}
 
{{#if:{{{groupcode|}}}|[[category:{{{groupcode|}}}]]|}}

Revision as of 20:36, 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.