Difference between revisions of "Template:Sitebox"

From Peace Corps Wiki
Jump to: navigation, search
(One intermediate revision by the same user not shown)
Line 14: Line 14:
 
|wikitravel= (yes or no)....in development
 
|wikitravel= (yes or no)....in development
 
|appropedia= (yes or no)
 
|appropedia= (yes or no)
 +
|volunteertable= (yes or no)
 
}}
 
}}
 
</pre>
 
</pre>
Line 23: Line 24:
  
  
{{#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>{{{site}}}, [[{{{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="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>
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{{site}}}</big>
Line 59: Line 51:
 
! colspan="3"|{{#if:{{{site|}}}|{{#ask:[[Name of community was::{{{site}}}]]|format=list|limit=15}}|}}
 
! colspan="3"|{{#if:{{{site|}}}|{{#ask:[[Name of community was::{{{site}}}]]|format=list|limit=15}}|}}
 
|}
 
|}
 +
{{#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>{{{site}}}, [[{{{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!
 +
|}
 +
 
{{#if:{{{map|}}}|{{Location
 
{{#if:{{{map|}}}|{{Location
|Coordinates={{#geocode:{{{PAGENAME}}},{{{country}}}}}
+
|Coordinates={{#geocode:{{{site}}},{{{country}}}}}
 
}}|}}
 
}}|}}
  
{{#if:{{{site|}}}<center>'''Volunteers who served in {{{site}}}'''</center>|}}
+
{{#if:{{{volunteertable|}}}|==Volunteers Who Have Served in Ambato==
 
+
{{#ask:[[Name of community was::{{{site}}}]] | ?Started service in | ?Ended service in | ?Served in sector| ?Primary assignment was}}|}}
{{#if:{{{site|}}}|{{#ask:[[Name of community was::{{{site}}}]] | ?Started service in | ?Ended service in | ?Served in sector| ?Primary assignment was}}|}}
 
  
 
{{#if:{{{region|}}}|[[category:{{{region|}}}]]|}}  
 
{{#if:{{{region|}}}|[[category:{{{region|}}}]]|}}  
 
[[Category:{{{country}}}_sites]]  
 
[[Category:{{{country}}}_sites]]  
 
</includeonly>
 
</includeonly>

Revision as of 23:24, 25 March 2009

This is the 'Sitebox' template. It should be called in the following format:

{{Sitebox
|site= (usually page name...but if different)
|sitebar= (yes or no)
|country=
|region=
|sitetotalvolunteers=
|siteyearestablished=
|map= (yes or no)
|wikipedia= (yes or no)
|wikitravel= (yes or no)....in development
|appropedia= (yes or no)
|volunteertable= (yes or no)
}}

Edit the page to see the template text.