Difference between revisions of "Template:CcTLD"

From blackwiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{{Navbox with collapsible groups
 
{{Navbox with collapsible groups
|name = CcTLD
+
| name = CcTLD
|state = {{{state|uncollapsed}}}
+
| state = {{{state|uncollapsed}}}
|title = [[Country code top-level domain]]s
+
| title = [[Country code top-level domain]]s
|
+
| selected = {{{selected|{{{expanded|{{{1|}}}}}}}}}
|selected = {{{1|}}}
+
 
|
+
<!------------------------------------->
|group1 = [[ISO 3166-1 alpha-2|ISO 3166-1]]
+
 
|state1 = {{{iso3166-1|uncollapsed}}}
+
| group1 = [[ISO 3166-1 alpha-2|ISO 3166-1]]
|abbr1 = ISO 3166-1
+
| abbr1 = ISO 3166-1
|list1 = <div>
+
| state1 = {{{iso3166-1|uncollapsed}}}
'''A'''&nbsp;[[.ac]] [[.ad]] [[.ae]] [[.af]] [[.ag]] [[.ai]] [[.al]] [[.am]] [[.ao]] [[.aq]] [[.ar]] [[.as]] [[.at]] [[.au]] [[.aw]] [[.ax]] [[.az]]{{spaces|3}}
+
| list1 = <div>
'''B'''&nbsp;[[.ba]] [[.bb]] [[.bd]] [[.be]] [[.bf]] [[.bg]] [[.bh]] [[.bi]] [[.bj]] [[.bm]] [[.bn]] [[.bo]] [[.br]] [[.bs]] [[.bt]] [[.bw]] [[.by]] [[.bz]]{{spaces|3}}
+
[[.ac]] [[.ad]] [[.ae]] [[.af]] [[.ag]] [[.ai]] [[.al]] [[.am]] [[.ao]] [[.aq]] [[.ar]] [[.as]] [[.at]] [[.au]] [[.aw]] [[.ax]] [[.az]]{{nbsp|4}}
'''C'''&nbsp;[[.ca]] [[.cc]] [[.cd]] [[.cf]] [[.cg]] [[.ch]] [[.ci]] [[.ck]] [[.cl]] [[.cm]] [[.cn]] [[.co]] [[.cr]] [[.cu]] [[.cv]] [[.cw]] [[.cx]] [[.cy]] [[.cz]]{{spaces|3}}
+
[[.ba]] [[.bb]] [[.bd]] [[.be]] [[.bf]] [[.bg]] [[.bh]] [[.bi]] [[.bj]] [[.bm]] [[.bn]] [[.bo]] [[.br]] [[.bs]] [[.bt]] [[.bw]] [[.by]] [[.bz]]{{nbsp|4}}
'''D'''&nbsp;[[.de]] [[.dj]] [[.dk]] [[.dm]] [[.do]] [[.dz]]{{spaces|2}}
+
[[.ca]] [[.cc]] [[.cd]] [[.cf]] [[.cg]] [[.ch]] [[.ci]] [[.ck]] [[.cl]] [[.cm]] [[.cn]] [[.co]] [[.cr]] [[.cu]] [[.cv]] [[.cw]] [[.cx]] [[.cy]] [[.cz]]{{nbsp|4}}
'''E'''&nbsp;[[.ec]] [[.ee]] [[.eg]] [[.er]] [[.es]] [[.et]] [[.eu]]{{spaces|3}}
+
[[.de]] [[.dj]] [[.dk]] [[.dm]] [[.do]] [[.dz]]{{nbsp|4}}
'''F'''&nbsp;[[.fi]] [[.fj]] [[.fk]] [[.fm]] [[.fo]] [[.fr]]{{spaces|3}}
+
[[.ec]] [[.ee]] [[.eg]] [[.er]] [[.es]] [[.et]] [[.eu]]{{nbsp|4}}
'''G'''&nbsp;[[.ga]] [[.gd]] [[.ge]] [[.gf]] [[.gg]] [[.gh]] [[.gi]] [[.gl]] [[.gm]] [[.gn]] [[.gp]] [[.gq]] [[.gr]] [[.gs]] [[.gt]] [[.gu]] [[.gw]] [[.gy]]{{spaces|3}}
+
[[.fi]] [[.fj]] [[.fk]] [[.fm]] [[.fo]] [[.fr]]{{nbsp|4}}
'''H'''&nbsp;[[.hk]] [[.hm]] [[.hn]] [[.hr]] [[.ht]] [[.hu]]{{spaces|3}}
+
[[.ga]] [[.gd]] [[.ge]] [[.gf]] [[.gg]] [[.gh]] [[.gi]] [[.gl]] [[.gm]] [[.gn]] [[.gp]] [[.gq]] [[.gr]] [[.gs]] [[.gt]] [[.gu]] [[.gw]] [[.gy]]{{nbsp|4}}
'''I'''&nbsp;[[.id]] [[.ie]] [[.il]] [[.im]] [[.in]] [[.io]] [[.iq]] [[.ir]] [[.is]] [[.it]]{{spaces|3}}
+
[[.hk]] [[.hm]] [[.hn]] [[.hr]] [[.ht]] [[.hu]]{{nbsp|4}}
'''J'''&nbsp;[[.je]] [[.jm]] [[.jo]] [[.jp]]{{spaces|3}}
+
[[.id]] [[.ie]] [[.il]] [[.im]] [[.in]] [[.io]] [[.iq]] [[.ir]] [[.is]] [[.it]]{{nbsp|4}}
'''K'''&nbsp;[[.ke]] [[.kg]] [[.kh]] [[.ki]] [[.km]] [[.kn]] [[.kp]] [[.kr]] [[.kw]] [[.ky]] [[.kz]]{{spaces|3}}
+
[[.je]] [[.jm]] [[.jo]] [[.jp]]{{nbsp|4}}
'''L'''&nbsp;[[.la]] [[.lb]] [[.lc]] [[.li]] [[.lk]] [[.lr]] [[.ls]] [[.lt]] [[.lu]] [[.lv]] [[.ly]]{{spaces|3}}
+
[[.ke]] [[.kg]] [[.kh]] [[.ki]] [[.km]] [[.kn]] [[.kp]] [[.kr]] [[.kw]] [[.ky]] [[.kz]]{{nbsp|4}}
'''M'''&nbsp;[[.ma]] [[.mc]] [[.md]] [[.me]] [[.mg]] [[.mh]] [[.mk]] [[.ml]] [[.mm]] [[.mn]] [[.mo]] [[.mp]] [[.mq]] [[.mr]] [[.ms]] [[.mt]] [[.mu]] [[.mv]] [[.mw]] [[.mx]] [[.my]] [[.mz]]{{spaces|3}}
+
[[.la]] [[.lb]] [[.lc]] [[.li]] [[.lk]] [[.lr]] [[.ls]] [[.lt]] [[.lu]] [[.lv]] [[.ly]]{{nbsp|4}}
'''N'''&nbsp;[[.na]] [[.nc]] [[.ne]] [[.nf]] [[.ng]] [[.ni]] [[.nl]] [[.no]] [[.np]] [[.nr]] [[.nu]] [[.nz]]{{spaces|3}}
+
[[.ma]] [[.mc]] [[.md]] [[.me]] [[.mg]] [[.mh]] [[.mk]] [[.ml]] [[.mm]] [[.mn]] [[.mo]] [[.mp]] [[.mq]] [[.mr]] [[.ms]] [[.mt]] [[.mu]] [[.mv]] [[.mw]] [[.mx]] [[.my]] [[.mz]]{{nbsp|4}}
'''O'''&nbsp;[[.om]]{{spaces|3}}
+
[[.na]] [[.nc]] [[.ne]] [[.nf]] [[.ng]] [[.ni]] [[.nl]] [[.no]] [[.np]] [[.nr]] [[.nu]] [[.nz]]{{nbsp|4}}
'''P'''&nbsp;[[.pa]] [[.pe]] [[.pf]] [[.pg]] [[.ph]] [[.pk]] [[.pl]] [[.pm]] [[.pn]] [[.pr]] [[.ps]] [[.pt]] [[.pw]] [[.py]]{{spaces|3}}
+
[[.om]]{{nbsp|4}}
'''Q'''&nbsp;[[.qa]]{{spaces|3}}
+
[[.pa]] [[.pe]] [[.pf]] [[.pg]] [[.ph]] [[.pk]] [[.pl]] [[.pm]] [[.pn]] [[.pr]] [[.ps]] [[.pt]] [[.pw]] [[.py]]{{nbsp|4}}
'''R'''&nbsp;[[.re]] [[.ro]] [[.rs]] [[.ru]] [[.rw]]{{spaces|3}}
+
[[.qa]]{{nbsp|4}}
'''S'''&nbsp;[[.sa]] [[.sb]] [[.sc]] [[.sd]] [[.se]] [[.sg]] [[.sh]] [[.si]] [[.sk]] [[.sl]] [[.sm]] [[.sn]] [[.so]] [[.sr]] [[.ss]] [[.st]] [[.su]] [[.sv]] [[.sx]] [[.sy]] [[.sz]]{{spaces|3}}
+
[[.re]] [[.ro]] [[.rs]] [[.ru]] [[.rw]]{{nbsp|4}}
'''T'''&nbsp;[[.tc]] [[.td]] [[.tf]] [[.tg]] [[.th]] [[.tj]] [[.tk]] [[.tl]] [[.tm]] [[.tn]] [[.to]] [[.tr]] [[.tt]] [[.tv]] [[.tw]] [[.tz]]{{spaces|3}}
+
[[.sa]] [[.sb]] [[.sc]] [[.sd]] [[.se]] [[.sg]] [[.sh]] [[.si]] [[.sk]] [[.sl]] [[.sm]] [[.sn]] [[.so]] [[.sr]] [[.ss]] [[.st]] [[.su]] [[.sv]] [[.sx]] [[.sy]] [[.sz]]{{nbsp|4}}
'''U'''&nbsp;[[.ua]] [[.ug]] [[.uk]] [[.us]] [[.uy]] [[.uz]]{{spaces|3}}
+
[[.tc]] [[.td]] [[.tf]] [[.tg]] [[.th]] [[.tj]] [[.tk]] [[.tl]] [[.tm]] [[.tn]] [[.to]] [[.tr]] [[.tt]] [[.tv]] [[.tw]] [[.tz]]{{nbsp|4}}
'''V'''&nbsp;[[.va]] [[.vc]] [[.ve]] [[.vg]] [[.vi]] [[.vn]] [[.vu]]{{spaces|3}}
+
[[.ua]] [[.ug]] [[.uk]] [[.us]] [[.uy]] [[.uz]]{{nbsp|4}}
'''W'''&nbsp;[[.wf]] [[.ws]]{{spaces|3}}
+
[[.va]] [[.vc]] [[.ve]] [[.vg]] [[.vi]] [[.vn]] [[.vu]]{{nbsp|4}}
'''Y'''&nbsp;[[.ye]] [[.yt]]{{spaces|3}}
+
[[.wf]] [[.ws]]{{nbsp|4}}
'''Z'''&nbsp;[[.za]] [[.zm]] [[.zw]]
+
[[.ye]] [[.yt]]{{nbsp|4}}
 +
[[.za]] [[.zm]] [[.zw]]
 
</div>
 
</div>
  
|group2 = [[Internationalized country code top-level domain|Internationalized (IDN) ccTLD]]
+
<!------------------------------------->
|abbr2 = IDN
+
 
|list2 =
+
| group2 = [[Internationalized country code top-level domain|Internationalized (IDN) ccTLD]]
 +
| abbr2 = IDN
 +
| list2 =
 
  {{Navbox with columns |child
 
  {{Navbox with columns |child
   |colwidth=20em |colstyle=text-align:left; |listclass=plainlist
+
   | colwidth = 20em
   |col1header=[[Cyrillic script]]
+
  | colstyle = text-align:left;
   |col1 =
+
  | listclass = plainlist
 +
 
 +
   | col1header = [[Cyrillic script]]
 +
   | col1 =
 
* [[.бел]] (''bel'', [[Belarus]])
 
* [[.бел]] (''bel'', [[Belarus]])
 
* [[.kz|.қаз]] (''qaz'', [[Kazakhstan]])
 
* [[.kz|.қаз]] (''qaz'', [[Kazakhstan]])
Line 51: Line 57:
 
* [[.срб]] (''srb'', [[Serbia]])
 
* [[.срб]] (''srb'', [[Serbia]])
 
* [[.укр]] (''ukr'', [[Ukraine]])
 
* [[.укр]] (''ukr'', [[Ukraine]])
  |
+
 
   |col2header=[[Arabic script]]
+
   | col2header = [[Arabic script]]
   |col2 =
+
   | col2 =
 
* [[.dz|الجزائر.]] (''al-Jazā’ir'', [[Algeria]])
 
* [[.dz|الجزائر.]] (''al-Jazā’ir'', [[Algeria]])
 
* [[Masr (domain name)|مصر.]] (''Masr'', [[Egypt]])
 
* [[Masr (domain name)|مصر.]] (''Masr'', [[Egypt]])
Line 71: Line 77:
 
* [[سودان.]] (''Sūdān'', [[Sudan]])
 
* [[سودان.]] (''Sūdān'', [[Sudan]])
 
* [[اليمن.]] (''al-Yaman'', [[Yemen]])
 
* [[اليمن.]] (''al-Yaman'', [[Yemen]])
  |
+
 
   |col3header=[[Brahmic scripts]]
+
   | col3header = [[Brahmic scripts]]
   |col3 =
+
   | col3 =
 
* [[.bd|.বাংলা]] (''Bangla'', [[Bangladesh]])
 
* [[.bd|.বাংলা]] (''Bangla'', [[Bangladesh]])
 
* [[.in#Internationalized domain names and country codes|.ভাৰত]] (''Bharôt'', [[India]])
 
* [[.in#Internationalized domain names and country codes|.ভাৰত]] (''Bharôt'', [[India]])
Line 87: Line 93:
 
* [[.th#Second top domain|.ไทย]] (''Thai'', [[Thailand]])
 
* [[.th#Second top domain|.ไทย]] (''Thai'', [[Thailand]])
 
* [[.sg|.சிங்கப்பூர்]] (''Cinkappūr'', Singapore)
 
* [[.sg|.சிங்கப்பூர்]] (''Cinkappūr'', Singapore)
  |
+
 
   |col4header=[[Chinese character]]s
+
   | col4header = [[Chinese character]]s
   |col4 =
+
   | col4 =
 
* [[.cn#Internationalized domain names with Chinese characters|.中国]] (''Zhōngguó'', [[China]])
 
* [[.cn#Internationalized domain names with Chinese characters|.中国]] (''Zhōngguó'', [[China]])
 
* [[.cn#Internationalized domain names with Chinese characters|.中國]] (''Zhōngguó'', China)
 
* [[.cn#Internationalized domain names with Chinese characters|.中國]] (''Zhōngguó'', China)
Line 96: Line 102:
 
* [[.tw|.台湾]] (''Táiwān'', Taiwan)
 
* [[.tw|.台湾]] (''Táiwān'', Taiwan)
 
* [[.sg|.新加坡]] (''Xīnjiāpō'', [[Singapore]])
 
* [[.sg|.新加坡]] (''Xīnjiāpō'', [[Singapore]])
  |
+
 
   |col5header=[[Writing system|Other scripts]]
+
   | col5header = [[Writing system|Other scripts]]
   |col5 =
+
   | col5 =
 
* [[.ge|.გე]] (''GE'', [[Georgia (country)|Georgia]])
 
* [[.ge|.გე]] (''GE'', [[Georgia (country)|Georgia]])
 
* [[.kr|.한국]] (''Han-guk'', [[South Korea]])
 
* [[.kr|.한국]] (''Han-guk'', [[South Korea]])
 
* [[.am|.հայ]] (''hay'', [[Armenia]])
 
* [[.am|.հայ]] (''hay'', [[Armenia]])
}}
+
}}
 +
 
 +
<!------------------------------------->
 +
 
 +
| group3 = [[Proposed top-level domain#Internationalized country code top-level domains|Proposed ccTLDs]]
 +
| abbr3 = proposed
 +
| list3 = <div>
 +
[[.бг]] (''bg'', Bulgaria){{nbsp|4}}
 +
[[.cy|.κπ]] (''kp'', Cyprus){{nbsp|4}}
 +
[[.gr|.ελ]] (''el'', Greece){{nbsp|4}}
 +
[[.il|ישראל.]] (''Yisrael'', Israel){{nbsp|4}}
 +
[[.jp|.日本]] (''Nippon'', Japan){{nbsp|4}}
 +
[[.la|.ລາວ]] (''Lao'', Laos){{nbsp|4}}
 +
</div>
  
|group3 = [[Proposed_top-level_domain#Internationalized_country_code_top-level_domains|Proposed ccTLDs]]
+
<!------------------------------------->
|abbr3 = Proposed
 
|list3 =
 
{{Navbox with columns |child
 
  |colwidth=20em |colstyle=text-align:left;white-space:nowrap;
 
  |col1 = [[.бг]] (''bg'', Bulgaria) [[.cy|.κπ]] (''kp'', Cyprus) [[.gr|.ελ]] (''el'', Greece) [[.il|ישראל.]] (''Yisrael'', Israel) [[.jp|.日本]] (''Nippon'', Japan) [[.la|.ລາວ]] (''Lao'', Laos)
 
}}
 
  
|group4 = Others
+
| group4 = Others
|abbr4 = Others
+
| abbr4 = others
|list4 =
+
| list4 =
 
  {{Navbox with columns |child
 
  {{Navbox with columns |child
 
   |colheaderstyle = font-weight:normal;
 
   |colheaderstyle = font-weight:normal;
Line 128: Line 141:
 
  }}
 
  }}
  
 +
<!------------------------------------->
 +
 +
| below = [[Generic top-level domain]]s
  
|below = See also [[Generic top-level domain]]s
 
 
}}<noinclude>
 
}}<noinclude>
{{collapsible option}}
+
{{Documentation |content={{Collapsible sections option |list={{hlist |<span style{{=}}"font-size:85%;font-weight:normal"> ["ISO 3166-1" expanded by default] </span> |IDN |proposed |others}}}} By default, list1 ("ISO 3166-1") is shown expanded. To show it collapsed, include <code>{{!}}iso3166-1{{=}}collapsed</code> when transcluding the template.
 
+
{{Collapsible option|default=uncollapsed}}
----
+
}}
 
 
===Usage===
 
{{Collapsible sections option |list="ISO 3166-1", "IDN", "Proposed" or "Others"}}
 
* By default, list1 ("ISO 3166-1") is shown expanded. To show it collapsed, include {{para|iso3166-1}}<code>collapsed</code> when transcluding the template.
 
 
 
 
[[Category:Computing navigational boxes|{{PAGENAME}}]]
 
[[Category:Computing navigational boxes|{{PAGENAME}}]]
 
 
</noinclude>
 
</noinclude>

Revision as of 17:43, 18 April 2015

Template documentation
How to manage this template's collapsible groups/sections option
  • This template includes collapsible groups/sections. When it first appears, one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, include the parameter |name where name is one of the following words that identify the groups/sections (omit any speech or quotation marks):
    • ["ISO 3166-1" expanded by default]
    • IDN
    • proposed
    • others
By default, list1 ("ISO 3166-1") is shown expanded. To show it collapsed, include |iso3166-1=collapsed when transcluding the template.

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{CcTLD|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{CcTLD|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{CcTLD|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.