Difference between pages "Cal Jones" and "Template:Regionbox"

From Peace Corps Wiki
(Difference between pages)
Jump to: navigation, search
m (1 revision)
 
m (modified table of RPCVs to show site, modified appropedia box)
 
Line 1: Line 1:
{{Volunteerinfobox
+
<noinclude>
|firstname=Calvin
+
This is the 'regionbox' template.
|middlename=Hanger
+
It should be called in the following format:
|lastname=Jones
+
 
|country=Guinea
+
<pre>
|yearservicestarted=1965
+
{{regionbox
|yearserviceended=1966
+
|regionbar=
|region=Upper Guinea
+
|region=
|state=California
+
|country=
|uscity=San Diego
+
|wikipedia= (yes or no)
|program=Education
+
|wikitravel= (yes or no)....in development
 +
|appropedia= (yes or no)
 
}}
 
}}
Peace Corps asked to leave in 1966; I transferred to Togo 1966-1968 in Mango, TEFL, Sports, Art... applied to law schools, attended Georgetown Law, retired in 2003 from 30 years as a prosecutor for San Bernardino County, CA. Now: Semi-retired in San Diego... looking for another meaningful adventure of a lifetime, maybe reup?
+
</pre>
 +
Edit the page to see the template text.
 +
 
 +
Example:
 +
 
 +
{{regionbox
 +
|regionbar=yes
 +
|region=Santa Elena
 +
|country=Ecuador
 +
|wikipedia= yes
 +
|wikitravel= yes
 +
|appropedia= yes
 +
}}
 +
 
 +
</noinclude><includeonly>
 +
 
 +
<div style=" text-align: center; font-size: 80%;">{{#if:{{{regionbar|}}}|{{#ask:[[Category:{{{country}}}_regions]]}}|}}</div>
 +
 
 +
 
 +
{{#if:{{{wikipedia|}}}|{{wikipedia}}|}}
 +
{{#if:{{{appropedia|}}}|{{AppropediaLocation|{{{region}}}}}|}}
 +
 
 +
{| 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>{{{region}}}, [[{{{country}}}]]</big>'''
 +
|-
 +
|{{#if: Image:Flag_of_{{{country}}}.svg ‎| [[Image:Flag_of_{{{country}}}.svg‎|50px|none]] | }}
 +
|If you served in [[{{{country}}}]], please '''[[Form:Volunteer | create a page]]''' on yourself. Thanks!
 +
|}
 +
{| 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>{{{region}}}</big>
 +
|-
 +
! {{#if:{{{region|}}}|[[:category:regions|Region(s)]]|}}
 +
| {{#arraymap:{{{region|}}}|,|x|[[Name of region was::x]]}}
 +
|-
 +
! [[:category:{{{country}}}|Country]]
 +
| [[Served in::{{{country|}}}]]
 +
|-
 +
 
 +
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{region|}}}|Volunteers who served in the region: [[{{{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|}}}|Sites in: [[{{{region}}}]]|}}
 +
|-
 +
! colspan="3"|{{#if:{{{country|}}}|{{#ask:[[Category:sites]] [[Name of region was::{{{region}}}]]|format=list|limit=15}}|}}
 +
|-
 +
|}
 +
 
 +
{{#if:{{{region|}}}<center>'''Volunteers who served in {{{region}}}'''</center>|}}
 +
 
 +
{{#if:{{{region|}}}|{{#ask:[[Name of region was::{{{region}}}]] | ?Name of community was | ?Started service in | ?Ended service in | ?Served in sector| ?Primary assignment was}}|}}
 +
 
 +
{{#if:{{{region|}}}|[[category:{{{region|}}}]]|}}
 +
[[Category:{{{country}}}_region]]
 +
</includeonly>

Revision as of 22:57, 22 March 2009

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

{{regionbox
|regionbar=
|region=
|country=
|wikipedia= (yes or no)
|wikitravel= (yes or no)....in development
|appropedia= (yes or no)
}}

Edit the page to see the template text.

Example:



{{#if:yes|Ecuador Regions|}}
{{#if:yes|{{#ask:}}|}}
{{#if:yes|Ecuador PC Sites|}}
{{#if:yes|{{#ask:}}|}}


Santa Elena
Region(s)|}} Santa Elena
Country Located in::Ecuador
{{#if:Santa Elena|Volunteers who served in the region: Santa Elena|}}
{{#if:Santa Elena|{{#ask: Served in::EcuadorName of region was::Santa Elena|format=list|limit=15}}|}}
{{#if:Santa Elena|Sites in: Santa Elena|}}
{{#if:Ecuador|{{#ask:|format=list|limit=15}}|}}
{{#if:Santa Elena|Projects in Santa Elena|}}
{{#if:Santa Elena|{{#ask:Name of region was::Santa ElenaProject in::Ecuador|format=list|limit=15}}|}}

{{#if:yes|

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

{{#if:yes|

See Appropriate technology information on Santa Elena at:Santa Elena at Appropedia.

|}}

Santa Elena, Ecuador
| }} If you served in Ecuador, please create a page on yourself. Thanks!



{{#if:Santa Elena|==Volunteers Who Have Served in Santa Elena==|}} {{#if:Santa Elena|{{#ask:Name of region was::Santa ElenaServed in::Ecuador | ?Name of community was | ?Started service in | ?Ended service in | ?Served in sector| ?Primary assignment was| sort = Started service in| | order = ascending}}|}}

{{#if:Santa Elena||}}