Template:Volunteerinfobox
From Peace Corps Wiki
(Difference between revisions)
| (10 intermediate revisions not shown) | |||
| Line 133: | Line 133: | ||
| {{#arraymap:{{{uscity|}}}|,|x|[[Is from town or city::x]]}} | | {{#arraymap:{{{uscity|}}}|,|x|[[Is from town or city::x]]}} | ||
|- | |- | ||
| - | ! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{yearservicestarted|}}}|[[:category:{{{country}}}_volunteers_{{{yearservicestarted}}}| | + | ! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{yearservicestarted|}}}|[[Volunteer name was::{{{firstname}}} {{{lastname}}}]]|}} {{#if:{{{yearservicestarted|}}}|[[:category:{{{country}}}_volunteers_{{{yearservicestarted}}}|started]] in [[{{{country}}}]] [http://www.peacecorpswiki.org/Special:BrowseData/Years?_subcat={{{yearservicestarted}}} {{{yearservicestarted}}}]|}} |
|- | |- | ||
! colspan="3"|{{#if:{{{yearservicestarted|}}}|{{#ask:[[Served in::{{{country}}}]][[Started service in::{{{yearservicestarted}}}]]|format=list|limit=15}}|}} | ! colspan="3"|{{#if:{{{yearservicestarted|}}}|{{#ask:[[Served in::{{{country}}}]][[Started service in::{{{yearservicestarted}}}]]|format=list|limit=15}}|}} | ||
| Line 145: | Line 145: | ||
! colspan="3"|{{#if:{{{region2|}}}|{{#ask:[[Served in::{{{country}}}]][[Name of region was::{{{region2}}}]]|format=list|limit=15}}|}} | ! 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|}}}|[[Property:Served in sector|{{{program}}}]] in [[:Category:{{{country}}}_{{lcfirst:{{{program}}}}}|{{{country}}}]]: |}}{{# | + | ! style="text-align: center; background-color:#ccccff;" colspan="3"| {{#if:{{{program|}}}|[[Property:Served in sector|{{{program}}}]] in [[:Category:{{{country}}}_{{lcfirst:{{{program}}}}}|{{{country}}}]]: |}}{{#ifexist:{{{program|}}}|[[Image:{{{program}}}.gif|25px]]|}} |
|- | |- | ||
! colspan="3"|{{#if:{{{program|}}}|{{#ask:[[Served in sector::{{{program}}}]][[Served in::{{{country}}}]]|format=list|limit=10}}|}} | ! colspan="3"|{{#if:{{{program|}}}|{{#ask:[[Served in sector::{{{program}}}]][[Served in::{{{country}}}]]|format=list|limit=10}}|}} | ||
|- | |- | ||
| - | ! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{program2|}}}|[[Property:Served in sector|{{{program2}}}]] in [[:Category:{{{country}}}_{{{program2}}}|{{{country}}}]]: |}}{{# | + | ! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{program2|}}}|[[Property:Served in sector|{{{program2}}}]] in [[:Category:{{{country}}}_{{{program2}}}|{{{country}}}]]: |}}{{#ifexist:{{{program2|}}}|[[Image:{{{program2}}}.gif|25px]]|}} |
|- | |- | ||
! colspan="3"|{{#if:{{{program2|}}}|{{#ask:[[Served in sector::{{{program2}}}]][[Served in::{{{country}}}]]|format=list|limit=10}}|}} | ! colspan="3"|{{#if:{{{program2|}}}|{{#ask:[[Served in sector::{{{program2}}}]][[Served in::{{{country}}}]]|format=list|limit=10}}|}} | ||
| Line 157: | Line 157: | ||
! 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"| | + | ! style="text-align: center; background-color:#ccccff;" colspan="3"|[[:Category:{{{country}}}_projects|Projects]] in [[{{{country}}}]]{{#if:{{{country|}}}|:[[Image:Flag_of_{{{country}}}.svg|20px|none]]|}} |
|- | |- | ||
| - | ! colspan="3"|{{# | + | ! colspan="3"|{{#ask:[[Project in::{{{country}}}]]|format=list}} |
|- | |- | ||
! style="text-align: center; background-color:#ccccff;" colspan="3"|'''Don't see yourself, Add yourself or a friend!''' | ! style="text-align: center; background-color:#ccccff;" colspan="3"|'''Don't see yourself, Add yourself or a friend!''' | ||
| Line 169: | Line 169: | ||
|Coordinates={{#geocode:{{{site}}},{{{country}}}}}|}}</small> | |Coordinates={{#geocode:{{{site}}},{{{country}}}}}|}}</small> | ||
}} | }} | ||
| - | |- | + | |- |
| - | ! colspan="3"|{{#if:{{{map|}}}|{{#compound_query:[[Category:{{{country}}}_volunteers]][[Location Coordinates::+]];?Location Coordinates;icon=Vol.PNG|format= | + | ! colspan="3"|{{#if:{{{map|}}}|{{#compound_query:[[Category:{{{country}}}_volunteers]][[Location Coordinates::+]];?Location Coordinates;icon=Vol.PNG|format=openlayers |
| + | |width=350|height=400}}|}} | ||
|} | |} | ||
| - | |||
{{#if:{{{yearservicestarted|}}}|[[category:{{{country}}}_volunteers]]|}} | {{#if:{{{yearservicestarted|}}}|[[category:{{{country}}}_volunteers]]|}} | ||
{{#if:{{{yearservicestarted|}}}|[[category:{{{country}}}_volunteers_{{{yearservicestarted}}}]]|}} | {{#if:{{{yearservicestarted|}}}|[[category:{{{country}}}_volunteers_{{{yearservicestarted}}}]]|}} | ||
Latest revision as of 02:14, 25 April 2011
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=
|program2=
|assignment01=
|assignment02=
|assignment03=
|assignment04=
|state=
|uscity=
|map= ("yes" to display; "no" leave field blank)
}}
Edit the page to see the template text.