Difference between revisions of "Template:Countrysites"

From Peace Corps Wiki
Jump to: navigation, search
m (Template:Countrysite moved to Template:Countrysites: needs an s to agree with page names)
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the 'Countrysite' template, and the template is usually displayed on the '''COUNTRYNAME_sites''' page.
+
This is the 'Countrysites' template, and the template is usually displayed on the '''COUNTRYNAME_sites''' page.
 
It should be called in the following format:
 
It should be called in the following format:
  
 
<pre>
 
<pre>
  
{{Countrysite|COUNTRYNAME}}
+
{{Countrysites|COUNTRYNAME}}
  
 
</pre>
 
</pre>
Line 14: Line 14:
  
 
Example:
 
Example:
{{Countrysite|Ecuador}}
+
{{Countrysites|Ecuador}}
  
 
</noinclude><includeonly>
 
</noinclude><includeonly>
Line 22: Line 22:
 
<div style=" text-align: center; font-size: 80%;">{{#if:{{{regionbar|}}}|{{#ask:[[Category:{{{country}}}_sites]] [[Category:Location]]}}|}}</div>
 
<div style=" text-align: center; font-size: 80%;">{{#if:{{{regionbar|}}}|{{#ask:[[Category:{{{country}}}_sites]] [[Category:Location]]}}|}}</div>
  
{{#compound_query:[[Category:{{{1}}}_sites]][[Location Coordinates::+]];?Location Coordinates;icon={{{1}}}flagicon.png‎|format=googlemap|width=800|height=600}}
+
{{#compound_query:[[Category:{{{1}}}_sites]][[Location Coordinates::+]];?Location Coordinates;icon=Site.png‎|format=googlemap|width=800|height=600}}
  
 
{| border="2" class="noprint" class="toccolours" style="clear:right; float:right; background: #f9f9f9; width: 250px;" cellspacing="3" cellpadding="3" rules="none"
 
{| border="2" class="noprint" class="toccolours" style="clear:right; float:right; background: #f9f9f9; width: 250px;" cellspacing="3" cellpadding="3" rules="none"
Line 35: Line 35:
  
 
{{#compound_query:[[Category:{{{1}}}_sites]][[Location Coordinates::+]];?Name of region was;?Location Coordinates;|format=table}}
 
{{#compound_query:[[Category:{{{1}}}_sites]][[Location Coordinates::+]];?Name of region was;?Location Coordinates;|format=table}}
}}<br>
+
 
 
[[category:sites]]
 
[[category:sites]]
 
[[category:{{{1}}}]]
 
[[category:{{{1}}}]]
 
</includeonly>
 
</includeonly>

Revision as of 09:22, 9 April 2009

This is the 'Countrysites' template, and the template is usually displayed on the COUNTRYNAME_sites page. It should be called in the following format:


{{Countrysites|COUNTRYNAME}}

Edit the page to see the template text.


Example:

{{#if:|[[{{{country}}} Regions]]|}}
{{#if:|{{#ask:[[Category:{{{country}}}_regions]]}}|}}
{{#if:|[[{{{country}}} PC Sites]]|}}
{{#if:|{{#ask:[[Category:{{{country}}}_sites]]}}|}}

{{#compound_query:Location Coordinates::+;?Location Coordinates;icon=Site.png‎|format=googlemap|width=800|height=600}}

Volunteers who served in Ecuador
| }} This page is a listing of all the volunteers who have served in Ecuador.

If you served in Ecuador, please create a page on yourself. Thanks!

Volunteers and Sites in the following chart have information in the PCwiki:


{{#compound_query:Location Coordinates::+;?Located in;?Location Coordinates;|format=table}}