Difference between revisions of "Template:CcTLD"
Jump to navigation
Jump to search
Template documentation
By default, list1 ("ISO 3166-1") is shown expanded. To show it collapsed, include
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]] | |
− | + | | abbr1 = ISO 3166-1 | |
− | + | | state1 = {{{iso3166-1|uncollapsed}}} | |
− | + | | list1 = <div> | |
− | + | [[.ac]] [[.ad]] [[.ae]] [[.af]] [[.ag]] [[.ai]] [[.al]] [[.am]] [[.ao]] [[.aq]] [[.ar]] [[.as]] [[.at]] [[.au]] [[.aw]] [[.ax]] [[.az]]{{nbsp|4}} | |
− | + | [[.ba]] [[.bb]] [[.bd]] [[.be]] [[.bf]] [[.bg]] [[.bh]] [[.bi]] [[.bj]] [[.bm]] [[.bn]] [[.bo]] [[.br]] [[.bs]] [[.bt]] [[.bw]] [[.by]] [[.bz]]{{nbsp|4}} | |
− | + | [[.ca]] [[.cc]] [[.cd]] [[.cf]] [[.cg]] [[.ch]] [[.ci]] [[.ck]] [[.cl]] [[.cm]] [[.cn]] [[.co]] [[.cr]] [[.cu]] [[.cv]] [[.cw]] [[.cx]] [[.cy]] [[.cz]]{{nbsp|4}} | |
− | + | [[.de]] [[.dj]] [[.dk]] [[.dm]] [[.do]] [[.dz]]{{nbsp|4}} | |
− | + | [[.ec]] [[.ee]] [[.eg]] [[.er]] [[.es]] [[.et]] [[.eu]]{{nbsp|4}} | |
− | + | [[.fi]] [[.fj]] [[.fk]] [[.fm]] [[.fo]] [[.fr]]{{nbsp|4}} | |
− | + | [[.ga]] [[.gd]] [[.ge]] [[.gf]] [[.gg]] [[.gh]] [[.gi]] [[.gl]] [[.gm]] [[.gn]] [[.gp]] [[.gq]] [[.gr]] [[.gs]] [[.gt]] [[.gu]] [[.gw]] [[.gy]]{{nbsp|4}} | |
− | + | [[.hk]] [[.hm]] [[.hn]] [[.hr]] [[.ht]] [[.hu]]{{nbsp|4}} | |
− | + | [[.id]] [[.ie]] [[.il]] [[.im]] [[.in]] [[.io]] [[.iq]] [[.ir]] [[.is]] [[.it]]{{nbsp|4}} | |
− | + | [[.je]] [[.jm]] [[.jo]] [[.jp]]{{nbsp|4}} | |
− | + | [[.ke]] [[.kg]] [[.kh]] [[.ki]] [[.km]] [[.kn]] [[.kp]] [[.kr]] [[.kw]] [[.ky]] [[.kz]]{{nbsp|4}} | |
− | + | [[.la]] [[.lb]] [[.lc]] [[.li]] [[.lk]] [[.lr]] [[.ls]] [[.lt]] [[.lu]] [[.lv]] [[.ly]]{{nbsp|4}} | |
− | + | [[.ma]] [[.mc]] [[.md]] [[.me]] [[.mg]] [[.mh]] [[.mk]] [[.ml]] [[.mm]] [[.mn]] [[.mo]] [[.mp]] [[.mq]] [[.mr]] [[.ms]] [[.mt]] [[.mu]] [[.mv]] [[.mw]] [[.mx]] [[.my]] [[.mz]]{{nbsp|4}} | |
− | + | [[.na]] [[.nc]] [[.ne]] [[.nf]] [[.ng]] [[.ni]] [[.nl]] [[.no]] [[.np]] [[.nr]] [[.nu]] [[.nz]]{{nbsp|4}} | |
− | + | [[.om]]{{nbsp|4}} | |
− | + | [[.pa]] [[.pe]] [[.pf]] [[.pg]] [[.ph]] [[.pk]] [[.pl]] [[.pm]] [[.pn]] [[.pr]] [[.ps]] [[.pt]] [[.pw]] [[.py]]{{nbsp|4}} | |
− | + | [[.qa]]{{nbsp|4}} | |
− | + | [[.re]] [[.ro]] [[.rs]] [[.ru]] [[.rw]]{{nbsp|4}} | |
− | + | [[.sa]] [[.sb]] [[.sc]] [[.sd]] [[.se]] [[.sg]] [[.sh]] [[.si]] [[.sk]] [[.sl]] [[.sm]] [[.sn]] [[.so]] [[.sr]] [[.ss]] [[.st]] [[.su]] [[.sv]] [[.sx]] [[.sy]] [[.sz]]{{nbsp|4}} | |
− | + | [[.tc]] [[.td]] [[.tf]] [[.tg]] [[.th]] [[.tj]] [[.tk]] [[.tl]] [[.tm]] [[.tn]] [[.to]] [[.tr]] [[.tt]] [[.tv]] [[.tw]] [[.tz]]{{nbsp|4}} | |
− | + | [[.ua]] [[.ug]] [[.uk]] [[.us]] [[.uy]] [[.uz]]{{nbsp|4}} | |
− | + | [[.va]] [[.vc]] [[.ve]] [[.vg]] [[.vi]] [[.vn]] [[.vu]]{{nbsp|4}} | |
− | + | [[.wf]] [[.ws]]{{nbsp|4}} | |
− | + | [[.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> | ||
− | + | <!-------------------------------------> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |group4 = Others | + | | group4 = Others |
− | |abbr4 = | + | | 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 | ||
− | |||
}}<noinclude> | }}<noinclude> | ||
− | {{ | + | {{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}} | |
− | + | }} | |
− | |||
− | = | ||
− | {{Collapsible sections option |list="ISO 3166-1" | ||
− | |||
− | |||
[[Category:Computing navigational boxes|{{PAGENAME}}]] | [[Category:Computing navigational boxes|{{PAGENAME}}]] | ||
− | |||
</noinclude> | </noinclude> |
Revision as of 17:43, 18 April 2015

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
|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}}
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 above documentation is transcluded from Template:CcTLD/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |