Difference between revisions of "Template:Sitebox"

From Peace Corps Wiki
Jump to: navigation, search
Line 17: Line 17:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
{{Sitetest2
 
|sitebar= yes
 
|country= Armenia
 
|region= Vayots Dzor
 
|site= Jermuk
 
|sitetotalvolunteers= 7
 
|siteyearestablished= 1994
 
|appropedia= yes
 
|wikipedia= yes
 
}}
 
 
  
 
</noinclude><includeonly>
 
</noinclude><includeonly>
Line 74: Line 62:
 
|Coordinates={{#geocode:{{{PAGENAME}}},{{{country}}}}}
 
|Coordinates={{#geocode:{{{PAGENAME}}},{{{country}}}}}
 
}}|}}
 
}}|}}
<center>'''{{#if:{{{site|}}}|Volunteers who served in {{{site}}}|}}'''</center>
 
  
{{#if:{{{site|}}}
+
{{#if:{{{site|}}}<center>'''Volunteers who served in {{{site}}}'''</center>|}}
|{{#ask:[[Name of community was::{{{site}}}]]  
+
 
| ?Started service in  
+
{{#if:{{{site|}}}|{{#ask:[[Name of community was::{{{site}}}]] | ?Started service in | ?Ended service in | ?Served in sector| ?Primary assignment was}}|}}
| ?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 20:24, 18 March 2009

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

{{Sitetest2
|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)
}}

Edit the page to see the template text.