Difference between revisions of "Template:Countrysites"

From Peace Corps Wiki
Jump to: navigation, search
(added preview ect)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#ask:[[Location Coordinates::+]][[Category:{{{1}}}_sites]]|limit=500|?Location Coordinates;icon=Site.png|format=googlemap|width=600|height=300}}
+
<noinclude>
 +
This is the 'Countrysite' template, and the template is usually displayed on the '''COUNTRYNAME_sites''' page.
 +
It should be called in the following format:
 +
 
 +
<pre>
 +
 
 +
{{Countrysite|COUNTRYNAME}}
 +
 
 +
</pre>
 +
 
 +
Edit the page to see the template text.
 +
 
 +
 
 +
 
 +
Example:
 +
{{Countrysite|Ecuador}}
 +
 
 +
</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: 90%;">{{#if:{{{regionbar|}}}|[[{{{country}}} PC Sites]]|}}</div>
 +
<div style=" text-align: center; font-size: 80%;">{{#if:{{{regionbar|}}}|{{#ask:[[Category:{{{country}}}_sites]] [[Category:Location]]}}|}}</div>
 +
{{#ask:[[Location Coordinates::+]][[Category:{{{1}}}_sites]]|limit=500|?Location Coordinates|format=googlemap|width=600|height=300}}
  
 
{| 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 19: Line 41:
 
[[category:sites]]
 
[[category:sites]]
 
[[category:{{{1}}}]]
 
[[category:{{{1}}}]]
 
+
</includeonly>
}}
 

Revision as of 15:22, 1 April 2009

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


{{Countrysite|COUNTRYNAME}}

Edit the page to see the template text.


Example: Template:Countrysite