Difference between pages "Template:Sitebox" and "Rebecca Carroll"

From Peace Corps Wiki
(Difference between pages)
Jump to: navigation, search
 
m (1 revision)
 
Line 1: Line 1:
<noinclude>
+
{{volunteerinfobox
This is the 'Sitebox' template.
+
|firstname=Rebecca
It should be called in the following format:
+
|lastname=Carroll
<pre>
+
|country=China
{{Sitebox
+
|yearservicestarted=1998
|site= (usually page name...but if different)
+
|yearserviceended=2000
|sitebar= (yes or no)
+
|groupcode=China 5
|country=
+
|site=Pengzhou
|region=
+
|region=Sichuan
|sitetotalvolunteers=
+
|program=
|siteyearestablished=
+
|assignment01=
|map= (yes or no)
+
|wikipedia= (yes or no)
+
|wikitravel= (yes or no)....in development
+
|appropedia= (yes or no)
+
|volunteertable= (yes or no)
+
 
}}
 
}}
</pre>
 
Edit the page to see the template text.
 
 
{|
 
| colspan="2" align="center" | '''<big>EXAMPLE:</big>'''
 
|-
 
|
 
<pre>{{Sitebox
 
|site= Quito
 
|sitebar= yes
 
|country= Ecuador
 
|region= Pichincha
 
|sitetotalvolunteers= ?
 
|siteyearestablished= ?
 
|map= yes
 
|wikipedia= yes
 
|wikitravel=
 
|appropedia= yes
 
|volunteertable= yes
 
}}
 
</pre>
 
 
 
|
 
 
 
 
 
 
 
 
 
 
 
{{Sitebox
 
|site= Quito
 
|sitebar= yes
 
|country= Ecuador
 
|region= Pichincha
 
|sitetotalvolunteers= ?
 
|siteyearestablished= ?
 
|map= yes
 
|wikipedia= yes
 
|wikitravel=
 
|appropedia= yes
 
|volunteertable= yes
 
}}
 
|}
 
 
[[Category:templates sites]]
 
[[Category:templates infoboxes]]
 
</noinclude><includeonly>
 
 
{| style="font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; 1em; padding: 0.2em; float: right; text-align:left;"
 
|-
 
| style="text-align: center; background-color:#ccccff;"|{{#if:{{{sitebar|}}}|[[{{{country}}}_regions|{{{country}}} Regions]]|}}
 
|-
 
| style="text-align: center;" |{{#if:{{{sitebar|}}}|{{#ask:[[Category:{{{country}}}_regions]]}}|}}
 
|-
 
| style="text-align: center; background-color:#ccccff;" |{{#if:{{{sitebar|}}}|[[{{{country}}}_sites|{{{country}}} PC Sites]]|}}
 
|-
 
| style="text-align: center;" |{{#if:{{{sitebar|}}}|{{#ask:[[Category:{{{country}}}_sites]] [[Category:Location]]}}|}}
 
|}
 
 
{| 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" |style=" text-align:right;"''<small>edit template</small>
 
''[[Image:Flag_of_{{{country}}}.svg‎|50px|none]]<big>{{{site}}}, [[{{{country}}}]]</big>
 
|-
 
! {{#if:{{{region|}}}|[[:category:regions|Region]]|}}
 
| {{#arraymap:{{{region|}}}|,|x|[[Located in::x]]}}
 
|-
 
! {{#if:{{{sitetotalvolunteers|}}}|Total Volunteers:|}}
 
| {{#arraymap:{{{sitetotalvolunteers|}}}|,|x|[[Total number of Volunteers since Site Establishment is::x]]|}}
 
|-
 
! {{#if:{{{siteyearestablished|}}}|Established:|}}
 
| {{#arraymap:{{{sitetotalvolunteers|}}}|,|x|[[Year of Site Establishment was::x]]|}}
 
|-
 
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{region|}}}| Volunteered in [[{{{region}}}]]|}}
 
|-
 
! colspan="3"|{{#if:{{{region|}}}|{{#ask:[[Category:volunteers]] [[Served in::{{{country}}}]][[Name of region was::{{{region}}}]]|format=list|limit=15}}|}}
 
|-
 
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{region|}}}|Other sites in [[{{{region}}}]]|}}
 
|-
 
! colspan="3"|{{#if:{{{country|}}}|{{#ask:[[Category:{{{country}}}_sites]] [[Category:Location]][[Category:{{{region}}}]]|format=list|limit=15}}|}}
 
|-
 
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{site|}}}|Volunteers who served at {{{site}}}|}}
 
|-
 
! colspan="3"|{{#if:{{{site|}}}|{{#ask:[[Name of community was::{{{site}}}]]|format=list|limit=15}}|}}
 
|-
 
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{site|}}}|Projects at {{{site}}}|}}
 
|-
 
! colspan="3"|{{#if:{{{site|}}}|{{#ask:[[Name of community was::{{{site}}}]][[Project in::{{{country}}}]]|format=list|limit=15}}|}}
 
|}
 
{{#if:{{{wikipedia|}}}|{{wikipedia}}|}}
 
{{#if:{{{appropedia|}}}|{{AppropediaLocation|{{{site}}}}}|}}
 
 
{| border="2" class="noprint" class="toccolours" style="clear:right; float:right; background: #f9f9f9; width: 250px;" cellspacing="3" cellpadding="3" rules="none"
 
| colspan="2" align="center" | '''<big>{{{site}}}, [[{{{country}}}]]</big>'''
 
|-
 
|If you served in [[{{{country}}}]], please '''[[Form:Volunteer | create a page]]''' on yourself. Thanks!
 
{{#if:{{{map|}}}|Map [[{{{country}}}_sites|Sites in {{{country}}}]]|}}
 
|}
 
 
{{#if:{{{map|}}}|{{Location
 
|Coordinates={{#geocode:{{{site}}},{{{country}}}}}
 
}}|}}
 
 
 
 
{{#if:{{{volunteertable|}}}|==Volunteers Who Have Served in {{{site}}}==
 
{{#ask:[[Name of community was::{{{site}}}]][[Served in::{{{country}}}]][[Name of region was::{{{region}}}]] | ?Started service in | ?Ended service in | ?Served in sector| ?Primary assignment was| sort = Started service in
 
| order = ascending
 
}}|}}
 
 
{{#if:{{{region|}}}|[[category:{{{region|}}}]]|}}
 
{{#if:{{{country|}}}|[[Category:{{{country}}}_sites]]|}} 
 
{{#if:{{{country|}}}|[[Located in::{{{country}}}|]] |}}
 
</includeonly>
 

Latest revision as of 14:49, 21 May 2014



{{#if:Rebecca|Firstname::Rebecca|}} {{#if:|[[Middlename::{{{middlename}}}]]|}} {{#if:Carroll|Lastname::Carroll|}}{{#if:China||}}

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

Country Served in::China
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::|}}{{#if:|,[[Served in sector::{{{program2}}}]]|}}{{#if:|,[[Served in sector::{{{program3}}}]]|}}
Assignment(s)|}} Primary assignment was::|}}{{#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::Rebecca Carroll|}} {{#if:1998|started in China 1998|}}
{{#if:1998|{{#ask:Served in::ChinaStarted service in::1998|format=list|limit=15}}|}}
{{#if:Sichuan|Region: Sichuan|}}
{{#if:Sichuan|{{#ask:Served in::ChinaName of region was::Sichuan|format=list|limit=15}}|}}
{{#if:|Region: [[{{{region2}}}]]|}}
{{#if:|{{#ask:Served in::China[[Name of region was::{{{region2}}}]]|format=list|limit=15}}|}}
{{#if:|[[Property:Served in sector|]] in China: |}}{{#ifexist:|25px|}}
{{#if:|{{#ask:Served in sector::Served in::China|format=list|limit=10}}|}}
{{#if:|{{{program2}}} in [[:Category:China_{{{program2}}}|China]]: |}}{{#ifexist:|[[Image:{{{program2}}}.gif|25px]]|}}
{{#if:|{{#ask:[[Served in sector::{{{program2}}}]]Served in::China|format=list|limit=10}}|}}
Other Volunteers who served in China{{#if:China|:|}}
{{#ask:Served in::China|format=list|limit=15}}
Projects in China{{#if:China|:|}}
{{#ask:Project in::China|format=list}}
Don't see yourself, Add yourself or a friend!

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

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

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

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

{{#if:1998||}} {{#if:1998||}} {{#if:1998||}} {{#if:Pengzhou||}} {{#if:|[[category:]]|}} {{#if:|[[category:]]|}} {{#if:|[[category:]]|}} {{#if:Sichuan||}} {{#if:|[[category:]]|}} {{#if:||}} {{#if:||}} {{#if:China 5||}} {{#if:||}} {{#if:|[[category:China_{{{program2}}}]]|}} {{#if:|[[category:]]|}} {{#if:|[[category:{{{program2}}}]]|}} {{#if:||}} {{#if:|[[category:China_{{{assignment02}}}]]|}} {{#if:|[[category:China_{{{assignment03}}}]]|}} {{#if:|[[category:China_{{{assignment04}}}]]|}} {{#if:|[[category:]]|}} {{#if:|[[category:{{{assignment02}}}]]|}} {{#if:|[[category:{{{assignment03}}}]]|}} {{#if:|[[category:{{{assignment04}}}]]|}}