Difference between revisions of "Template:Hobbit"

From blackwiki
Jump to navigation Jump to search
imported>Sirius317
imported>Frietjes
Line 4: Line 4:
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
 
| bodyclass = hlist
 
| bodyclass = hlist
| listclass = hlist
 
  
 
| above =  
 
| above =  
Line 54: Line 53:
  
 
| group4 = [[Adaptations of The Hobbit|Adaptations <br/>and derivatives]]
 
| group4 = [[Adaptations of The Hobbit|Adaptations <br/>and derivatives]]
|  list4 = {{navbox subgroup
+
|  list4 = {{navbox|subgroup
  
 
     |group1 = Radio
 
     |group1 = Radio
Line 65: Line 64:
 
* ''[[The Hobbit (1985 film)|The Hobbit]]'' (1985)
 
* ''[[The Hobbit (1985 film)|The Hobbit]]'' (1985)
 
* ''[[Hobitit]]'' (1993)
 
* ''[[Hobitit]]'' (1993)
{{navbox subgroup
+
{{navbox|subgroup
 
     |group1=[[The Hobbit (film series)|Peter Jackson series]]
 
     |group1=[[The Hobbit (film series)|Peter Jackson series]]
 
     |list1=*''[[The Hobbit: An Unexpected Journey|An Unexpected Journey]]'' (2012)
 
     |list1=*''[[The Hobbit: An Unexpected Journey|An Unexpected Journey]]'' (2012)

Revision as of 16:04, 29 August 2017

Initial visibility: currently defaults to autocollapse

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

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