Template:Countryboxinfoboxtesting

From Peace Corps Wiki

(Difference between revisions)
Jump to: navigation, search
Line 33: Line 33:
Example:
Example:
-
<pre>{{Countryinfoboxtesting
+
<pre>
-
|Countryname= Guatemala
+
 
-
|status= ACTIVE
+
-
|flag= Flag_of_Guatemala.svg
+
-
|welcomebookexternallink= http://www.peacecorps.gov/welcomebooks/gtwb520.pdf
+
-
|welcomebookinternallink=
+
-
|countryprogramstarted= 1963
+
-
|countryprogramended=
+
-
|worldregion= Central American and Mexico
+
-
|sectors=Agriculture, Business Development, Municipal Development, Environment, Health
+
-
|countrydirector= Todd Sloan
+
-
|countryAPCD=
+
-
|countryPTMO=
+
-
|agicultureAPCD=Salvador Morales
+
-
|environmentAPCD=Flavio Linares
+
-
|healthAPCD=Sergio Mack
+
-
|businessAPCD=Roberto Leiva
+
-
|municipaldevAPCD=Gonzalo Ball
+
-
|programDates= [[1963]] - [[Present]]
+
-
|CurrentlyServing= 184
+
-
|TotalVolunteers= 4366
+
-
|countryregions=
+
-
|countrysites=
+
-
|Languages= [[Spanish]], [[Kaqchiquel]], [[Kek'chi]]
+
-
|Map= Gt-map.gif
+
-
}}
+
</pre>
</pre>
Line 72: Line 48:
|countryprogramended=  
|countryprogramended=  
|worldregion= Central American and Mexico
|worldregion= Central American and Mexico
-
|sectors=Agriculture, Business Development, Municipal Development, Environment, Health
+
|sectors= Agriculture, Business Development, Municipal Development, Environment, Health
|countrydirector= Todd Sloan
|countrydirector= Todd Sloan
|countryAPCD=
|countryAPCD=
Line 112: Line 88:
! colspan="2"|[[Image:{{{map}}}|250px]]
! colspan="2"|[[Image:{{{map}}}|250px]]
|-
|-
-
| colspan="2" align="center"|[ [[PC Welcomebook link::{{{welcomebooklink}}}]] ''Peace Corps Welcome Book'']
+
| colspan="2" align="center"|[[ [[PC Welcomebook link::{{{welcomebooklink}}}]]|''Peace Corps Welcome Book'']]
|-
|-
Line 121: Line 97:
|[http://www.peacecorpswiki.org/Category:Country_directors Country Director]:
|[http://www.peacecorpswiki.org/Category:Country_directors Country Director]:
|
|
-
[[Name of Countrydirector:{{{countrydirector}}}]]
+
[[Country Director::{{{countrydirector}}}]]
|-
|-
|[http://www.peacecorpswiki.org/Category:Sectors Sectors]:
|[http://www.peacecorpswiki.org/Category:Sectors Sectors]:
|
|
-
{{{sectors}}}
+
[[Country Sectors::{{{sectors}}}]]
|-
|-
|Program Dates:
|Program Dates:
|
|
-
[[Program started in::{{{programstarted}}}]]- [[Program ended in::{{{programended}}}]]
+
[[Program started in::{{{countryprogramstarted}}}]]- [[Program ended in::{{{countryprogramended}}}]]
|-
|-
|Current Volunteers:
|Current Volunteers:
|
|
-
[[Currently serving::{{{Currentlyserving}}}]]
+
[[Currently serving::{{{currentlyserving}}}]]
|-
|-
|Total Volunteers:
|Total Volunteers:
|
|
-
[[Total volunteers::{{{Totalvolunteers}}}]]
+
[[Total volunteers::{{{totalvolunteers}}}]]
|-
|-
|Languages Spoken:
|Languages Spoken:
|
|
-
[[Languages::{{{Languages}}}]]
+
[[Languages::{{{languages}}}]]
|-
|-
|Flag:
|Flag:
|
|
-
[[Image:{{{Flag}}}|150px]]
+
[[Image:{{{flag}}}|150px]]
|}
|}
</div>
</div>

Revision as of 16:05, 10 April 2009

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

{{countryinfoboxtesting
|countryname=
|status=
|flag= (.gif files)
|welcomebookexternallink=
|welcomebookinternallink=
|countryprogramstarted=
|countryprogramended=
|sectors= 
|sites=
|regions=
|countrydirector=
|agicultureAPCD=
|environmentAPCD=
|healthAPCD=
|businessAPCD=
|municipaldevAPCD=
|totalvolunteers=
|currentlyserving=
|languages=
|map= ("yes" to display; "no" leave field blank) Maps, sites, and projects within the country.
}}


Example:



{| 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>{{PAGENAME}}</big> |- ! [[:category:{{{country}}}|Country]] | [[Name of country::{{{country|}}}]] |- ! [[:category:countries|Years:]] | [[Started service in::{{{yearservicestarted|}}}]]-[[Ended service in::{{{yearserviceended|}}}]] |- ! {{#if:{{{groupcode|}}}|[[:category:groupcodes|Group Code]]|}} | {{#arraymap:{{{groupcode|}}}|,|x|[[Group code was::x]]}} |- ! {{#if:{{{site|}}}|[[:category:sites|Site(s)]]|}} | {{#arraymap:{{{site|}}}|,|x|[[Name of community was::x]]}} {{#arraymap:{{{site2|}}}|,|x|and [[Name of community was::x]]}} |- ! {{#if:{{{region|}}}|[[:category:regions|Region(s)]]|}} | {{#arraymap:{{{region|}}}|,|x|[[Name of region was::x]]}} {{#arraymap:{{{region2|}}}|,|x|and [[Name of region was::x]]}} |- ! [[:category:programs|Program]] | [[Served in sector::{{{program|}}}]] |- ! {{#if:{{{assignment01|}}}|[[:category:assignments|Assignment]]|}} | {{#arraymap:{{{assignment01|}}}|,|x|[[Primary assignment was::x]]}}{{#arraymap:{{{assignment02|}}}|,|x|[[Primary assignment was::x]]}}{{#arraymap:{{{assignment03|}}}|,|x|[[Primary assignment was::x]]}} |- ! style="text-align: center; background-color:#ccccff;" colspan="3"|Started service in [[:category:{{{country}}}_Volunteers_{{{yearservicestarted}}}|{{{yearservicestarted}}}]] |- ! colspan="3"|{{#ask:[[Served in::{{{country}}}]][[Started service in::{{{yearservicestarted}}}]]|format=list|limit=15}} |- ! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{region|}}}|Region: [[{{{region}}}]]|}} |- ! colspan="3"|{{#if:{{{region|}}}|{{#ask:[[Served in::{{{country}}}]][[Name of region was::{{{region}}}]]|format=list|limit=15}}|}} |- ! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{region2|}}}|Region: [[{{{region2}}}]]|}} |- ! colspan="3"|{{#if:{{{region2|}}}|{{#ask:[[Served in::{{{country}}}]][[Name of region was::{{{region2}}}]]|format=list|limit=15}}|}} |- ! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{program|}}}|Program: [[{{{program}}}]]|}} |- ! colspan="3"|{{#if:{{{program|}}}|{{#ask:[[Served in::{{{country}}}]][[Served in sector::{{{program}}}]]|format=list|limit=15}}|}} |- ! style="text-align: center; background-color:#ccccff;" colspan="3"|Other [[:Category:[[Served in::{{{country}}}]]_Volunteers|Volunteers]] who served in [[{{{country}}}]] |- ! colspan="3"|{{#ask:[[Served in::{{{country}}}]]|format=list|limit=15}} |} {{#if:{{{map|}}}|{{Location |Coordinates={{#geocode:{{{site}}},{{{country}}}}} }}|}} [[category:{{{country}}}_Volunteers_{{{yearservicestarted}}}]] [[category:{{{yearservicestarted}}}]] {{#if:{{{site|}}}[[category:{{{site}}}]]}} {{#if:{{{region|}}}|[[category:{{{region|}}}]]|}} {{#if:{{{groupcode|}}}|[[category:{{{groupcode|}}}]]|}} {{DEFAULTSORT:{{{lastname}}},{{{firstname}}} }} [[Category:volunteers]]


US Peace Corps
[[PC country::PAGENAME]]


Status: ACTIVE


Gt-map.gif
[ Peace Corps Welcome Book]
Region:
Country Director:

Name of Countrydirector:Todd Sloan

Sectors:

Agriculture, Business Development, Municipal Development, Environment, Health

Program Dates:

{{{ProgramDates}}}

Current Volunteers:

{{{CurrentlyServing}}}

Total Volunteers:

{{{TotalVolunteers}}}

Languages Spoken:

{{{Languages}}}

Flag:

[[Image:{{{Flag}}}|150px]]




Edit the page to see the template text.



{| 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>{{PAGENAME}}</big> |- ! [[:category:{{{country}}}|Country]] | [[Name of country::{{{country|}}}]] |- ! [[:category:countries|Years:]] | [[Started service in::{{{yearservicestarted|}}}]]-[[Ended service in::{{{yearserviceended|}}}]] |- ! {{#if:{{{groupcode|}}}|[[:category:groupcodes|Group Code]]|}} | {{#arraymap:{{{groupcode|}}}|,|x|[[Group code was::x]]}} |- ! {{#if:{{{site|}}}|[[:category:sites|Site(s)]]|}} | {{#arraymap:{{{site|}}}|,|x|[[Name of community was::x]]}} {{#arraymap:{{{site2|}}}|,|x|and [[Name of community was::x]]}} |- ! {{#if:{{{region|}}}|[[:category:regions|Region(s)]]|}} | {{#arraymap:{{{region|}}}|,|x|[[Name of region was::x]]}} {{#arraymap:{{{region2|}}}|,|x|and [[Name of region was::x]]}} |- ! [[:category:programs|Program]] | [[Served in sector::{{{program|}}}]] |- ! {{#if:{{{assignment01|}}}|[[:category:assignments|Assignment]]|}} | {{#arraymap:{{{assignment01|}}}|,|x|[[Primary assignment was::x]]}}{{#arraymap:{{{assignment02|}}}|,|x|[[Primary assignment was::x]]}}{{#arraymap:{{{assignment03|}}}|,|x|[[Primary assignment was::x]]}} |- ! style="text-align: center; background-color:#ccccff;" colspan="3"|Started service in [[:category:{{{country}}}_Volunteers_{{{yearservicestarted}}}|{{{yearservicestarted}}}]] |- ! colspan="3"|{{#ask:[[Served in::{{{country}}}]][[Started service in::{{{yearservicestarted}}}]]|format=list|limit=15}} |- ! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{region|}}}|Region: [[{{{region}}}]]|}} |- ! colspan="3"|{{#if:{{{region|}}}|{{#ask:[[Served in::{{{country}}}]][[Name of region was::{{{region}}}]]|format=list|limit=15}}|}} |- ! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{region2|}}}|Region: [[{{{region2}}}]]|}} |- ! colspan="3"|{{#if:{{{region2|}}}|{{#ask:[[Served in::{{{country}}}]][[Name of region was::{{{region2}}}]]|format=list|limit=15}}|}} |- ! style="text-align: center; background-color:#ccccff;" colspan="3"|{{#if:{{{program|}}}|Program: [[{{{program}}}]]|}} |- ! colspan="3"|{{#if:{{{program|}}}|{{#ask:[[Served in::{{{country}}}]][[Served in sector::{{{program}}}]]|format=list|limit=15}}|}} |- ! style="text-align: center; background-color:#ccccff;" colspan="3"|Other [[:Category:[[Served in::{{{country}}}]]_Volunteers|Volunteers]] who served in [[{{{country}}}]] |- ! colspan="3"|{{#ask:[[Served in::{{{country}}}]]|format=list|limit=15}} |} {{#if:{{{map|}}}|{{Location |Coordinates={{#geocode:{{{site}}},{{{country}}}}} }}|}} [[category:{{{country}}}_Volunteers_{{{yearservicestarted}}}]] [[category:{{{yearservicestarted}}}]] {{#if:{{{site|}}}[[category:{{{site}}}]]}} {{#if:{{{region|}}}|[[category:{{{region|}}}]]|}} {{#if:{{{groupcode|}}}|[[category:{{{groupcode|}}}]]|}} {{DEFAULTSORT:{{{lastname}}},{{{firstname}}} }} [[Category:volunteers]]

Personal tools
Namespaces
Variants
Actions
Tell Your Friends
Navigation
Peace Corps News
Timelines
Country Information
Groups
Help
About
Toolbox