Difference between pages "Template:Volunteerinfobox" and "Dave Keiser"

From Peace Corps Wiki
(Difference between pages)
Jump to: navigation, search
 
m (3 revisions)
 
Line 1: Line 1:
<noinclude>
+
{{DEFAULTSORT:Keiser,Dave}}
This is the 'volunteerinfobox' template.
+
It should be called in the following format:
+
<pre>
+
{{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)
+
}}
+
</pre>
+
  
Edit the page to see the template text.
+
{{Volunteerinfobox
 
+
|firstname=Dave
{|
+
|lastname=Keiser
| colspan="2" align="center" | '''<big>EXAMPLE:</big>'''
+
|country= Morocco
|-
+
|yearservicestarted=1998
|
+
|yearserviceended=     2000
<pre>{{volunteerinfobox
+
|Group=       YOUR GROUP NUMBER OR CODE
|firstname= Joe
+
|site=       Safi
|middlename=
+
|program=Agriculture
|lastname= Peaceman
+
|assignment01=Agriculture
|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
+
 
}}
 
}}
</pre>
 
  
  
|
 
  
  
  
  
 
+
[[Category:Morocco volunteers]]
 
+
 
+
 
+
 
+
 
+
{{volunteerinfobox
+
|firstname= Joe
+
|middlename=
+
|lastname= Peaceman
+
|country= Armenia
+
|yearservicestarted=
+
|yearserviceended=
+
|groupcode= A-17
+
|site= Jermuk
+
|site2=
+
|site3= Vyke
+
|region= Vayots Dzor
+
|region2=
+
|region3=
+
|program= Environment
+
|assignment01=
+
|assignment02=
+
|assignment03=
+
|map= yes
+
}}
+
|}
+
 
+
</noinclude><includeonly>
+
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
+
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
+
|-
+
! [[:category:{{{country}}}|Country]]
+
| [[Served in::{{{country|}}}]]
+
|-
+
! {{#if:{{{yearservicestarted|}}}|[[:category:{{{country}}}_Volunteers_{{{yearservicestarted}}}|Years:]]|}}
+
| {{#arraymap:{{{yearservicestarted|}}}|,|x|[[Started service in::x]]}}{{#if:{{{yearservicestarted|}}}|-|}}{{#arraymap:{{{yearserviceended|}}}|,|x|[[Ended service in::x]]}}
+
|-
+
! {{#if:{{{groupcode|}}}|[[:category:groupcodes|Group Code]]|}}
+
| {{#arraymap:{{{groupcode|}}}|,|x|[[Group code was::x]]}}
+
|-
+
! {{#if:{{{site|}}}|[[:category:sites|Site(s)]]|}}
+
| {{#arraymap:{{{site|}}}|,|x|[[Name of community was::x]]}}{{#arraymap:{{{site2|}}}|,|x|, [[Name of community was::x]]}}{{#arraymap:{{{site3|}}}|,|x|, [[Name of community was::x]]}}
+
|-
+
! {{#if:{{{region|}}}|[[:category:regions|Region(s)]]|}}
+
| {{#arraymap:{{{region|}}}|,|x|[[Name of region was::x]]}}{{#arraymap:{{{region2|}}}|,|x|, [[Name of region was::x]]}}{{#arraymap:{{{region3|}}}|,|x|,[[Name of region was::x]]}}
+
|-
+
! {{#if:{{{program|}}}|[[:category:programs|Program]]|}}
+
| {{#arraymap:{{{program|}}}|,|x|[[Served in sector::x]]}}
+
|-
+
! {{#if:{{{assignment01|}}}|[[:category:assignments|Assignment(s)]]|}}
+
| {{#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"|{{#if:{{{yearservicestarted|}}}|[[Started service in::|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}}|}}
+
|-
+
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{region|}}}|[[[[Name of region::{{{region}}}]]|Region]]: [[{{{region}}}]]|}}
+
|-
+
! 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:{{{region2|}}}|[[[[Name of region::{{{country}}}]]|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|}}}|[[Served in sector::{{{program}}}]]|Program]]: [[{{{program}}}]]|}}
+
|-
+
! 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}}
+
|}
+
 
+
{{#if:{{{map|}}}|{{Location
+
|Coordinates={{#geocode:{{{site}}},{{{country}}}}}
+
}}|}}
+
 
+
{{#if:{{{yearservicestarted|}}}|[[category:{{{country}}}_Volunteers_{{{yearservicestarted}}}]]}}
+
{{#if:{{{yearservicestarted|}}}|[[category:{{{yearservicestarted}}}]]}}
+
{{#if:{{{site|}}}|[[category:{{{site|}}}]]}}
+
{{#if:{{{region|}}}|[[category:{{{region|}}}]]|}}
+
{{#if:{{{groupcode|}}}|[[category:{{{groupcode|}}}]]|}}
+
{{DEFAULTSORT:{{{lastname}}},{{{firstname}}} }}
+
[[Category:volunteers]]  
+
</includeonly>
+

Latest revision as of 13:40, 21 May 2014




{{#if:Dave|Firstname::Dave|}} {{#if:|[[Middlename::{{{middlename}}}]]|}} {{#if:Keiser|Lastname::Keiser|}}{{#if:Morocco||}}

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

Country Served in::Morocco
Years:|}} Started service in::1998|}}{{#if:2000|-|}}{{#if:2000|Ended service in::2000|}}
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::Agriculture|}}{{#if:|,[[Served in sector::{{{program2}}}]]|}}{{#if:|,[[Served in sector::{{{program3}}}]]|}}
Assignment(s)|}} Primary assignment was::Agriculture|}}{{#if:|,[[Primary assignment was::{{{assignment02}}}]]|}}{{#if:|,[[Primary assignment was::{{{assignment03}}}]]|}}
From US state|}} ,|x|Is from state::x}}
From US town/city|}} ,|x|Is from town or city::x}}
{{#if:1998|Volunteer name was::Dave Keiser|}} {{#if:1998|started in Morocco 1998|}}
{{#if:1998|{{#ask:Served in::MoroccoStarted service in::1998|format=list|limit=15}}|}}
{{#if:|Region: [[{{{region}}}]]|}}
{{#if:|{{#ask:Served in::Morocco[[Name of region was::{{{region}}}]]|format=list|limit=15}}|}}
{{#if:|Region: [[{{{region2}}}]]|}}
{{#if:|{{#ask:Served in::Morocco[[Name of region was::{{{region2}}}]]|format=list|limit=15}}|}}
{{#if:Agriculture|Agriculture in Morocco: |}}{{#ifexist:Agriculture|25px|}}
{{#if:Agriculture|{{#ask:Served in sector::AgricultureServed in::Morocco|format=list|limit=10}}|}}
{{#if:|{{{program2}}} in [[:Category:Morocco_{{{program2}}}|Morocco]]: |}}{{#ifexist:|[[Image:{{{program2}}}.gif|25px]]|}}
{{#if:|{{#ask:[[Served in sector::{{{program2}}}]]Served in::Morocco|format=list|limit=10}}|}}
Other Volunteers who served in Morocco{{#if:Morocco|:|}}
{{#ask:Served in::Morocco|format=list|limit=15}}
Projects in Morocco{{#if:Morocco|:|}}
{{#ask:Project in::Morocco|format=list}}
Don't see yourself, Add yourself or a friend!

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

{{#if:|Mapped Volunteers around Morocco (4).|}}

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

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

{{#if:1998||}} {{#if:1998||}} {{#if:1998||}} {{#if:Safi||}} {{#if:|[[category:]]|}} {{#if:|[[category:]]|}} {{#if:|[[category:]]|}} {{#if:|[[category:]]|}} {{#if:|[[category:]]|}} {{#if:||}} {{#if:||}} {{#if:|[[category:]]|}} {{#if:Agriculture||}} {{#if:|[[category:Morocco_{{{program2}}}]]|}} {{#if:Agriculture||}} {{#if:|[[category:{{{program2}}}]]|}} {{#if:Agriculture||}} {{#if:|[[category:Morocco_{{{assignment02}}}]]|}} {{#if:|[[category:Morocco_{{{assignment03}}}]]|}} {{#if:|[[category:Morocco_{{{assignment04}}}]]|}} {{#if:Agriculture||}} {{#if:|[[category:{{{assignment02}}}]]|}} {{#if:|[[category:{{{assignment03}}}]]|}} {{#if:|[[category:{{{assignment04}}}]]|}}