Difference between revisions of "Template:CcTLD"

From blackwiki
Jump to navigation Jump to search
imported>SiBr4
(Undid revision 704653335 by 2620:0:1000:437C:9B0:DAE0:1890:FE9E (talk) Already in "Others" section)
imported>Techie3
(https://www.icann.org/news/announcement-2020-05-19-en, The ICANN has now approved the use of the ישראל. domain.)
 
(29 intermediate revisions by 22 users not shown)
Line 1: Line 1:
 
{{Navbox with collapsible groups
 
{{Navbox with collapsible groups
 
|name = CcTLD
 
|name = CcTLD
|state = {{{state|uncollapsed}}}
+
|state = {{{state|expanded}}}
 
|title = [[Country code top-level domain]]s
 
|title = [[Country code top-level domain]]s
|
+
|selected = {{{selected|{{{1|}}}}}}
|selected = {{{1|}}}
+
 
|
 
 
|group1 = [[ISO 3166-1 alpha-2|ISO 3166-1]]
 
|group1 = [[ISO 3166-1 alpha-2|ISO 3166-1]]
|state1 = {{{iso3166-1|uncollapsed}}}
+
|state1 = {{{iso3166-1|expanded}}}
 
|abbr1 = ISO 3166-1
 
|abbr1 = ISO 3166-1
 
|list1 = <div>
 
|list1 = <div>
Line 38: Line 37:
  
 
|group2 = [[Internationalized country code top-level domain|Internationalized (IDN) ccTLD]]
 
|group2 = [[Internationalized country code top-level domain|Internationalized (IDN) ccTLD]]
 +
|state2 = <noinclude>expanded</noinclude>
 
|abbr2 = IDN
 
|abbr2 = IDN
 
|list2 =
 
|list2 =
Line 44: Line 44:
 
   |col1header=[[Cyrillic script]]
 
   |col1header=[[Cyrillic script]]
 
   |col1 =
 
   |col1 =
 +
* [[.бг]] (''bg'', [[Bulgaria]])
 
* [[.бел]] (''bel'', [[Belarus]])
 
* [[.бел]] (''bel'', [[Belarus]])
* [[.kz|.қаз]] (''qaz'', [[Kazakhstan]])
+
* [[.ею]] (''eyu'', [[European Union]])
* [[.mn|.мон]] (''mon'', [[Mongolia]])
+
* [[.қаз]] (''qaz'', [[Kazakhstan]])
* [[.мкд]] (''mkd'', [[Macedonia (country)|Macedonia]])
+
* [[.мон]] (''mon'', [[Mongolia]])
 +
* [[.мкд]] (''mkd'', [[North Macedonia]])
 
* [[.рф]] (''rf'', [[Russia]])
 
* [[.рф]] (''rf'', [[Russia]])
 
* [[.срб]] (''srb'', [[Serbia]])
 
* [[.срб]] (''srb'', [[Serbia]])
Line 55: Line 57:
 
   |col2 =
 
   |col2 =
 
* [[.dz|الجزائر.]] (''al-Jazā’ir'', [[Algeria]])
 
* [[.dz|الجزائر.]] (''al-Jazā’ir'', [[Algeria]])
* [[Masr (domain name)|مصر.]] (''Masr'', [[Egypt]])
+
* [[Misr (domain name)|مصر.]] (''Misr'', [[Egypt]])
 
* [[.in#Internationalized domain names and country codes|بھارت.]] (''Bharat'', India)
 
* [[.in#Internationalized domain names and country codes|بھارت.]] (''Bharat'', India)
 
* [[.ir#Persian domains|ایران.]] (''[[Iran]]'')
 
* [[.ir#Persian domains|ایران.]] (''[[Iran]]'')
Line 74: Line 76:
 
   |col3header=[[Brahmic scripts]]
 
   |col3header=[[Brahmic scripts]]
 
   |col3 =
 
   |col3 =
* [[.bd|.বাংলা]] (''Bangla'', [[Bangladesh]])
+
* [[.বাংলা]] (''Bangla'', [[Bangladesh]])
 
* [[.in#Internationalized domain names and country codes|.ভাৰত]] (''Bharôt'', [[India]])
 
* [[.in#Internationalized domain names and country codes|.ভাৰত]] (''Bharôt'', [[India]])
 
* [[.in#Internationalized domain names and country codes|.ভারত]] (''Bharôt'', [[India]])
 
* [[.in#Internationalized domain names and country codes|.ভারত]] (''Bharôt'', [[India]])
Line 83: Line 85:
 
* [[.in#Internationalized domain names and country codes|.ଭାରତ]] (''Bhārata'', India)
 
* [[.in#Internationalized domain names and country codes|.ଭାରତ]] (''Bhārata'', India)
 
* [[.in#Internationalized domain names and country codes|.இந்தியா]] (''Inthiyaa'', India)
 
* [[.in#Internationalized domain names and country codes|.இந்தியா]] (''Inthiyaa'', India)
 +
* [[.la|.ລາວ]] (''Lao'', [[Laos]])
 +
* [[.sg|.சிங்கப்பூர்]] (''Cinkappūr'', Singapore)
 
* [[.lk#Internationalized top-level domains|.ලංකා]] (''Lanka'', [[Sri Lanka]])
 
* [[.lk#Internationalized top-level domains|.ලංකා]] (''Lanka'', [[Sri Lanka]])
 
* [[.lk#Internationalized top-level domains|.இலங்கை]] (''Ilangai'', Sri Lanka)
 
* [[.lk#Internationalized top-level domains|.இலங்கை]] (''Ilangai'', Sri Lanka)
 
* [[.th#Second top domain|.ไทย]] (''Thai'', [[Thailand]])
 
* [[.th#Second top domain|.ไทย]] (''Thai'', [[Thailand]])
* [[.sg|.சிங்கப்பூர்]] (''Cinkappūr'', Singapore)
 
 
   |
 
   |
   |col4header=[[Chinese character]]s
+
   |col4header=[[Chinese characters]]
 
   |col4 =
 
   |col4 =
* [[.cn#Internationalized domain names with Chinese characters|.中国]] (''Zhōngguó'', [[China]])
+
* {{lang|zh|[[.cn#Internationalized domain names with Chinese characters|.中国]]}} (''Zhōngguó'', [[China]])
* [[.cn#Internationalized domain names with Chinese characters|.中國]] (''Zhōngguó'', China)
+
* {{lang|zh-Hant|[[.cn#Internationalized domain names with Chinese characters|.中國]]}} (''Zhōngguó'', China)
* [[.hk|.香港]] (''Xiānggǎng''/''Hoeng<sup>1</sup>gong<sup>2</sup>'', [[Hong Kong]])
+
* {{lang|zh-Hant|[[.hk|.香港]]}} (''Xiānggǎng''/''Hoeng<sup>1</sup>gong<sup>2</sup>'', [[Hong Kong]])
* [[.tw|.台灣]] (''Táiwān'', [[Taiwan]])
+
* {{lang|zh-Hant|[[.mo|.澳門]]}} (''Àomén''/''Ou<sup>3</sup>mun<sup>4</sup>'', [[Macau]])
* [[.tw|.台湾]] (''Táiwān'', Taiwan)
+
* {{lang|zh|[[.mo|.澳门]]}} (''Àomén''/''Ou<sup>3</sup>mun<sup>4</sup>'', Macau)
* [[.sg|.新加坡]] (''Xīnjiāpō'', [[Singapore]])
+
* {{lang|zh|[[.sg|.新加坡]]}} (''Xīnjiāpō'', [[Singapore]])
* [[.mo|.澳門]] (''Àomén''/''Ou<sup>3</sup>mun<sup>4</sup>'', [[Macau]])
+
* {{lang|zh-tw|[[.tw|.台灣]]}} (''Táiwān'', [[Taiwan]])
* [[.mo|.澳门]] (''Àomén''/''Ou<sup>3</sup>mun<sup>4</sup>'', Macau)
+
* {{lang|zh|[[.tw|.台湾]]}} (''Táiwān'', Taiwan)
 
   |
 
   |
 
   |col5header=[[Writing system|Other scripts]]
 
   |col5header=[[Writing system|Other scripts]]
 
   |col5 =
 
   |col5 =
 +
* [[.հայ]] (''hay'', [[Armenia]])
 +
* [[.ευ]] (''ey'', [[European Union]])
 
* [[.ge|.გე]] (''ge'', [[Georgia (country)|Georgia]])
 
* [[.ge|.გე]] (''ge'', [[Georgia (country)|Georgia]])
 +
* [[.gr|.ελ]] (''el'', [[Greece]])
 
* [[.kr|.한국]] (''Han-guk'', [[South Korea]])
 
* [[.kr|.한국]] (''Han-guk'', [[South Korea]])
* [[.am|.հայ]] (''hay'', [[Armenia]])
+
* {{rtl-lang|he|[[.il|.ישראל]]}} (''Yisrael'', [[Israel]])
 
}}
 
}}
  
|group3 = [[Proposed_top-level_domain#Internationalized_country_code_top-level_domains|Proposed ccTLDs]]
+
|group3 = [[Proposed top-level domain#Internationalized country code top-level domains|Proposed ccTLDs]]
 +
|state3 = <noinclude>expanded</noinclude>
 
|abbr3 = Proposed
 
|abbr3 = Proposed
 
|list3 =
 
|list3 =
 
  {{Navbox with columns |child
 
  {{Navbox with columns |child
 
   |colwidth=20em |colstyle=text-align:left;white-space:nowrap;
 
   |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)
+
   |col1 = [[.cy|.κπ]] (''kp'', [[Cyprus]]) - {{lang|ja|[[.jp|.日本]]}} (''Nippon'', [[Japan]])
 
}}
 
}}
  
 
|group4 = Others
 
|group4 = Others
 +
|state4 = <noinclude>expanded</noinclude>
 
|abbr4 = Others
 
|abbr4 = Others
 
|list4 =
 
|list4 =
Line 124: Line 132:
 
   |col2header = Allocated{{\}}unused
 
   |col2header = Allocated{{\}}unused
 
   |col2 = [[.bv]] [[.gb]] [[.sj]]
 
   |col2 = [[.bv]] [[.gb]] [[.sj]]
   |col3header = Being phased out{{\}}ISO 3166-1 entry deleted
+
   |col3header = Phased out{{\}}deleted
   |col3 = [[.su]]
+
   |col3 = [[.an]] [[.mm|.bu]] [[.cs]] [[.dd]] [[.tp]] [[.um]] [[.yu]] [[.zr]]}}
  |col4header = Retired{{\}}deleted
 
  |col4 = [[.mm|.bu]] [[.cs]] [[.dd]] [[.um]] [[.yu]] [[.zr]] [[.tp]] [[.an]]}}
 
  
 
|below = See also: [[Generic top-level domain]]s
 
|below = See also: [[Generic top-level domain]]s
 +
 
}}<noinclude>
 
}}<noinclude>
{{collapsible option}}
+
{{Documentation}}
----
 
 
 
===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]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 04:56, 17 June 2020

Initial visibility: currently defaults to expanded

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 expanded.


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
    • Others
  • For example: {{CcTLD |IDN}}

By default, list1 ("ISO 3166-1") is shown in articles as expanded. To show it collapsed, include |iso3166-1=collapsed when transcluding the template.