Difference between revisions of "Template:CcTLD"

From blackwiki
Jump to navigation Jump to search
imported>SiBr4
(Undid revision 588556239 by 54.236.252.169 (talk))
Line 1: Line 1:
{{Navbox with collapsible groups |name = CcTLD |state = {{{state|uncollapsed}}} |title = [[Country code top-level domain]]s | |selected = {{{1|}}} | |group1 = [[ISO 3166-1 alpha-2|ISO 3166-1]] |state1 = {{{iso3166-1|uncollapsed}}} |abbr1 = ISO 3166-1 |list1 = <div> '''A''' [[.ac]] [[.ad]] [[.ae]] [[.af]] [[.ag]] [[.ai]] [[.al]] [[.am]] [[.ao]] [[.aq]] [[.ar]] [[.as]] [[.at]] [[.au]] [[.aw]] [[.ax]] [[.az]]{{spaces|3}} '''B''' [[.ba]] [[.bb]] [[.bd]] [[.be]] [[.bf]] [[.bg]] [[.bh]] [[.bi]] [[.bj]] [[.bm]] [[.bn]] [[.bo]] [[.br]] [[.bs]] [[.bt]] [[.bw]] [[.by]] [[.bz]]{{spaces|3}} '''C''' [[.ca]] [[.cc]] [[.cd]] [[.cf]] [[.cg]] [[.ch]] [[.ci]] [[.ck]] [[.cl]] [[.cm]] [[.cn]] [[.co]] [[.cr]] [[.cu]] [[.cv]] [[.cw]] [[.cx]] [[.cy]] [[.cz]]{{spaces|3}} '''D''' [[.de]] [[.dj]] [[.dk]] [[.dm]] [[.do]] [[.dz]]{{spaces|2}} '''E''' [[.ec]] [[.ee]] [[.eg]] [[.er]] [[.es]] [[.et]] [[.eu]]{{spaces|3}} '''F''' [[.fi]] [[.fj]] [[.fk]] [[.fm]] [[.fo]] [[.fr]]{{spaces|3}} '''G''' [[
+
{{Navbox with collapsible groups
 +
|name = CcTLD
 +
|state = {{{state|uncollapsed}}}
 +
|title = [[Country code top-level domain]]s
 +
|
 +
|selected = {{{1|}}}
 +
|
 +
|group1 = [[ISO 3166-1 alpha-2|ISO 3166-1]]
 +
|state1 = {{{iso3166-1|uncollapsed}}}
 +
|abbr1 = ISO 3166-1
 +
|list1 = <div>
 +
'''A'''&nbsp;[[.ac]] [[.ad]] [[.ae]] [[.af]] [[.ag]] [[.ai]] [[.al]] [[.am]] [[.ao]] [[.aq]] [[.ar]] [[.as]] [[.at]] [[.au]] [[.aw]] [[.ax]] [[.az]]{{spaces|3}}
 +
'''B'''&nbsp;[[.ba]] [[.bb]] [[.bd]] [[.be]] [[.bf]] [[.bg]] [[.bh]] [[.bi]] [[.bj]] [[.bm]] [[.bn]] [[.bo]] [[.br]] [[.bs]] [[.bt]] [[.bw]] [[.by]] [[.bz]]{{spaces|3}}
 +
'''C'''&nbsp;[[.ca]] [[.cc]] [[.cd]] [[.cf]] [[.cg]] [[.ch]] [[.ci]] [[.ck]] [[.cl]] [[.cm]] [[.cn]] [[.co]] [[.cr]] [[.cu]] [[.cv]] [[.cw]] [[.cx]] [[.cy]] [[.cz]]{{spaces|3}}
 +
'''D'''&nbsp;[[.de]] [[.dj]] [[.dk]] [[.dm]] [[.do]] [[.dz]]{{spaces|2}}
 +
'''E'''&nbsp;[[.ec]] [[.ee]] [[.eg]] [[.er]] [[.es]] [[.et]] [[.eu]]{{spaces|3}}
 +
'''F'''&nbsp;[[.fi]] [[.fj]] [[.fk]] [[.fm]] [[.fo]] [[.fr]]{{spaces|3}}
 +
'''G'''&nbsp;[[.ga]] [[.gd]] [[.ge]] [[.gf]] [[.gg]] [[.gh]] [[.gi]] [[.gl]] [[.gm]] [[.gn]] [[.gp]] [[.gq]] [[.gr]] [[.gs]] [[.gt]] [[.gu]] [[.gw]] [[.gy]]{{spaces|3}}
 +
'''H'''&nbsp;[[.hk]] [[.hm]] [[.hn]] [[.hr]] [[.ht]] [[.hu]]{{spaces|3}}
 +
'''I'''&nbsp;[[.id]] [[.ie]] [[.il]] [[.im]] [[.in]] [[.io]] [[.iq]] [[.ir]] [[.is]] [[.it]]{{spaces|3}}
 +
'''J'''&nbsp;[[.je]] [[.jm]] [[.jo]] [[.jp]]{{spaces|3}}
 +
'''K'''&nbsp;[[.ke]] [[.kg]] [[.kh]] [[.ki]] [[.km]] [[.kn]] [[.kp]] [[.kr]] [[.kw]] [[.ky]] [[.kz]]{{spaces|3}}
 +
'''L'''&nbsp;[[.la]] [[.lb]] [[.lc]] [[.li]] [[.lk]] [[.lr]] [[.ls]] [[.lt]] [[.lu]] [[.lv]] [[.ly]]{{spaces|3}}
 +
'''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}}
 +
'''N'''&nbsp;[[.na]] [[.nc]] [[.ne]] [[.nf]] [[.ng]] [[.ni]] [[.nl]] [[.no]] [[.np]] [[.nr]] [[.nu]] [[.nz]]{{spaces|3}}
 +
'''O'''&nbsp;[[.om]]{{spaces|3}}
 +
'''P'''&nbsp;[[.pa]] [[.pe]] [[.pf]] [[.pg]] [[.ph]] [[.pk]] [[.pl]] [[.pm]] [[.pn]] [[.pr]] [[.ps]] [[.pt]] [[.pw]] [[.py]]{{spaces|3}}
 +
'''Q'''&nbsp;[[.qa]]{{spaces|3}}
 +
'''R'''&nbsp;[[.re]] [[.ro]] [[.rs]] [[.ru]] [[.rw]]{{spaces|3}}
 +
'''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}}
 +
'''T'''&nbsp;[[.tc]] [[.td]] [[.tf]] [[.tg]] [[.th]] [[.tj]] [[.tk]] [[.tl]] [[.tm]] [[.tn]] [[.to]] [[.tr]] [[.tt]] [[.tv]] [[.tw]] [[.tz]]{{spaces|3}}
 +
'''U'''&nbsp;[[.ua]] [[.ug]] [[.uk]] [[.us]] [[.uy]] [[.uz]]{{spaces|3}}
 +
'''V'''&nbsp;[[.va]] [[.vc]] [[.ve]] [[.vg]] [[.vi]] [[.vn]] [[.vu]]{{spaces|3}}
 +
'''W'''&nbsp;[[.wf]] [[.ws]]{{spaces|3}}
 +
'''Y'''&nbsp;[[.ye]] [[.yt]]{{spaces|3}}
 +
'''Z'''&nbsp;[[.za]] [[.zm]] [[.zw]]
 +
</div>
 +
 
 +
|group2 = [[Internationalized country code top-level domain|Internationalized (IDN) ccTLD]]
 +
|abbr2 = IDN
 +
|list2 =
 +
{{Navbox with columns |child
 +
  |colwidth=20em |colstyle=text-align:left; |listclass=plainlist
 +
  |col1header=[[Cyrillic script]]
 +
  |col1 =
 +
* [[.mn|.мон]] (''.mon'', [[Mongolia]])
 +
* [[.kz|.қаз]] (''.qaz'', [[Kazakhstan]])
 +
* [[.рф]] (''.rf'', [[Russia]])
 +
* [[.срб]] (''.srb'', [[Serbia]])
 +
* [[.укр]] (''.ukr'', [[Ukraine]])
 +
  |
 +
  |col2header=[[Arabic script]]
 +
  |col2 =
 +
* [[.dz|الجزائر.]] (''al-Jazā’ir'', [[Algeria]])
 +
* [[Masr (domain name)|مصر.]] (''masr'', [[Egypt]])
 +
* [[.in#Internationalized domain names and country codes|بھارت.]] (''bharat'', India)
 +
* [[.ir#Persian domains|ایران.]] ([[Iran]])
 +
* [[.jo|الاردن.]] (''al-urdun'', [[Jordan]])
 +
* [[.ps|فلسطين.]] (''filastin'', [[Palestinian territories]])
 +
* [[.pk#Internationalized county codes|پاکستان.]] (''pakstan'', [[Pakistan]])
 +
* [[.qa|قطر.]] (''qatar'', [[Qatar]])
 +
* [[AlSaudiah|السعودية.]] (''al-saudiah'', [[Saudi Arabia]])
 +
* [[List of Internet top-level domains#Internationalized country code top-level domains|سوريا.]] (''sūryā'', [[Syria]])
 +
* [[List of Internet top-level domains#Internationalized country code top-level domains|تونس.]] (''tunis'', [[Tunisia]])
 +
* [[Emarat|امارات.]] (''emarat'', [[United Arab Emirates|UAE]])
 +
* [[عمان.]] ([[Oman]])
 +
* [[مليسيا.]] (''maleesya'', [[Malaysia]])
 +
* [[المغرب.]] (''almahgrib'', [[Morocco]])
 +
* [[سودان.]] ([[Sudan]])
 +
* [[اليمن.]] (''alyemen'', [[Yemen]])
 +
  |
 +
  |col3header=[[Brahmic scripts]]
 +
  |col3 =
 +
* [[.bangla|.বাংলা]] (''bangla'', [[Bangladesh]])
 +
* [[.in#Internationalized domain names and country codes|.ভারত]] (''bharôt'', [[India]])
 +
* [[.in#Internationalized domain names and country codes|.भारत]] (''bharat'', India)
 +
* [[.in#Internationalized domain names and country codes|.భారత్]] (''bharat'', India)
 +
* [[.in#Internationalized domain names and country codes|.ભારત]] (''bharat'', India)
 +
* [[.in#Internationalized domain names and country codes|.ਭਾਰਤ]] (''bharat'', India)
 +
* [[.in#Internationalized domain names and country codes|.இந்தியா]] (''inthiyaa'', India)
 +
* [[.lk#Internationalized top-level domains|.ලංකා]] (''lanka'', [[Sri Lanka]])
 +
* [[.lk#Internationalized top-level domains|.இலங்கை]] (''ilangai'', Sri Lanka)
 +
* [[.th#Second top domain|.ไทย]] (''thai'', [[Thailand]])
 +
* [[.sg|.சிங்கப்பூர்]] (''cinkappūr'', Singapore)
 +
  |
 +
  |col4header=[[Chinese character]]s
 +
  |col4 =
 +
* [[.cn#Internationalized domain names with Chinese characters|.中国]] (''Zhōngguó'', [[China]])
 +
* [[.cn#Internationalized domain names with Chinese characters|.中國]] (''Zhōngguó'', China)
 +
* [[.hk|.香港]] ([[Hong Kong]])
 +
* [[.tw|.台灣]] ([[Taiwan]])
 +
* [[.tw|.台湾]] (Taiwan)
 +
* [[.sg|.新加坡]] (''Xīnjiāpō/Sin-ka-po'', [[Singapore]])
 +
  |
 +
  |col5header=[[Writing system|Other scripts]]
 +
  |col5 =
 +
* [[.ge|.გე]] (''ge'', [[Georgia (country)|Georgia]])
 +
* [[.kr|.한국]] (''Hanguk'', [[South Korea]])
 +
}}
 +
 
 +
|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, rejected) [[.cy|.κπ]] (''kp'', Cyprus) [[.gr|.ελ]] (''el'', Greece, rejected) [[.il|ישראל.]] (''yisrael'', Israel) [[.мкд]] (''.mkd'', Macedonia, proposed) [[.jp|.日本]] (''nippon'', Japan) [[.la|.ລາວ]] (''lao'', Laos)
 +
}}
 +
 
 +
|group4 = Others
 +
|abbr4 = Others
 +
|list4 =
 +
{{Navbox with columns |child
 +
  |colheaderstyle = font-weight:normal;
 +
  |colstyle = white-space:nowrap;text-align:center;
 +
  |col1header = Reserved{{\}}unassigned
 +
  |col1 = [[.bl]] [[.bq]] [[.eh]] [[.mf]]
 +
  |col2header = Allocated{{\}}unused
 +
  |col2 = [[.bv]] [[.gb]] [[.sj]]
 +
  |col3header = Being phased out{{\}}ISO 3166-1 entry deleted
 +
  |col3 = [[.an]] [[.su]] [[.tp]]
 +
  |col4header = Retired{{\}}deleted
 +
  |col4 = [[.mm|.bu]] [[.cs]] [[.dd]] [[.um]] [[.yu]] [[.zr]]
 +
}}
 +
 
 +
 
 +
|below = See also [[Generic top-level domain]]s
 +
}}<noinclude>
 +
{{collapsible option}}
 +
 
 +
----
 +
 
 +
===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}}]]
 +
 
 +
</noinclude>

Revision as of 19:03, 31 December 2013

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.


Usage

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", "IDN", "Proposed" or "Others"
  • By default, list1 ("ISO 3166-1") is shown expanded. To show it collapsed, include |iso3166-1=collapsed when transcluding the template.