Difference between revisions of "Template:Chaucer/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>DH85868993
(update to latest version (but comment out cats), to remove links to dabpage)
imported>Frietjes
 
Line 3: Line 3:
 
| title    = [[Geoffrey Chaucer]]
 
| title    = [[Geoffrey Chaucer]]
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
| listclass = hlist
 
 
| image = [[File:Chaucer_Hoccleve_cleanwhite.png|80px|]]
 
| image = [[File:Chaucer_Hoccleve_cleanwhite.png|80px|]]
 
| bodyclass = hlist
 
| bodyclass = hlist
Line 9: Line 8:
 
| group1    = Works
 
| group1    = Works
 
| list1      =
 
| list1      =
   {{navbox subgroup
+
   {{navbox|subgroup
 
   | group1    = ''[[The Canterbury Tales]]''
 
   | group1    = ''[[The Canterbury Tales]]''
 
   | list1      =
 
   | list1      =
Line 87: Line 86:
 
| group3 = People
 
| group3 = People
 
| list3 =  
 
| list3 =  
   {{navbox subgroup
+
   {{navbox|subgroup
 
   | group1    = Family
 
   | group1    = Family
 
   | list1      =
 
   | list1      =

Latest revision as of 18:50, 30 August 2017

Initial visibility: currently defaults to autocollapse

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

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