Difference between revisions of "Template:Lethal Weapon"

From blackwiki
Jump to navigation Jump to search
imported>Charles Essie
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
|name=Lethal Weapon
 
|name=Lethal Weapon
 
|title=[[Lethal Weapon (film series)|''Lethal Weapon'']]
 
|title=[[Lethal Weapon (film series)|''Lethal Weapon'']]
 +
|state = {{{state|autocollapse}}}
 
|group1=Films
 
|group1=Films
 
|list1=''[[Lethal Weapon]]'' ([[Lethal Weapon (soundtrack)|Soundtrack]]) (1987) • ''[[Lethal Weapon 2]]'' (1989) • ''[[Lethal Weapon 3]]'' (1992) • ''[[Lethal Weapon 4]]'' (1998)
 
|list1=''[[Lethal Weapon]]'' ([[Lethal Weapon (soundtrack)|Soundtrack]]) (1987) • ''[[Lethal Weapon 2]]'' (1989) • ''[[Lethal Weapon 3]]'' (1992) • ''[[Lethal Weapon 4]]'' (1998)
Line 14: Line 15:
 
|list4=[[Lethal Weapon (video game)|Video Game]] • [[Lethal Weapon 3 (pinball)|Pinball]]
 
|list4=[[Lethal Weapon (video game)|Video Game]] • [[Lethal Weapon 3 (pinball)|Pinball]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Action film series navigational boxes|{{PAGENAME}}]]
 
[[Category:Action film series navigational boxes|{{PAGENAME}}]]
 
[[Category:Lethal Weapon|{{PAGENAME}}]]
 
[[Category:Lethal Weapon|{{PAGENAME}}]]

Revision as of 02:46, 25 July 2012

Initial visibility: currently defaults to autocollapse

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

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

de:Vorlage:Navigationsleiste Filme der Lethal Weapon-Reihe fr:Modèle:Palette L'Arme fatale it:Template:Arma letale sh:Šablon:Lethal Weapon uk:Шаблон:Смертельна зброя