Difference between revisions of "Template:Regionbox"

From Peace Corps Wiki
Jump to: navigation, search
m (Reverted edits by Chanbot (Talk) to last version by Willbot)
Line 28: Line 28:
 
</noinclude><includeonly>
 
</noinclude><includeonly>
  
 +
 +
 +
<div style=" text-align: center; font-size: 90%;">{{#if:{{{regionbar|}}}|[[{{{country}}} Regions]]|}}</div>
 
<div style=" text-align: center; font-size: 80%;">{{#if:{{{regionbar|}}}|{{#ask:[[Category:{{{country}}}_regions]]}}|}}</div>
 
<div style=" text-align: center; font-size: 80%;">{{#if:{{{regionbar|}}}|{{#ask:[[Category:{{{country}}}_regions]]}}|}}</div>
 +
<div style=" text-align: center; font-size: 90%;">{{#if:{{{regionbar|}}}|[[{{{country}}} Regions]]|}}</div>
 +
<div style=" text-align: center; font-size: 80%;">{{#if:{{{regionbar|}}}|{{#ask:[[Category:{{{country}}}_sites]] [[Category:Locations]]}}|}}</div>
  
  
Line 68: Line 73:
  
 
{{#if:{{{region|}}}|[[category:{{{region|}}}]]|}}  
 
{{#if:{{{region|}}}|[[category:{{{region|}}}]]|}}  
[[Category:{{{country}}}_region]]  
+
[[Category:{{{country}}}_regions]]  
 
</includeonly>
 
</includeonly>

Revision as of 13:52, 1 April 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||}}