Difference between revisions of "Template:Look and Read"

From blackwiki
Jump to navigation Jump to search
imported>CapitalR
(use listclass = hlist in navbox as per WP:HLIST)
imported>CapitalR
(parameter fix)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name = Look and Read
 
|name = Look and Read
|title = [[Look and Read]]|
+
|title = [[Look and Read]]
|listclass = hlist
+
|bodyclass = hlist
state = {{{state|autocollapse}}}
+
|state = {{{state|autocollapse}}}
|list1 =
+
 
 +
|above =
 
* '''[[Look and Read#List of Look and Read stories|List of ''Look and Read'' stories]]'''
 
* '''[[Look and Read#List of Look and Read stories|List of ''Look and Read'' stories]]'''
  
 +
|list1 =
 
* [[Bob and Carol Look for Treasure]]
 
* [[Bob and Carol Look for Treasure]]
 
* [[Len and the River Mob]]
 
* [[Len and the River Mob]]

Revision as of 01:12, 14 August 2012

Initial visibility: currently defaults to autocollapse

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

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