Difference between revisions of "Template:Chinese script styles"

From blackwiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name = Chinese script styles
 
|name = Chinese script styles
|title = [[Chinese characters|Chinese script]] and [[Chinese script styles|type styles]] ({{lang|zh-hant|漢字及其字體風格}})
+
|title = [[Chinese characters|Chinese]] [[Writing system|script]] and [[Movable type|type]] [[Chinese script styles|styles]] ({{lang|zh-hant|漢字及其字體風格}})
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
Line 21: Line 21:
 
   }}
 
   }}
  
|group2 = Styles for [[movable type]]<br /> and [[List of CJK fonts|computer fonts]]
+
|group2 = Styles for [[Movable type]]<br /> and [[List of CJK fonts|computer fonts]]
 
|list2 =
 
|list2 =
 
* [[Imitation Song]] ({{lang|zh|仿宋體}})  
 
* [[Imitation Song]] ({{lang|zh|仿宋體}})  

Revision as of 20:00, 8 November 2015

Initial visibility: currently defaults to autocollapse

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

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