Difference between pages "William G. Moseley "Volunteer"" and "Template:Sitebox"

From Peace Corps Wiki
(Difference between pages)
Jump to: navigation, search
(Created page with "{{Volunteerinfobox |firstname=William (Bill) |middlename=G. |lastname=Moseley |country=Mali |yearservicestarted=1987 |yearserviceended=1989 |site=Diera |region=Koulikoro |state=M...")
 
 
Line 1: Line 1:
{{Volunteerinfobox
+
<noinclude>
|firstname=William (Bill)
+
This is the 'Sitebox' template.
|middlename=G.
+
It should be called in the following format:
|lastname=Moseley
+
<pre>
|country=Mali
+
{{Sitebox
|yearservicestarted=1987
+
|site= (usually page name...but if different)
|yearserviceended=1989
+
|sitebar= (yes or no)
|site=Diera
+
|country=
|region=Koulikoro
+
|region=
|state=Minnesota
+
|sitetotalvolunteers=
|uscity=Saint Paul
+
|siteyearestablished=
|program=Agriculture
+
|map= (yes or no)
|assignment01=Sustainable Agricultural Science
+
|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 Province
 +
|sitetotalvolunteers= ?
 +
|siteyearestablished= ?
 +
|map= yes
 +
|wikipedia= yes
 +
|wikitravel=
 +
|appropedia= yes
 +
|volunteertable= yes
 +
}}
 +
</pre>
 +
 +
 +
|
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
{{Sitebox
 +
|site= Quito
 +
|sitebar= yes
 +
|country= Ecuador
 +
|region= Pichincha Province
 +
|sitetotalvolunteers= ?
 +
|siteyearestablished= ?
 +
|map= yes
 +
|wikipedia= yes
 +
|wikitravel=
 +
|appropedia= yes
 +
|volunteertable= yes
 +
}}
 +
|}
 +
 +
</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;" colspan="1" |{{#if:{{{sitebar|}}}|[[{{{country}}}_regions|{{{country}}} Regions]]|}}
 +
|-
 +
|{{#if:{{{sitebar|}}}|{{#ask:[[Category:{{{country}}}_regions]]}}|}}
 +
! style="text-align: center; background-color:#ccccff;" colspan="1"|{{#if:{{{sitebar|}}}|[[{{{country}}}_sites|{{{country}}} PC Sites]]|}}
 +
|-
 +
|{{#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" |[[Image:Flag_of_{{{country}}}.svg‎|50px|none]]<big>{{{site}}}, [[{{{country}}}]]</big>
 +
|-
 +
! {{#if:{{{region|}}}|[[:category:regions|Region]]|}}
 +
| {{#arraymap:{{{region|}}}|,|x|[[Name of region was::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:sites]] [[Name of region was::{{{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}}|}}
 +
|}
 +
{{#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}}}]] | ?Started service in | ?Ended service in | ?Served in sector| ?Primary assignment was}}|}}
 +
 +
{{#if:{{{region|}}}|[[category:{{{region|}}}]]|}}
 +
{{#if:{{{country|}}}|[[Category:{{{country}}}_sites]]|}} 
 +
</includeonly>

Revision as of 17:35, 4 April 2009

This is the 'Sitebox' template. It should be called in the following format:

{{Sitebox
|site= (usually page name...but if different)
|sitebar= (yes or no)
|country=
|region=
|sitetotalvolunteers=
|siteyearestablished=
|map= (yes or no)
|wikipedia= (yes or no)
|wikitravel= (yes or no)....in development
|appropedia= (yes or no)
|volunteertable= (yes or no)
}}

Edit the page to see the template text.

EXAMPLE:
{{Sitebox
|site= Quito
|sitebar= yes
|country= Ecuador
|region= Pichincha Province
|sitetotalvolunteers= ?
|siteyearestablished= ?
|map= yes
|wikipedia= yes
|wikitravel= 
|appropedia= yes
|volunteertable= yes
}}








{{#if:yes|Ecuador Regions|}}
{{#if:yes|{{#ask:}}|}}
{{#if:yes|Ecuador PC Sites|}}
{{#if:yes|{{#ask:}}|}}
Template:Sitebox
Quito, Ecuador
Region|}} ,|x|Located in::x}}
Total Volunteers:|}} ,|x|Total number of Volunteers since Site Establishment is::x|}}
Established:|}} ,|x|Year of Site Establishment was::x|}}
{{#if:Pichincha Province| Volunteered in Pichincha Province|}}
{{#if:Pichincha Province|{{#ask: Served in::EcuadorName of region was::Pichincha Province|format=list|limit=15}}|}}
{{#if:Pichincha Province|Other sites in Pichincha Province|}}
{{#if:Ecuador|{{#ask:|format=list|limit=15}}|}}
{{#if:Quito|Volunteers who served at Quito|}}
{{#if:Quito|{{#ask:Name of community was::Quito|format=list|limit=15}}|}}
{{#if:Quito|Projects at Quito|}}
{{#if:Quito|{{#ask:Name of community was::QuitoProject in::Ecuador|format=list|limit=15}}|}}

{{#if:yes|

Sitebox follows the same naming convention as an article in Wikipedia. go there! What's this?
|}}

{{#if:Yes|

See Appropriate technology information on Quito at:Quito at Appropedia.
}
Quito, Located in::Ecuador
If you served in Ecuador, please create a page on yourself. Thanks!

{{#if:yes|Map Sites in Ecuador|}}

{{#if:yes|



{{#display_map:{{#geocode:Quito,Ecuador}}|service=openlayers}}
Sitebox
([[Location Coordinates::{{#geocode:Quito,Ecuador}}]])
|}}


{{#if:yes|==Volunteers Who Have Served in Quito== {{#ask:Name of community was::QuitoServed in::EcuadorName of region was::Pichincha Province | ?Started service in | ?Ended service in | ?Served in sector| ?Primary assignment was| sort = Started service in | order = ascending }}|}}

{{#if:Pichincha Province||}} {{#if:Ecuador||}} {{#if:yes||}}

|}