Difference between pages "Template:Wikipedia" and "Template:Sitebox"

From Peace Corps Wiki
(Difference between pages)
Jump to: navigation, search
 
 
Line 1: Line 1:
 +
<noinclude>
 +
This is the 'Sitebox' template.
 +
It should be called in the following format:
 +
<pre>
 +
{{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)
 +
}}
 +
</pre>
 +
Edit the page to see the template text.
 +
 +
</noinclude><includeonly>
 +
 +
<div style=" text-align: center; font-size: 80%;">{{#if:{{{sitebar|}}}|{{#ask:[[Category:{{{country}}}_sites]]}}|}}</div>
 +
 +
 +
{{#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"
 
{| 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>'''
 
|-
 
|-
|[[Image:Wikipedia.png|50px|none|Wikipedia|<nowiki></nowiki>]]
+
|{{#if: Image:Flag_of_{{{country}}}.svg ‎| [[Image:Flag_of_{{{country}}}.svg‎|50px|none]] | }}
|Information on ''[[Wikipedia:{{PAGENAME}}|{{PAGENAME}}]]'' can be found at ''Wikipedia''. <small>[[Peacecorpwiki:Encyclopedic material|''What's this?'']]</small>
+
|If you served in [[{{{country}}}]],please '''[[Form:Volunteer | create a page]]'''on yourself. Thanks!
 
|}
 
|}
[[Category:wikipedia links]]
+
{| 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>
 +
|-
 +
! [[:category:{{{country}}}|Country]]
 +
| [[Served in::{{{country|}}}]]
 +
|-
 +
! {{#if:{{{region|}}}|[[:category:regions|Region(s)]]|}}
 +
| {{#arraymap:{{{region|}}}|,|x|[[Name of region was::x]]}}
 +
|-
 +
! {{#if:{{{sitetotalvolunteers|}}}|Total Volunteers:|}}
 +
| {{#arraymap:{{{sitetotalvolunteers|}}}|,|x|[[Total number of Volunteers since Site Establishment is::x]]|}}
 +
|-
 +
! {{#if:{{{siteyearestablished|}}}|Established:|}}
 +
| {{#arraymap:{{{sitetotalvolunteers|}}}|,|x|[[Year of Site Establishment was::x]]|}}
 +
|-
 +
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{region|}}}|Other 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|}}}|Other sites in: [[{{{region}}}]]|}}
 +
|-
 +
! colspan="3"|{{#if:{{{country|}}}|{{#ask:[[Category:sites]] [[Name of region was::{{{region}}}]]|format=list|limit=15}}|}}
 +
|-
 +
! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{site|}}}|Volunteers who served at site: {{{site}}}|}}
 +
|-
 +
! colspan="3"|{{#if:{{{site|}}}|{{#ask:[[Name of community was::{{{site}}}]]|format=list|limit=15}}|}}
 +
|}
 +
{{#if:{{{map|}}}|{{Location
 +
|Coordinates={{#geocode:{{{PAGENAME}}},{{{country}}}}}
 +
}}|}}
 +
 
 +
{{#if:{{{site|}}}<center>'''Volunteers who served in {{{site}}}'''</center>|}}
 +
 
 +
{{#if:{{{site|}}}|{{#ask:[[Name of community was::{{{site}}}]] | ?Started service in | ?Ended service in | ?Served in sector| ?Primary assignment was}}|}}
 +
 
 +
{{#if:{{{region|}}}|[[category:{{{region|}}}]]|}}
 +
[[Category:{{{country}}}_sites]]  
 +
</includeonly>

Revision as of 22:07, 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)
}}

Edit the page to see the template text.