Template:Country box: Difference between revisions
No edit summary |
No edit summary |
||
(10 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
<div class="country-template-head"; style="padding: 8px; border-style: none; border-width:1px; border-color: #AAAAAA; background-color: #F6F9ED; -moz-border-radius: 8px;"> |
<div class="country-template-head"; style="padding: 8px; border-style: none; border-width:1px; border-color: #AAAAAA; background-color: #F6F9ED; -moz-border-radius: 8px;"> |
||
{|style="background-color: #F6F9ED;" |
{|style="background-color: #F6F9ED;" |
||
[[Image:translate9.svg|40px|left]] |
[[Image:{{{Flag|translate9.svg}}}|40px|left]] |
||
<h1 style="font-size: 150%; font-weight: bolder; color: #FCC65B;"> |
<h1 style="font-size: 150%; font-weight: bolder; color: #FCC65B;"> |
||
{{{Country|Set Country param [[Category:Country_Invalid]]}}}</h1> |
{{{Country|Set Country param [[Category:Country_Invalid]]}}}</h1> |
||
Line 41: | Line 41: | ||
{{Country_box_2|Written|0| {{{Written|Set Written Param [[Category:Country_Invalid]]}}} }} |
{{Country_box_2|Written|0| {{{Written|Set Written Param [[Category:Country_Invalid]]}}} }} |
||
{{Country_box_2|Spoken|0| {{{Written|Set Spoken Param [[Category:Country_Invalid]]}}} }} |
{{Country_box_2|Spoken|0| {{{Written|Set Spoken Param [[Category:Country_Invalid]]}}} }} |
||
{{Country_box_2|Secondary Written|0|{{{ |
{{Country_box_2|Secondary Written|0|{{{Written2|None}}} }} |
||
{{Country_box_2|Secondary Spoken|0|{{{Spoken2|None}}} }} |
{{Country_box_2|Secondary Spoken|0|{{{Spoken2|None}}} }} |
||
|} |
|} |
||
Line 50: | Line 50: | ||
{{Country_box| |
{{Country_box| |
||
Country=Peru| |
Country=Peru| |
||
Flag=Flag of Peru.svg| |
|||
Code=PE | |
Code=PE | |
||
Wikipedia=Peru| |
Wikipedia=Peru| |
||
Line 57: | Line 58: | ||
Spoken=Spanish (es)| |
Spoken=Spanish (es)| |
||
Written=Spanish (es)| |
Written=Spanish (es)| |
||
Spoken2=English (en) |
Spoken2=English (en)| |
||
Written2 = English (en)}} |
|||
This template provides an overview of the OLPC activity in a country. |
This template provides an overview of the OLPC activity in a country. |
||
You call the template filling in all the parameters, where some of the |
You call the template filling in all the parameters, where some of the |
||
Line 66: | Line 68: | ||
{{Country_box| |
{{Country_box| |
||
Country=Peru| |
Country=Peru| |
||
Flag=Flag of Peru.svg| |
|||
Code=PE | |
Code=PE | |
||
Wikipedia=Peru| |
Wikipedia=Peru| |
||
Line 73: | Line 76: | ||
Spoken=Spanish (es)| |
Spoken=Spanish (es)| |
||
Written=Spanish (es)| |
Written=Spanish (es)| |
||
Written2 = English (en)| |
|||
Spoken2=English (en)}} |
Spoken2=English (en)}} |
||
</pre> |
</pre> |
||
These are the parameters: |
These are the parameters: |
||
* Country - ISO [[country name]] |
* Country - ISO [[country name]] |
||
* Flag - Name of the flag image, or a placeholder flag by default. You can find flags at http://commons.wikimedia.org/wiki/National_insignia and then upload them to this wiki. |
|||
* Code - ISO two letter [[Country name|country code]] |
* Code - ISO two letter [[Country name|country code]] |
||
* Wikipedia - The name of the English [http://en.wikipedia.com Wikipedia] article unless its just the country name |
* Wikipedia - The name of the English [http://en.wikipedia.com Wikipedia] article unless its just the country name |
||
* Support - Commitment of government support to OLPC |
* Support - Commitment of government support to OLPC |
||
#Invalid |
|||
#Unknown |
#Unknown |
||
#Low and not OLPC Priority |
#Low and not OLPC Priority |
Latest revision as of 09:54, 2 January 2014
Country Information | |
ISO Country Code | Set Code Param |
Wikipedia Article | Wikipedia Link |
Government Support | Set Support Param |
Deployment | Set Deployment Param |
Languages | |
Keyboard Layout | Set Keyboard Param |
Written | Set Written Param |
Spoken | Set Spoken Param |
Secondary Written | None |
Secondary Spoken | None |
Country Information | |
ISO Country Code | PE |
Wikipedia Article | Wikipedia Link |
Government Support | Sponsored Trials |
Deployment | Demonstration (under 50 machines) |
Languages | |
Keyboard Layout | Spanish Layout |
Written | Spanish (es) |
Spoken | Spanish (es) |
Secondary Written | English (en) |
Secondary Spoken | English (en) |
This template provides an overview of the OLPC activity in a country. You call the template filling in all the parameters, where some of the parameters are special numbers.
Here's an example of what to put in your wiki page:
{{Country_box| Country=Peru| Flag=Flag of Peru.svg| Code=PE | Wikipedia=Peru| Support=7| Deployment=1| Keyboard=[[OLPC_Argentina_Keyboard|Spanish Layout]]| Spoken=Spanish (es)| Written=Spanish (es)| Written2 = English (en)| Spoken2=English (en)}}
These are the parameters:
- Country - ISO country name
- Flag - Name of the flag image, or a placeholder flag by default. You can find flags at http://commons.wikimedia.org/wiki/National_insignia and then upload them to this wiki.
- Code - ISO two letter country code
- Wikipedia - The name of the English Wikipedia article unless its just the country name
- Support - Commitment of government support to OLPC
- Invalid
- Unknown
- Low and not OLPC Priority
- Low and OLPC Priority
- High Level Interest
- Commitment in Principal
- Sponsored Trials
- Contingent Adoption
- Adoption
- Deployment - Progress on deployed laptops into country.
- Invalid
- Unknown
- None
- Demonstration (under 50 machines)
- Trial (50 to 500 machines)
- Intermediate Trial (500 to 5000 machines)
- Wide adoption (over 5000 machines)}}
- Keyboard - Keyboard Layout. Please use a link like [[OLPC_Argentina_Keyboard|Spanish Layout]]. See Category:Keyboard page for a list.
- Spoken - Primary spoken language.
- Written - Primary written language.
- Spoken2 - Secondary spoken language(s).
- Written2 - Secondary written language(s).
- For languages, please use both the English name of the language and the two (or, if none, three) letter language code for the language. You may use a link like [[Spanish language|Spanish (es)]]
Using the template will add your page to the Country box category as well as subcategories for the particular levels of Government Support and Deployment, e.g., Category:Country_Support_Contingent and Category:Country_Deployment_Trial. If there are any missing parameters, the page will also belong to Category:Country_Invalid. The template works well although floating tables can always have troubles with narrow displays. Also, be aware of a Wikipedia bug that a change to the way this template adds categories may take an edit or some time for the page caches to pick up new categories.