Difference between revisions of "Template:Hobbit"

From blackwiki
Jump to navigation Jump to search
imported>Chiswick Chap
(trim heading)
imported>Gonnym
(Removed redirect link; removed WP:EGG and changed it with the actual article title; fixed layout sub-group issue)
Line 1: Line 1:
{{navbox
+
{{Navbox
| name = Hobbit
+
| name     = Hobbit
| title = [[J. R. R. Tolkien]]'s ''[[The Hobbit]]''
+
| title     = [[J. R. R. Tolkien]]'s ''[[The Hobbit]]''
| state = {{{state|autocollapse}}}
+
| state     = {{{state|autocollapse}}}
 
| bodyclass = hlist
 
| bodyclass = hlist
  
Line 11: Line 11:
  
 
| group1 = Editions
 
| group1 = Editions
list1 =
+
| list1 =
 
* [[English-language editions of The Hobbit|English-language editions]]
 
* [[English-language editions of The Hobbit|English-language editions]]
 
* [[Early American editions of The Hobbit|Early American editions]]
 
* [[Early American editions of The Hobbit|Early American editions]]
Line 18: Line 18:
  
 
| group2 = [[List of The Hobbit characters|Characters]]
 
| group2 = [[List of The Hobbit characters|Characters]]
list2 =
+
| list2 =
 
* [[Bilbo Baggins|Bilbo]]
 
* [[Bilbo Baggins|Bilbo]]
 
* [[Gandalf]]
 
* [[Gandalf]]
Line 31: Line 31:
  
 
| group3 = Places
 
| group3 = Places
| list3 =
+
| list3 =
* [[Eriador]]
+
* Eriador
 
** [[Rivendell]]
 
** [[Rivendell]]
 
** [[Shire (Middle-earth)|The Shire]]
 
** [[Shire (Middle-earth)|The Shire]]
Line 41: Line 41:
  
 
| group4 = Related works
 
| group4 = Related works
list4 =
+
| list4 =
 
* ''[[The History of The Hobbit]]''
 
* ''[[The History of The Hobbit]]''
 
* ''[[Bilbo's Last Song]]''
 
* ''[[Bilbo's Last Song]]''
  
 
| group5 = [[Adaptations of The Hobbit|Adaptations,<br/>derivatives]]
 
| group5 = [[Adaptations of The Hobbit|Adaptations,<br/>derivatives]]
list5 = {{navbox|subgroup
+
| list5 = {{Navbox|subgroup
  
     |group1 = Radio, TV
+
     | group1 = Radio and television
     |list1 =  
+
     | list1 =  
 
* ''[[The Hobbit (radio series)|The Hobbit]]'' (1968)
 
* ''[[The Hobbit (radio series)|The Hobbit]]'' (1968)
 
* ''[[Hobitit]]'' (1993)
 
* ''[[Hobitit]]'' (1993)
  
     |group2 = Film
+
     | group2 = Film
     |list2 =  
+
     | list2 = {{Navbox|subgroup
 +
 
 +
        | group1 =
 +
        | list1  =
 
* ''[[The Hobbit (1977 film)|The Hobbit]]'' (1977)
 
* ''[[The Hobbit (1977 film)|The Hobbit]]'' (1977)
 
* ''[[The Hobbit (1985 film)|The Hobbit]]'' (1985)
 
* ''[[The Hobbit (1985 film)|The Hobbit]]'' (1985)
{{navbox|subgroup
+
 
    |group1=[[The Hobbit (film series)|Peter Jackson]]
+
        | group2 = [[The Hobbit (film series)|''The Hobbit'' film series]]
    |list1=*''[[The Hobbit: An Unexpected Journey|An Unexpected Journey]]'' (2012)
+
        | list2  =  
 +
*''[[The Hobbit: An Unexpected Journey|An Unexpected Journey]]'' (2012)
 
*''[[The Hobbit: The Desolation of Smaug|The Desolation of Smaug]]'' (2013)
 
*''[[The Hobbit: The Desolation of Smaug|The Desolation of Smaug]]'' (2013)
 
*''[[The Hobbit: The Battle of the Five Armies|The Battle of the Five Armies]]'' (2014)
 
*''[[The Hobbit: The Battle of the Five Armies|The Battle of the Five Armies]]'' (2014)
 
* [[List of original characters in The Hobbit film series|Original characters]]
 
* [[List of original characters in The Hobbit film series|Original characters]]
* [[Music of The Hobbit film series|Music]]}}
+
* [[Music of The Hobbit film series|Music]]
 +
}}
  
     |group3 = Games
+
     | group3 = Games
     |list3 =   
+
     | list3 =   
 
* ''[[The Hobbit (1982 video game)|The Hobbit]]'' (1982)
 
* ''[[The Hobbit (1982 video game)|The Hobbit]]'' (1982)
 
* ''[[The Hobbit (2003 video game)|The Hobbit]]'' (2003)
 
* ''[[The Hobbit (2003 video game)|The Hobbit]]'' (2003)
Line 74: Line 79:
 
     }}
 
     }}
  
|below=  
+
|below =  
 
* {{icon|category}} [[:Category:The Hobbit|Category]]
 
* {{icon|category}} [[:Category:The Hobbit|Category]]
  

Revision as of 10:58, 17 March 2020

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.