Difference between revisions of "Template:Chinese language"

From blackwiki
Jump to navigation Jump to search
imported>Jason 8837
imported>ASDFGH
Line 5: Line 5:
 
|groupstyle = padding:0.35em 1.0em; line-height:1.1em; <!--reduces wide gap between wrapped groupname lines-->
 
|groupstyle = padding:0.35em 1.0em; line-height:1.1em; <!--reduces wide gap between wrapped groupname lines-->
 
|liststyle = padding:0.25em 0; line-height:1.4em; <!--otherwise lists can appear to form continuous whole--> background:transparent;
 
|liststyle = padding:0.25em 0; line-height:1.4em; <!--otherwise lists can appear to form continuous whole--> background:transparent;
 
+
|image= [[File:Hanyu.png|150px]]
 
  <!------------------------------ Spoken ------------------------------->
 
  <!------------------------------ Spoken ------------------------------->
 
|list1 = <div style="background:#ddf; line-height:1.8em; font-size:105%;">'''[[Spoken Chinese|Spoken varieties]]'''</div>
 
|list1 = <div style="background:#ddf; line-height:1.8em; font-size:105%;">'''[[Spoken Chinese|Spoken varieties]]'''</div>

Revision as of 11:07, 4 November 2010


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 id:Templat:Bahasa Tionghoa mk:Шаблон:Кинески јазик ja:Template:中国語 ru:Шаблон:Китайский язык sv:Mall:Kinesiska vi:Tiêu bản:Tiếng Trung Quốc zh:Template:汉语