Template:Volunteerinfobox

From Peace Corps Wiki
Revision as of 12:48, 9 September 2009 by Willbot (Talk)

Jump to: navigation, search

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.

EXAMPLE:
{{volunteerinfobox
|firstname= Joe
|middlename=
|lastname= Peaceman
|country= Armenia
|yearservicestarted= 2008
|yearserviceended= 2010
|groupcode= A-17
|site= Jermuk
|site2=
|site3= Vyke
|region= Vayots Dzor
|region2= 
|region3=
|program= Environment
|assignment01=
|assignment02=
|assignment03=
|map= yes
|state=Virginia
|uscity=Richmond
}}








Template:Volunteerinfobox

{{#if:Example|Firstname::Example|}} {{#if:|Middlename::|}} {{#if:Example|Lastname::Example|}}{{#if:Armenia||}}

{{#if:|
{{{flickr}}}|}}{{#if:|
[[Image:{{{image}}}|250px]]|}}

Country Served in::Armenia
Years:|}} Started service in::|}}{{#if:|-|}}{{#if:|Ended service in::|}}
Group Code|}} ,|x|Group code was::x}}
Site(s)|}} ,|x|Name of community was::x}}{{#arraymap:|,|x|, Name of community was::x}}{{#arraymap:Vyke|,|x|, Name of community was::x}}
Region(s)|}} ,|x|Name of region was::x}}{{#arraymap:|,|x|, Name of region was::x}}{{#arraymap:|,|x|,Name of region was::x}}
Program(s)|}} Served in sector::Environment|}}{{#if:|,[[Served in sector::{{{program2}}}]]|}}{{#if:|,[[Served in sector::{{{program3}}}]]|}}
Assignment(s)|}} Primary assignment was::|}}{{#if:|,Primary assignment was::|}}{{#if:|,Primary assignment was::|}}
From US state|}} ,|x|Is from state::x}}
From US town/city|}} ,|x|Is from town or city::x}}
{{#if:|Volunteer name was::Example Example|}} {{#if:|started in Armenia [1]|}}
{{#if:|{{#ask:Served in::ArmeniaStarted service in::|format=list|limit=15}}|}}
{{#if:Vayots Dzor|Region: Vayots Dzor|}}
{{#if:Vayots Dzor|{{#ask:Served in::ArmeniaName of region was::Vayots Dzor|format=list|limit=15}}|}}
{{#if:|Region: [[]]|}}
{{#if:|{{#ask:Served in::ArmeniaName of region was::|format=list|limit=15}}|}}
{{#if:Environment|Environment in Armenia: |}}{{#ifexist:Environment|25px|}}
{{#if:Environment|{{#ask:Served in sector::EnvironmentServed in::Armenia|format=list|limit=10}}|}}
{{#if:|{{{program2}}} in [[:Category:Armenia_{{{program2}}}|Armenia]]: |}}{{#ifexist:|[[Image:{{{program2}}}.gif|25px]]|}}
{{#if:|{{#ask:[[Served in sector::{{{program2}}}]]Served in::Armenia|format=list|limit=10}}|}}
Other Volunteers who served in Armenia{{#if:Armenia|:|}}
{{#ask:Served in::Armenia|format=list|limit=15}}
Projects in Armenia{{#if:Armenia|:|}}
{{#ask:Project in::Armenia|format=list}}
Don't see yourself, Add yourself or a friend!

Enter your first and last name{{#forminput:Volunteer}}

{{#if:yes|Mapped Volunteers around Armenia (15).|}}

{{#if:yes|You located yourself at based on your site: Jermuk {{#if:{{#geocode:Jermuk,Armenia}}|[[Location Coordinates::{{#geocode:Jermuk,Armenia}}]]}} }}

{{#if:yes|{{#compound_query:Location Coordinates::+;?Location Coordinates;icon=Vol.PNG‎|format=openlayers height=400}}|}}

{{#if:||}} {{#if:||}} {{#if:|[[category:]]|}} {{#if:Jermuk||}} {{#if:|[[category:]]|}} {{#if:Vyke||}} {{#if:|[[category:]]|}} {{#if:Vayots Dzor||}} {{#if:|[[category:]]|}} {{#if:yes||}} {{#if:yes||}} {{#if:A-17||}} {{#if:Environment||}} {{#if:|[[category:Armenia_{{{program2}}}]]|}} {{#if:Environment||}} {{#if:|[[category:{{{program2}}}]]|}} {{#if:||}} {{#if:||}} {{#if:||}} {{#if:|[[category:Armenia_{{{assignment04}}}]]|}} {{#if:|[[category:]]|}} {{#if:|[[category:]]|}} {{#if:|[[category:]]|}} {{#if:|[[category:{{{assignment04}}}]]|}}