Difference between pages "Template:Regionbox" and "History of the Peace Corps in Afghanistan"

From Peace Corps Wiki
(Difference between pages)
Jump to: navigation, search
(attempting to create "Region" template box with list of volunteers and sites in region)
 
m (added History_of_the_Peace_Corps_by_country template)
 
Line 1: Line 1:
<noinclude>
+
{{History_of_the_Peace_Corps_by_country}}
This is the 'regionbox' template.
+
It should be called in the following format:
+
  
<pre>
 
{{regionbox
 
|regionbar=
 
|region=
 
|country=
 
|wikipedia= (yes or no)
 
|wikitravel= (yes or no)....in development
 
|appropedia= (yes or no)
 
}}
 
</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>
+
''This article is a stub. You can help Peace Corps Wiki by [http://peacecorpswiki.org/History_of_the_Peace_Corps_in_Afghanistan?title=History_of_the_Peace_Corps_in_Afghanistan&action=edit expanding it].''
  
 
+
See also: [[Afghanistan]]
{{#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>{{{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>{{{site}}}</big>
+
|-
+
! [[:category:{{{country}}}|Country]]
+
| [[Served in::{{{country|}}}]]
+
|-
+
! {{#if:{{{region|}}}|[[:category:regions|Region(s)]]|}}
+
| {{#arraymap:{{{region|}}}|,|x|[[Name of region was::x]]}}
+
|-
+
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{region|}}}|Other 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|}}}|Other sites in: [[{{{region}}}]]|}}
+
|-
+
! colspan="3"|{{#if:{{{country|}}}|{{#ask:[[Category:sites]] [[Name of region was::{{{region}}}]]|format=list|limit=15}}|}}
+
|-
+
! colspan="3"|{{#if:{{{region|}}}|{{#ask:[[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}}}]] | ?Started service in | ?Ended service in | ?Served in sector| ?Primary assignment was}}|}}
+
 
+
{{#if:{{{region|}}}|[[category:{{{region|}}}]]|}}
+
[[Category:{{{country}}}_region]]  
+
</includeonly>
+

Revision as of 00:19, 13 March 2009

Country Resources



This article is a stub. You can help Peace Corps Wiki by expanding it.

See also: Afghanistan