Difference between revisions of "Template:Drop Dead Diva"

From blackwiki
Jump to navigation Jump to search
imported>Wren Valmont
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
|name = Drop Dead Diva
 
|name = Drop Dead Diva
 
|title = ''[[Drop Dead Diva|<span style="color:white;">Drop Dead Diva</span>]]''
 
|title = ''[[Drop Dead Diva|<span style="color:white;">Drop Dead Diva</span>]]''
 +
|state = {{{state|autocollapse}}}
 
|above = [[Drop Dead Diva (season 1)|<span style="color:white;">Season 1</span>]] • [[Drop Dead Diva (season 2)|<span style="color:white;">Season 2</span>]] • [[Drop Dead Diva (season 3)|<span style="color:white;">Season 3</span>]] • [[Drop Dead Diva (season 4)|<span style="color:white;">Season 4</span>]]
 
|above = [[Drop Dead Diva (season 1)|<span style="color:white;">Season 1</span>]] • [[Drop Dead Diva (season 2)|<span style="color:white;">Season 2</span>]] • [[Drop Dead Diva (season 3)|<span style="color:white;">Season 3</span>]] • [[Drop Dead Diva (season 4)|<span style="color:white;">Season 4</span>]]
  
Line 17: Line 18:
 
|titlestyle=background: #DE6FA1; color: #ffffff;
 
|titlestyle=background: #DE6FA1; color: #ffffff;
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Comedy television navigational boxes|{{PAGENAME}}]]
 
[[Category:Comedy television navigational boxes|{{PAGENAME}}]]
 
[[Category:Drama television navigational boxes|{{PAGENAME}}]]
 
[[Category:Drama television navigational boxes|{{PAGENAME}}]]

Revision as of 04:13, 17 July 2012

Initial visibility: currently defaults to autocollapse

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

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