Difference between revisions of "Template:Classic Chinese Novels"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name = Four Great Classical Novels
+
| name     = Four Great Classical Novels
| title = [[Four Great Classical Novels]]
+
| title     = [[Four Great Classical Novels]]
| state = {{{state|autocollapse}}}
+
| listclass = hlist
| list1 = ''[[Dream of the Red Chamber]]''{{·}}''[[Journey to the West]]''{{·}}''[[Romance of the Three Kingdoms]]''{{·}} ''[[Water Margin]]''
+
| state     = {{{state|autocollapse}}}
 +
 
 +
| list1 =  
 +
* ''[[Dream of the Red Chamber]]''
 +
* ''[[Journey to the West]]''
 +
* ''[[Romance of the Three Kingdoms]]''
 +
* ''[[Water Margin]]''
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}

Revision as of 19:30, 1 October 2012

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Classic Chinese Novels|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Classic Chinese Novels|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Classic Chinese Novels|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. fa:الگو:چهار رمان کلاسیک چین fr:Modèle:Palette Quatre livres extraordinaires ko:틀:사대기서 id:Templat:4karya ms:Templat:Four Great Classical Novels ja:Template:四大奇書 th:แม่แบบ:สี่สุดยอดวรรณกรรมจีน