Difference between revisions of "Template:English official language clickable map"

From blackwiki
Jump to navigation Jump to search
(a rephrasing)
(moved sections consisting of groupname-then-list together)
Line 1: Line 1:
{{navbox
+
{{Navbox
 
| name = English official language clickable map
 
| name = English official language clickable map
 +
| state = {{{state|autocollapse}}}
 +
| bodyclass = hlist
 
| title = [[English language#Geographic distribution|English-speaking world]]
 
| title = [[English language#Geographic distribution|English-speaking world]]
| bodyclass = hlist
+
| groupstyle = width:8.25em;
| state = {{{state|autocollapse}}}
+
| liststyle = width:auto;
 
 
| group1 = Lists
 
| list1style = text-align: left; color: darkblue;
 
| list1  =
 
* [[List of countries by English-speaking population]]
 
* [[List of countries where English is an official language]]
 
 
 
|group2 = Articles
 
|list2  =
 
* [[Anglosphere]]
 
* [[History of the English language]]
 
* [[British Empire]]
 
* [[English in the Commonwealth of Nations]]
 
  
| list3 =
+
<!--------------------------------------------------------->
 +
| list1 =
 
<center>
 
<center>
 
''Click on a coloured area to see an article about English in that country or region''
 
''Click on a coloured area to see an article about English in that country or region''
 
</center>
 
</center>
 
<imagemap>
 
<imagemap>
Image:Anglospeak(800px)Countries.png|center|600px|English speaking countries
+
File:Anglospeak(800px)Countries.png|center|600px|English speaking countries
 
poly 311 122 366 105 369 124 413 126 415 118 393 118 397 107 404 98 397 55 410 27 359 29 339 55 345 76 326 84 314 96 308 109 [[English language in Europe]]
 
poly 311 122 366 105 369 124 413 126 415 118 393 118 397 107 404 98 397 55 410 27 359 29 339 55 345 76 326 84 314 96 308 109 [[English language in Europe]]
 
circle 364 120 7 [[Languages of Malta]]
 
circle 364 120 7 [[Languages of Malta]]
Line 84: Line 74:
 
desc none
 
desc none
 
</imagemap>
 
</imagemap>
<!-- Removed from map:
+
<!--Removed from map:
 
poly 543 133 544 142 551 145 557 137 555 129 546 130 [[Bhutan]]
 
poly 543 133 544 142 551 145 557 137 555 129 546 130 [[Bhutan]]
 
circle 511 202 12 [[Maldives]] -->
 
circle 511 202 12 [[Maldives]] -->
  
| list4 =
+
<!--------------------------------------------------------->
  {{navbox
+
| group2 = Articles
  | child
+
| list2 =
  | group1style = background: blue;
+
* [[Anglosphere]]
 +
* [[History of the English language]]
 +
* [[British Empire]]
 +
* [[English in the Commonwealth of Nations]]
  
 +
| group3 = Lists
 +
| list3style = text-align:left;color:darkblue;
 +
| list3 =
 +
* [[List of countries by English-speaking population]]
 +
* [[List of countries where English is an official language]]
 +
 +
<!--------------------------------------------------------->
 +
| list4 =
 +
{{Navbox |child
 +
  | group1style = background:blue;
 
   | group1 = {{pad}}
 
   | group1 = {{pad}}
   | list1 =
+
   | list1 =
    {{navbox
+
 
    | child
+
  {{Navbox |child
 
     | above =
 
     | above =
 
* '''Countries and territories where English is the national language or the native language of the majority'''
 
* '''Countries and territories where English is the national language or the native language of the majority'''
 
 
     | group1 = [[Languages of Africa|Africa]]
 
     | group1 = [[Languages of Africa|Africa]]
     | list1 =
+
     | list1 =
 
* ''[[Saint Helena]]''
 
* ''[[Saint Helena]]''
 
 
     | group2 = [[Anglo-America|Americas]]
 
     | group2 = [[Anglo-America|Americas]]
     | list2 =
+
     | list2 =
 
* ''[[Anguilla]]''
 
* ''[[Anguilla]]''
 
* [[Antigua and Barbuda]]
 
* [[Antigua and Barbuda]]
Line 132: Line 133:
 
* [[United States]]
 
* [[United States]]
 
* ''[[United States Virgin Islands]]''
 
* ''[[United States Virgin Islands]]''
 
 
     | group3 = [[English language in Europe|Europe]]
 
     | group3 = [[English language in Europe|Europe]]
     | list3 =
+
     | list3 =
 
* ''[[Guernsey]]''
 
* ''[[Guernsey]]''
 
* [[Republic of Ireland|Ireland]]
 
* [[Republic of Ireland|Ireland]]
Line 140: Line 140:
 
* ''[[Jersey]]''
 
* ''[[Jersey]]''
 
* [[United Kingdom]]
 
* [[United Kingdom]]
 
 
     | group4 = [[Languages of Oceania|Oceania]]
 
     | group4 = [[Languages of Oceania|Oceania]]
     | list4 =
+
     | list4 =
 
* [[Australia]]
 
* [[Australia]]
 
* [[New Zealand]]
 
* [[New Zealand]]
 
* ''[[Norfolk Island]]''
 
* ''[[Norfolk Island]]''
 
* ''[[Pitcairn Islands]]''
 
* ''[[Pitcairn Islands]]''
    }}
+
  }}
  
   | group2style = background: lightblue;
+
   | group2style = background:lightblue;
 
   | group2 = {{pad}}
 
   | group2 = {{pad}}
   | list2 =
+
   | list2 =
    {{navbox
+
 
    | child
+
  {{Navbox |child
 
     | above =
 
     | above =
 
* '''Countries and territories where English is an official language, but not the majority first language'''
 
* '''Countries and territories where English is an official language, but not the majority first language'''
 
 
     | group1 = Africa
 
     | group1 = Africa
     | list1 =
+
     | list1 =
 
* [[Botswana]]
 
* [[Botswana]]
 
* [[Cameroon]]
 
* [[Cameroon]]
Line 183: Line 181:
 
* [[Zambia]]
 
* [[Zambia]]
 
* [[Zimbabwe]]
 
* [[Zimbabwe]]
 
 
     | group2 = Americas
 
     | group2 = Americas
     | list2 =
+
     | list2 =
 
* ''[[Puerto Rico]]''
 
* ''[[Puerto Rico]]''
 
 
     | group3 = [[Languages of Asia|Asia]]
 
     | group3 = [[Languages of Asia|Asia]]
     | list3 =
+
     | list3 =
 
* ''[[Christmas Island]]''
 
* ''[[Christmas Island]]''
 
* ''[[Cocos (Keeling) Islands]]''
 
* ''[[Cocos (Keeling) Islands]]''
Line 198: Line 194:
 
* [[Philippines]]
 
* [[Philippines]]
 
* [[Singapore]]
 
* [[Singapore]]
 
 
     | group4 = [[English language in Europe|Europe]]
 
     | group4 = [[English language in Europe|Europe]]
     | list4 =
+
     | list4 =
 
* ''[[Gibraltar]]''
 
* ''[[Gibraltar]]''
 
* [[Malta]]
 
* [[Malta]]
 
+
    | group5 = Oceania
  | group5 = Oceania
+
    | list5 =
  | list5 =
 
 
* ''[[American Samoa]]''
 
* ''[[American Samoa]]''
 
* [[Cook Islands]]
 
* [[Cook Islands]]
Line 223: Line 217:
 
* [[Tuvalu]]
 
* [[Tuvalu]]
 
* [[Vanuatu]]
 
* [[Vanuatu]]
    }}
+
  }}
  }}
+
}}
  
 
| below = [[Dependent territory|Dependencies]] shown in ''italics''.
 
| below = [[Dependent territory|Dependencies]] shown in ''italics''.
  
 
}}<noinclude>
 
}}<noinclude>
 +
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 12:31, 16 January 2014

Template documentation[view] [edit] [history] [purge]

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{English official language clickable map|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{English official language clickable map|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{English official language clickable map|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.

The Anglophone states/English official language clickable map template is an ongoing work-in-progress. While many improvements have been made, including the merge with the Anglophone states template, there is still much work to be done. Any and all help is very greatly appreciated!