Difference between revisions of "Template:CcTLD"

From blackwiki
Jump to navigation Jump to search
imported>Yetisyny
m (.su comes before .sv alphabetically)
imported>OwenBlacker
(Amended column layout of the Internationalised (IDN) ccTLD section (group2 of the main template))
Line 3: Line 3:
 
|state = {{{state|uncollapsed}}}
 
|state = {{{state|uncollapsed}}}
 
|title = [[Country code top-level domain]]s
 
|title = [[Country code top-level domain]]s
 
+
|
 
|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|uncollapsed}}}
Line 41: Line 41:
 
|list2 =
 
|list2 =
 
  {{Navbox with columns |child
 
  {{Navbox with columns |child
   |colwidth=20em |colstyle=text-align:left;
+
   |colwidth=20em |colstyle=text-align:left; |listclass=plainlist
 +
  |col1header=[[Cyrillic script]]
 
   |col1 =
 
   |col1 =
* [[Cyrillic script]]:<br />
+
* [[.mn|.мон]] (''.mon'', [[Mongolia]])
:* [[.mn|.мон]] (''.mon'', [[Mongolia]])<br />
+
* [[.kz|.қаз]] (''.qaz'', [[Kazakhstan]])
:* [[.kz|.қаз]] (''.qaz'', [[Kazakhstan]])<br />
+
* [[.рф]] (''.rf'', [[Russia]])
:* [[.рф]] (''.rf'', [[Russia]])<br />
+
* [[.срб]] (''.srb'', [[Serbia]])
:* [[.срб]] (''.srb'', [[Serbia]])<br />
+
* [[.укр]] (''.ukr'', [[Ukraine]])
:* [[.укр]] (''.ukr'', [[Ukraine]])
+
  |
 +
  |col2header=[[Arabic script]]
 
   |col2 =
 
   |col2 =
* [[Arabic script]]:<br />
+
* [[.dz|الجزائر.]] (''al-Jazā’ir'', [[Algeria]])
:* [[.dz|الجزائر.]] (''al-Jazā’ir'', [[Algeria]])<br />
+
* [[Masr (domain name)|مصر.]] (''masr'', [[Egypt]])
:* [[Masr (domain name)|مصر.]] (''masr'', [[Egypt]])<br />
+
* [[.in#Internationalized domain names and country codes|بھارت.]] (''bharat'', India)
:* [[.in#Internationalized domain names and country codes|بھارت.]] (''bharat'', India)<br />
+
* [[.ir#Persian domains|ایران.]] ([[Iran]])
:* [[.ir#Persian domains|ایران.]] ([[Iran]])<br />
+
* [[.jo|الاردن.]] (''al-urdun'', [[Jordan]])
:* [[.jo|الاردن.]] (''al-urdun'', [[Jordan]])<br />
+
* [[.ps|فلسطين.]] (''filastin'', [[Palestinian territories]])
:* [[.ps|فلسطين.]] (''filastin'', [[Palestinian territories]])<br />
+
* [[.pk#Internationalized county codes|پاکستان.]] (''pakstan'', [[Pakistan]])
:* [[.pk#Internationalized county codes|پاکستان.]] (''pakstan'', [[Pakistan]])<br />
+
* [[.qa|قطر.]] (''qatar'', [[Qatar]])
:* [[.qa|قطر.]] (''qatar'', [[Qatar]])<br />
+
* [[AlSaudiah|السعودية.]] (''al-saudiah'', [[Saudi Arabia]])
:* [[AlSaudiah|السعودية.]] (''al-saudiah'', [[Saudi Arabia]])<br />
+
* [[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|سوريا.]] (''sūryā'', [[Syria]])<br />
+
* [[List of Internet top-level domains#Internationalized country code top-level domains|تونس.]] (''tunis'', [[Tunisia]])
:* [[List of Internet top-level domains#Internationalized country code top-level domains|تونس.]] (''tunis'', [[Tunisia]])<br />
+
* [[Emarat|امارات.]] (''emarat'', [[United Arab Emirates|UAE]])
:* [[Emarat|امارات.]] (''emarat'', [[United Arab Emirates|UAE]])
+
* [[عمان.]] ([[Oman]])
:* [[عمان.]] ([[Oman]])
+
* [[مليسيا.]] (''maleesya'', [[Malaysia]])
:* [[مليسيا.]] (''maleesya'', [[Malaysia]]
+
* [[المغرب.]] (''almahgrib'', [[Morocco]])
:* [[المغرب.]] (''almahgrib'', [[Morocco]])
+
* [[سودان.]] ([[Sudan]])
:* [[سودان.]] ([[Sudan]])
+
* [[اليمن.]] (''alyemen'', [[Yemen]])
:* [[اليمن.]] (''alyemen'', [[Yemen]])
+
  |
 +
  |col3header=[[Brahmic scripts]]
 
   |col3 =
 
   |col3 =
* [[Brahmic scripts]]:<br />
+
* [[.bangla|.বাংলা]] (''bangla'', [[Bangladesh]])
:* [[.bangla|.বাংলা]] (''bangla'', [[Bangladesh]])<br />
+
* [[.in#Internationalized domain names and country codes|.ভারত]] (''bharôt'', [[India]])
:* [[.in#Internationalized domain names and country codes|.ভারত]] (''bharôt'', India)<br />
+
* [[.in#Internationalized domain names and country codes|.भारत]] (''bharat'', India)
:* [[.in#Internationalized domain names and country codes|.भारत]] (''bharat'', [[India]])<br />
+
* [[.in#Internationalized domain names and country codes|.భారత్]] (''bharat'', India)
:* [[.in#Internationalized domain names and country codes|.భారత్]] (''bharat'', India)<br />
+
* [[.in#Internationalized domain names and country codes|.ભારત]] (''bharat'', India)
:* [[.in#Internationalized domain names and country codes|.ભારત]] (''bharat'', India)<br />
+
* [[.in#Internationalized domain names and country codes|.ਭਾਰਤ]] (''bharat'', India)
:* [[.in#Internationalized domain names and country codes|.ਭਾਰਤ]] (''bharat'', India)<br />
+
* [[.in#Internationalized domain names and country codes|.இந்தியா]] (''inthiyaa'', India)
:* [[.in#Internationalized domain names and country codes|.இந்தியா]] (''inthiyaa'', India)<br />
+
* [[.lk#Internationalized top-level domains|.ලංකා]] (''lanka'', [[Sri Lanka]])
:* [[.lk#Internationalized top-level domains|.ලංකා]] (''lanka'', [[Sri Lanka]])<br />
+
* [[.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]])<br />
+
* [[.sg|.சிங்கப்பூர்]] (''cinkappūr'', Singapore)
:* [[.sg|.சிங்கப்பூர்]] (''cinkappūr'', Singapore)
+
  |
 +
  |col4header=[[Chinese character]]s
 
   |col4 =
 
   |col4 =
* [[Chinese characters]]:<br />
+
* [[.cn#Internationalized domain names with Chinese characters|.中国]] (''Zhōngguó'', [[China]])
:* [[.cn#Internationalized domain names with Chinese characters|.中国]] (''Zhōngguó'', [[China]])<br />
+
* [[.cn#Internationalized domain names with Chinese characters|.中國]] (''Zhōngguó'', China)
:* [[.cn#Internationalized domain names with Chinese characters|.中國]] (''Zhōngguó'', China)<br />
+
* [[.hk|.香港]] ([[Hong Kong]])
:* [[.hk|.香港]] ([[Hong Kong]])<br />
+
* [[.tw|.台灣]] ([[Taiwan]])
:* [[.tw|.台灣]] ([[Taiwan]])<br />
+
* [[.tw|.台湾]] (Taiwan)
:* [[.tw|.台湾]] (Taiwan)<br />
+
* [[.sg|.新加坡]] (''Xīnjiāpō/Sin-ka-po'', [[Singapore]])
:* [[.sg|.新加坡]] (''Xīnjiāpō/Sin-ka-po'', [[Singapore]])<br />
+
  |
 +
  |col5header=[[Writing system|Other scripts]]
 
   |col5 =
 
   |col5 =
* Other [[Writing system|scripts]]:<br />
+
* [[.ge|.გე]] (''ge'' , [[Georgia (country)|Georgia]])
:* [[.ge|.გე]] (''ge'' , [[Georgia (country)|Georgia]])
+
* [[.kr|.한국]] (''Hanguk'' , [[South Korea]])
:* [[.kr|.한국]] (''Hanguk'' , [[South Korea]])<br />
 
 
}}
 
}}
  
Line 112: Line 116:
 
   |col1 = [[.bl]] [[.bq]] [[.eh]] [[.mf]]
 
   |col1 = [[.bl]] [[.bq]] [[.eh]] [[.mf]]
 
   |col2header = Allocated{{\}}unused
 
   |col2header = Allocated{{\}}unused
   |col2 = [[.bv]] [[.gb]] [[.sj]]  
+
   |col2 = [[.bv]] [[.gb]] [[.sj]]
 
   |col3header = Being phased out{{\}}ISO 3166-1 entry deleted
 
   |col3header = Being phased out{{\}}ISO 3166-1 entry deleted
 
   |col3 = [[.an]] [[.su]] [[.tp]]
 
   |col3 = [[.an]] [[.su]] [[.tp]]
Line 123: Line 127:
 
{{collapsible option}}
 
{{collapsible option}}
  
<br />
 
 
----
 
----
  

Revision as of 14:34, 30 August 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.