Difference between pages "Template:Regionbox" and "Template:ArmeniaCountrybar"

From Peace Corps Wiki
(Difference between pages)
Jump to: navigation, search
m (1 revision)
 
(full size text)
 
Line 1: Line 1:
<noinclude>
+
<div style=" text-align: center;>
This is the 'regionbox' template.
+
[[Armenia|Armenia Articles]] | [[Armenia Peace Corps History]] | [[Armenia Country Overview ]] | [[Armenia History]] | [[Armenia Living Conditions]] | [[Armenia Training]] | [[Armenia Health Safety]] | [[Armenia Diversity Crosscultural]] | [[Armenia Packing List]] | [[Armenia Pre Departure Checklist]] | [[Armenia Books]] | [[:Category:Volunteers who served in Armenia|Volunteers who served in Armenia ]] | [[:Category:Armenia Site|Armenia Volunteer Site Postings]] | [[Armenia Frequently Asked Questions]] | [[Armenia Web Resources]] </div>
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
+
}}
+
[[Category:templates regions]]
+
 
+
 
+
</noinclude><includeonly>
+
 
+
 
+
 
+
<div style=" text-align: center; font-size: 90%;">{{#if:{{{regionbar|}}}|[[{{{country}}}_regions|{{{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}}}_sites|{{{country}}} PC Sites]]|}}</div>
+
<div style=" text-align: center; font-size: 80%;">{{#if:{{{regionbar|}}}|{{#ask:[[Category:{{{country}}}_sites]] [[Category:Location]]}}|}}</div>
+
 
+
 
+
{| 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)]]|}}
+
| [[{{{region}}}]]
+
|-
+
! [[:category:{{{country}}}|Country]]
+
| [[Located 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:{{{country}}}_sites]] [[Category:Location]][[Category:{{{region}}}]]|format=list|limit=15}}|}}
+
|-
+
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{region|}}}|Projects in {{{region}}}|}}
+
|-
+
! colspan="3"|{{#if:{{{region|}}}|{{#ask:[[Name of region was::{{{region}}}]][[Project in::{{{country}}}]]|format=list|limit=15}}|}}
+
|}<br>
+
 
+
{{#if:{{{wikipedia|}}}|{{wikipedia}}|}}<br>
+
 
+
{{#if:{{{appropedia|}}}|{{AppropediaLocation|{{{region}}}}}|}}<br>
+
 
+
{| 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!
+
|}<br><br>
+
 
+
 
+
{{#if:{{{region|}}}|==Volunteers Who Have Served in {{{region}}}==|}}
+
{{#if:{{{region|}}}|{{#ask:[[Category:Volunteers]][[Name of region was::{{{region}}}]][[Served in::{{{country}}}]] | ?Name of community was | ?Started service in | ?Ended service in | ?Served in sector| ?Primary assignment was| sort = Started service in|
+
| order = ascending}}|}}
+
 
+
{{#if:{{{region|}}}|[[category:{{{region|}}}]]|}}
+
[[Category:{{{country}}}_regions]]
+
</includeonly>
+

Revision as of 17:47, 22 March 2008

Armenia Articles | Armenia Peace Corps History | Armenia Country Overview | Armenia History | Armenia Living Conditions | Armenia Training | Armenia Health Safety | Armenia Diversity Crosscultural | Armenia Packing List | Armenia Pre Departure Checklist | Armenia Books | Volunteers who served in Armenia | Armenia Volunteer Site Postings | Armenia Frequently Asked Questions | Armenia Web Resources