Template:Volunteerinfobox

From Peace Corps Wiki
Revision as of 17:27, 13 March 2009 by Willbot (talk) (Good edits, thanks for catching those errors.... link to the browse function into template on the year link.... as well as the preview of template.)

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=
|assignment01=
|assignment02=
|assignment03=
|map= ("yes" to display; "no" leave field blank)
}}

Yields:


Template:Volunteerinfobox

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

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

[[:category:|Country]] Served in::
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:|,|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::|}}{{#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:: |}} {{#if:|started in [[]] [1]|}}
{{#if:|{{#ask:Served in::Started service in::|format=list|limit=15}}|}}
{{#if:|Region: [[]]|}}
{{#if:|{{#ask:Served in::Name of region was::|format=list|limit=15}}|}}
{{#if:|Region: [[]]|}}
{{#if:|{{#ask:Served in::Name of region was::|format=list|limit=15}}|}}
{{#if:|[[Property:Served in sector|]] in [[:Category:_|]]: |}}{{#ifexist:|25px|}}
{{#if:|{{#ask:Served in sector::Served in::|format=list|limit=10}}|}}
{{#if:|{{{program2}}} in [[:Category:_{{{program2}}}|]]: |}}{{#ifexist:|[[Image:{{{program2}}}.gif|25px]]|}}
{{#if:|{{#ask:[[Served in sector::{{{program2}}}]]Served in::|format=list|limit=10}}|}}
Other Volunteers who served in [[]]{{#if:|:|}}
{{#ask:Served in::|format=list|limit=15}}
Projects in [[]]{{#if:|:|}}
{{#ask:Project in::|format=list}}
Don't see yourself, Add yourself or a friend!

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

{{#if:("yes" to display; "no" leave field blank)|Mapped Volunteers around [[]] (0).|}}

{{#if:("yes" to display; "no" leave field blank)|You located yourself at based on your site: [[]] {{#if:{{#geocode:,}}|[[Location Coordinates::{{#geocode:,}}]]}} }}

{{#if:("yes" to display; "no" leave field blank)|{{#compound_query:Location Coordinates::+;?Location Coordinates;icon=Vol.PNG‎|format=openlayers height=400}}|}}

{{#if:||}} {{#if:||}} {{#if:|[[category:]]|}} {{#if:|[[category:]]|}} {{#if:|[[category:]]|}} {{#if:|[[category:]]|}} {{#if:|[[category:]]|}} {{#if:|[[category:]]|}} {{#if:|[[category:]]|}} {{#if:("yes" to display; "no" leave field blank)||}} {{#if:("yes" to display; "no" leave field blank)||}} {{#if:|[[category:]]|}} {{#if:|[[category:_]]|}} {{#if:|[[category:_{{{program2}}}]]|}} {{#if:|[[category:]]|}} {{#if:|[[category:{{{program2}}}]]|}} {{#if:|[[category:_]]|}} {{#if:|[[category:_]]|}} {{#if:|[[category:_]]|}} {{#if:|[[category:_{{{assignment04}}}]]|}} {{#if:|[[category:]]|}} {{#if:|[[category:]]|}} {{#if:|[[category:]]|}} {{#if:|[[category:{{{assignment04}}}]]|}}


Edit the page to see the template text.