Difference between revisions of "Template:Chinese language"

From blackwiki
Jump to navigation Jump to search
imported>Kotlyarov
m
imported>Sardanaphalus
(Navbox (including more discreet wrapsensitive dividers, Firefox-compliant linewrap handling), updating category, rm parent category)
Line 1: Line 1:
{| class="toccolours" style="margin: 0 auto;"
+
{{Navbox
|-
+
|name  = Chinese language
| colspan="2" style="background-color: #ccccff; text-align: center;" |
+
|state = <includeonly>{{{state|collapsed}}}</includeonly>
{|cellspacing=0 cellpadding=0 border=0 style="background:Transparent" width=100%
+
|title = [[Chinese language]]
|width=20 align=left|<small class="editlink noprint plainlinksneverexpand">[[{{SERVER}}{{localurl:Template:Chinese language|action=edit}} edit]]</small>
+
|groupstyle = padding:0.35em 1.0em; line-height:1.1em; <!--reduces wide gap between wrapped groupname lines-->
|align=center|'''[[Chinese language|Chinese]]: [[Spoken Chinese|spoken varieties]]'''
+
|liststyle  = padding:0.25em 0; line-height:1.4em; <!--otherwise lists can appear to form continuous whole--> background:transparent;
|width=20|&nbsp;
+
 
|}
+
<!------------------------------ Spoken ------------------------------->
|-
+
|list1 = <div style="background:#ddf; line-height:1.8em; font-size:105%;">'''[[Spoken Chinese|Spoken varieties]]'''</div>
| style="font-size: 90%; text-align: right;" | '''First level categories'''
+
 
| style="font-size: 90%; text-align: left;" | [[Mandarin (linguistics)|Mandarin]] | [[Wu (linguistics)|Wu]] | [[Cantonese (linguistics)|Cantonese]] |  [[Min (linguistics)|Min]] |  [[Xiang (linguistics)|Xiang]] | [[Hakka (linguistics)|Hakka]] | [[Gan (linguistics)|Gan]]
+
|group2 = First-level
|-
+
|list2  = {{Navbox subgroups
| colspan="2" style="background-color: #ccccff; text-align: center;" |
+
|groupstyle = font-weight:normal;
|-
+
|liststyle  = padding:0.25em 0; line-height:1.4em; <!--otherwise lists can appear to form continuous whole-->
| style="font-size: 90%; text-align: right;" | '''Often accepted first-level categories:'''
+
|group1 = '''[[Mandarin (linguistics)|Mandarin]]'''
| style="font-size: 90%; text-align: left;" |
+
|list1  = {{nowrap begin}} [[Northeastern Mandarin|Northeastern]]{{·w}} [[Beijing dialect|Beijing]]{{·w}} [[Ji-Lu Mandarin|Ji-Lu]]{{·w}} [[Jiao Liao Mandarin|Jiao-Liao]]{{·w}} [[Zhongyuan Mandarin|Zhongyuan]]{{·w}} [[Lan-Yin]]{{·w}} [[Southwestern Mandarin|Southwestern]]{{·w}} [[Jianghuai]] {{nowrap end}}
[[Hui (linguistics)|Hui]] | [[Jin (linguistics)|Jin]] | [[Pinghua (linguistics)|Ping]]
+
|group2 = '''[[Min (linguistics)|Min]]'''
|-
+
|list2  = {{nowrap begin}} [[Min Bei]]{{·w}} [[Min Dong]]{{·w}} [[Min Nan]]{{·w}} [[Min Zhong]]{{·w}} [[Puxian Min|Puxian]]{{·w}} [[Qiong Wen]]{{·w}} [[Shaojiang]] {{nowrap end}}
| style="font-size: 90%; text-align: right;" | '''Unclassified:'''
+
|group3 = Others
| style="font-size: 90%; text-align: left;" |
+
|list3  = {{nowrap begin}} [[Wu (linguistics)|Wu]]{{·w}} [[Cantonese (linguistics)|Cantonese]]{{·w}} [[Xiang (linguistics)|Xiang]]{{·w}} [[Hakka (linguistics)|Hakka]]{{·w}} [[Gan (linguistics)|Gan]] {{nowrap end}}
[[Danzhouhua]] | [[Shaozhou Tuhua]]
+
|group4 = Often accepted
|-
+
|list4  = {{nowrap begin}} [[Hui (linguistics)|Hui]]{{·w}} [[Jin (linguistics)|Jin]]{{·w}} [[Pinghua (linguistics)|Ping]] {{nowrap end}}
| colspan="2" style="background-color: #ccccff; text-align: center;" |
+
}}
|-
+
 
| style="font-size: 90%; text-align: right;" |  '''[[Mandarin dialects|Subcategories of Mandarin]]:'''
+
|group3 = Unclassified
| style="font-size: 90%; text-align: left;" | [[Northeastern Mandarin|Northeastern]] | [[Beijing dialect|Beijing]] | [[Ji-Lu Mandarin|Ji-Lu]] | [[Jiao Liao Mandarin|Jiao-Liao]] | [[Zhongyuan Mandarin|Zhongyuan]] | [[Lan-Yin]] | [[Southwestern Mandarin|Southwestern]] | [[Jianghuai]]
+
|list3  = {{nowrap begin}} [[Danzhouhua]]{{·w}} [[Shaozhou Tuhua]] {{nowrap end}}
|-
+
 
| style="font-size: 90%; text-align: right;" | '''Subcategories of Min:'''
+
|group4 = [[Ausbausprache]]n
| style="font-size: 90%; text-align: left;" | [[Min Bei]] | [[Min Dong]] | [[Min Nan]] | [[Min Zhong]] | [[Puxian Min|Puxian]] | [[Qiong Wen]] | [[Shaojiang]]
+
|list4  = {{nowrap begin}} [[Standard Mandarin]] ([[Taiwanese Mandarin]]){{·w}} [[Standard Cantonese]]{{·w}} [[Dungan language|Dungan]] {{nowrap end}}
|-
+
 
| colspan="2" style="background-color: #ccccff; text-align: center;" |  
+
|group5 = [[Historical Chinese phonology|Historical phonology]]
|-
+
|list5  = {{nowrap begin}} [[Old Chinese]]{{·w}} [[Middle Chinese]]{{·w}} [[Proto-Min]]{{·w}} [[Proto-Mandarin]]{{·w}} [[Haner language|Haner]] {{nowrap end}}
| style="font-size: 90%; text-align: right;" | '''[[Ausbausprache]]n:'''
+
 
| style="font-size: 90%; text-align: left;" | [[Standard Mandarin]] | ([[Taiwanese Mandarin]]) | [[Standard Cantonese]] | [[Dungan language|Dungan]]
+
<!------------------------------ Written ------------------------------>
|-
+
|list6 = <div style="background:#ddf; line-height:1.8em; font-size:105%;">'''[[Written Chinese|Written varieties]]'''</div>
| colspan="2" style="font-size: 90%; text-align: center;" | [[List of Chinese dialects|Comprehensive list of Chinese dialects]] &nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp; [[Identification of the varieties of Chinese]]
+
 
|-
+
|group7 = Official
| style="font-size: 90%; text-align: right;" | '''[[Historical Chinese phonology|Historical phonology]]:'''
+
|list7  = {{nowrap begin}} [[Classical Chinese|Classical]]{{·w}} [[Vernacular Chinese|Vernacular]] {{nowrap end}}
| style="font-size: 90%; text-align: left;" | [[Old Chinese]] | [[Middle Chinese]] | [[Proto-Min]] | [[Proto-Mandarin]] | [[Haner language|Haner]]
+
 
|-
+
|group8 = Other
| colspan="2" style="background-color: #ccccff; text-align: center;" | '''[[Written Chinese|Written varieties]]'''
+
|list8  = {{nowrap begin}} [[Written Cantonese|Vernacular Cantonese]]<!--{{·w}} --> {{nowrap end}}
|-
+
 
| style="font-size: 90%; text-align: right;" | '''Official written varieties:'''
+
<!--------------------------------------------------------------------->
| style="font-size: 90%; text-align: left;" | [[Classical Chinese]] | [[Vernacular Chinese]]
+
|below = [[List of Chinese dialects]]{{·}} [[Identification of the varieties of Chinese|Identification of Chinese language varieties]]
|-
+
}}<noinclude>
| style="font-size: 90%; text-align: right;" | '''Other varieties:'''
+
<br/>{{collapsible option}}
| style="font-size: 90%; text-align: left;" | [[Written Cantonese|Written Vernacular Cantonese]]
+
 
|}
+
[[Category:Chinese language templates| ]]
<noinclude> [[Category:China language navigational boxes|{{PAGENAME}}]]
+
 
[[Category:Language navigational boxes|{{PAGENAME}}]]
 
 
[[fr:modèle:langue chinoise]]
 
[[fr:modèle:langue chinoise]]
[[sv:Mall:Kinesiska]]</noinclude>
+
[[sv:Mall:Kinesiska]]
 +
</noinclude>

Revision as of 16:38, 17 May 2008


Initial visibility: currently defaults to autocollapse

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

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

fr:modèle:langue chinoise sv:Mall:Kinesiska