Difference between pages "Template:Volunteerinfobox" and "Luann Bjornstad"

From Peace Corps Wiki
(Difference between pages)
Jump to: navigation, search
 
m (1 revision imported)
 
Line 1: Line 1:
<noinclude>
+
{{Volunteerinfobox
This is the 'volunteerinfobox' template.
+
|firstname=Luann
It should be called in the following format:
+
|middlename=Littlefield
<pre>
+
|lastname=Bjornstad
{{volunteerinfobox
+
|country=Bolivia
|firstname=
+
|yearservicestarted=1965
|middlename=
+
|yearserviceended=1967
|lastname=
+
|site=Trinidad 
|country=
+
|region=Beni
|yearservicestarted=
+
|site2= Charagua 
|yearserviceended=
+
|region2=Santa Cruz
|groupcode=  
+
|site3= Samaipata
|site=
+
|program=Community Development
|site2=
 
|site3=
 
|region=
 
|region2=
 
|region3=
 
|program=
 
|assignment01=
 
|assignment02=
 
|assignment03=
 
|state=
 
|uscity=
 
|map= ("yes" to display; "no" leave field blank)
 
 
}}
 
}}
</pre>
 
 
Edit the page to see the template text.
 
 
{|
 
| colspan="2" align="center" | '''<big>EXAMPLE:</big>'''
 
|-
 
|
 
<pre>{{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
 
}}
 
</pre>
 
 
 
|
 
 
 
 
 
 
 
 
 
 
 
{{volunteerinfobox
 
|firstname= Example
 
|middlename=
 
|lastname= Example
 
|country= Armenia
 
|yearservicestarted=
 
|yearserviceended=
 
|groupcode= A-17
 
|site= Jermuk
 
|site2=
 
|site3= Vyke
 
|region= Vayots Dzor
 
|region2=
 
|region3=
 
|program= Environment
 
|assignment01=
 
|assignment02=
 
|assignment03=
 
|map= yes
 
|state=Virginia
 
|uscity=Richmond
 
}}
 
|}
 
 
[[Category:templates]]
 
[[Category:templates infoboxes]]
 
[[Category:templates countries]]
 
</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" |<div align="right"><small>''[[Template:Volunteerinfobox]]''</small></div><br>
 
<big>{{#if:{{{firstname|}}}|'''[[Firstname::{{{firstname}}}]]|}} {{#if:{{{middlename|}}}|[[Middlename::{{{middlename}}}]]|}} {{#if:{{{lastname|}}}|[[Lastname::{{{lastname}}}]]'''|}}</big>{{#if:{{{country|}}}|[[Image:Flag_of_{{{country}}}.svg‎|50px|none]]|}}
 
{{#if:{{{flickr|}}}|<br>{{{flickr}}}|}}{{#if:{{{image|}}}|<br>[[Image:{{{image}}}|250px]]|}}
 
|-
 
! [[:category:{{{country}}}|Country]]
 
| [[Served in::{{{country|}}}]]
 
|-
 
! {{#if:{{{yearservicestarted|}}}|[[:category:{{{country}}}_Volunteers_{{{yearservicestarted}}}|Years:]]|}}
 
| {{#if:{{{yearservicestarted|}}}|[[Started service in::{{{yearservicestarted}}}]]|}}{{#if:{{{yearserviceended|}}}|-|}}{{#if:{{{yearserviceended|}}}|[[Ended service in::{{{yearserviceended}}}]]|}}
 
|-
 
! {{#if:{{{groupcode|}}}|[[Property:Group code was|Group Code]]|}}
 
| {{#arraymap:{{{groupcode|}}}|,|x|[[Group code was::x]]}}
 
|-
 
! {{#if:{{{site|}}}|[[Property:Name of community was|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|}}}|[[Property:Name of region was|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|}}}|[[Property:Served in sector|Program]]|}}
 
| {{#arraymap:{{{program|}}}|,|x|[[Served in sector::x]]}}
 
|-
 
! {{#if:{{{assignment01|}}}|[[Property:Primary assignment was|Assignment(s)]]|}}
 
| {{#arraymap:{{{assignment01|}}}|,|x|[[Primary assignment was::x]]}}{{#arraymap:{{{assignment02|}}}|,|x|, [[Primary assignment was::x]]}}{{#arraymap:{{{assignment03|}}}|,|x|, [[Primary assignment was::x]]}}
 
|-
 
! {{#if:{{{state|}}}|[[Property:Is from state|From US state]]|}}
 
| {{#arraymap:{{{state|}}}|,|x|[[Is from state::x]]}}
 
|-
 
! {{#if:{{{uscity|}}}|[[Property:Is from town or city|From US town/city]]|}}
 
| {{#arraymap:{{{uscity|}}}|,|x|[[Is from town or city::x]]}}
 
|-
 
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{yearservicestarted|}}}|[[:category:years|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|}}}|[[Property:Name of region was|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|}}}|[[Property:Name of region was|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|}}}|[[Property:Served in sector|Program]]: [[{{{program}}}]]|}}
 
|-
 
! colspan="3"|{{#if:{{{program|}}}|{{#ask:[[Served in sector::{{{program}}}]][[Served in sector::{{{program}}}]]|format=list|limit=15}}|}}
 
|-
 
! style="text-align: center; background-color:#ccccff;" colspan="3"|Other [[:Category:{{{country}}}_volunteers|Volunteers]] who served in [[{{{country}}}]]{{#if:{{{country|}}}|:[[Image:Flag_of_{{{country}}}.svg‎|20px|none]]|}}
 
|-
 
! colspan="3"|{{#ask:[[Served in::{{{country}}}]]|format=list|limit=15}}
 
|-
 
! style="text-align: center; background-color:#ccccff;" colspan="3"|'''Don't see yourself, Add yourself or a friend!'''
 
<small>''Enter your '''first''' and '''last name'''''</small>
 
{{#forminput:Volunteer}}
 
|-
 
! style="text-align: center; background-color:#ccccff;" colspan="3"| {{#if:{{{map|}}}|Mapped [[Volunteers who served in {{{country}}}|Volunteers]] around [[{{{country}}}]] [[:Category:{{{country}}} volunteers located|({{PAGESINCAT:{{{country}}}_volunteers_located}})]].|}}
 
{{#if:{{{map|}}}|You located yourself at based on your [[site]] name:{{Location2
 
|Coordinates={{#geocode:{{{site}}},{{{country}}}}}|}}
 
}}
 
|-
 
! colspan="3"|{{#if:{{{map|}}}|{{#compound_query:[[Category:{{{country}}}_volunteers]][[Location Coordinates::+]];?Location Coordinates;icon=Vol.PNG‎|format=googlemap|width=350|height=400}}|}}
 
|}
 
 
{{#if:{{{yearservicestarted|}}}|[[category:{{{country}}}_volunteers]]|}}
 
{{#if:{{{yearservicestarted|}}}|[[category:{{{country}}}_volunteers_{{{yearservicestarted}}}]]|}}
 
{{#if:{{{yearservicestarted|}}}|[[category:{{{yearservicestarted}}}]]|}}
 
{{#if:{{{site|}}}|[[category:{{{site|}}}]]|}}
 
{{#if:{{{site2|}}}|[[category:{{{site2|}}}]]|}}
 
{{#if:{{{site3|}}}|[[category:{{{site3|}}}]]|}}
 
{{#if:{{{site4|}}}|[[category:{{{site4|}}}]]|}}
 
{{#if:{{{region|}}}|[[category:{{{region|}}}]]|}}
 
{{#if:{{{region2|}}}|[[category:{{{region2|}}}]]|}}
 
{{#if:{{{map|}}}|[[category:{{{country}}}_volunteers_located]]|}}
 
{{#if:{{{map|}}}|[[category:volunteers located]]|}}
 
{{#if:{{{groupcode|}}}|[[category:{{{groupcode|}}}]]|}}
 
{{#if:{{{programs|}}}|[[category:{{{country}}}_{{{programs}}}]]|}}
 
{{DEFAULTSORT:{{{lastname}}},{{{firstname}}} }}
 
[[Category:volunteers]]
 
</includeonly>
 

Latest revision as of 12:36, 23 August 2016



{{#if:Luann|Firstname::Luann|}} {{#if:Littlefield|Middlename::Littlefield|}} {{#if:Bjornstad|Lastname::Bjornstad|}}{{#if:Bolivia||}}

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

Country Served in::Bolivia
Years:|}} Started service in::1965|}}{{#if:1967|-|}}{{#if:1967|Ended service in::1967|}}
Group Code|}} ,|x|Group code was::x}}
Site(s)|}} ,|x|Name of community was::x}}{{#arraymap:Charagua|,|x|, Name of community was::x}}{{#arraymap:Samaipata|,|x|, Name of community was::x}}
Region(s)|}} ,|x|Name of region was::x}}{{#arraymap:Santa Cruz|,|x|, Name of region was::x}}{{#arraymap:|,|x|,Name of region was::x}}
Program(s)|}} Served in sector::Community Development|}}{{#if:|,[[Served in sector::{{{program2}}}]]|}}{{#if:|,[[Served in sector::{{{program3}}}]]|}}
Assignment(s)|}} [[Primary assignment was::{{{assignment01}}}]]|}}{{#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:1965|Volunteer name was::Luann Bjornstad|}} {{#if:1965|started in Bolivia 1965|}}
{{#if:1965|{{#ask:Served in::BoliviaStarted service in::1965|format=list|limit=15}}|}}
{{#if:Beni|Region: Beni|}}
{{#if:Beni|{{#ask:Served in::BoliviaName of region was::Beni|format=list|limit=15}}|}}
{{#if:Santa Cruz|Region: Santa Cruz|}}
{{#if:Santa Cruz|{{#ask:Served in::BoliviaName of region was::Santa Cruz|format=list|limit=15}}|}}
{{#if:Community Development|Community Development in Bolivia: |}}{{#ifexist:Community Development|25px|}}
{{#if:Community Development|{{#ask:Served in sector::Community DevelopmentServed in::Bolivia|format=list|limit=10}}|}}
{{#if:|{{{program2}}} in [[:Category:Bolivia_{{{program2}}}|Bolivia]]: |}}{{#ifexist:|[[Image:{{{program2}}}.gif|25px]]|}}
{{#if:|{{#ask:[[Served in sector::{{{program2}}}]]Served in::Bolivia|format=list|limit=10}}|}}
Other Volunteers who served in Bolivia{{#if:Bolivia|:|}}
{{#ask:Served in::Bolivia|format=list|limit=15}}
Projects in Bolivia{{#if:Bolivia|:|}}
{{#ask:Project in::Bolivia|format=list}}
Don't see yourself, Add yourself or a friend!

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

{{#if:|Mapped Volunteers around Bolivia (0).|}}

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

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

{{#if:1965||}} {{#if:1965||}} {{#if:1965||}} {{#if:Trinidad||}} {{#if:Charagua||}} {{#if:Samaipata||}} {{#if:|[[category:]]|}} {{#if:Beni||}} {{#if:Santa Cruz||}} {{#if:||}} {{#if:||}} {{#if:|[[category:]]|}} {{#if:Community Development||}} {{#if:|[[category:Bolivia_{{{program2}}}]]|}} {{#if:Community Development||}} {{#if:|[[category:{{{program2}}}]]|}} {{#if:|[[category:Bolivia_{{{assignment01}}}]]|}} {{#if:|[[category:Bolivia_{{{assignment02}}}]]|}} {{#if:|[[category:Bolivia_{{{assignment03}}}]]|}} {{#if:|[[category:Bolivia_{{{assignment04}}}]]|}} {{#if:|[[category:{{{assignment01}}}]]|}} {{#if:|[[category:{{{assignment02}}}]]|}} {{#if:|[[category:{{{assignment03}}}]]|}} {{#if:|[[category:{{{assignment04}}}]]|}}