Difference between revisions of "Template:How to Train Your Dragon"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(use listclass = hlist in navbox as per WP:HLIST)
imported>TJ Spyke
(fix)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name = How to Train Your Dragon
+
|name = How to Train Your Dragon
| title = ''[[How to Train Your Dragon (franchise)|How to Train Your Dragon]]''
+
|title = ''[[How to Train Your Dragon (franchise)|How to Train Your Dragon]]''
 
|listclass = hlist
 
|listclass = hlist
| state = {{{state|autocollapse}}}|
+
|state = {{{state|autocollapse}}}|
  
 
| group1 = Books
 
| group1 = Books
Line 21: Line 21:
 
| list2 =
 
| list2 =
 
* ''[[How to Train Your Dragon (film)|How to Train Your Dragon]]'' (2010)
 
* ''[[How to Train Your Dragon (film)|How to Train Your Dragon]]'' (2010)
* ''[[How to Train Your Dragon 2]]'' (2014)
+
* ''[[How to Train Your Dragon (franchise)#How to Train Your Dragon 2 (2014)|How to Train Your Dragon 2]]'' (2014)
  
 
| group3 = Short films
 
| group3 = Short films

Revision as of 11:35, 6 August 2012

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{How to Train Your Dragon|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{How to Train Your Dragon|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{How to Train Your Dragon|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. ko:틀:드래곤 길들이기