Difference between revisions of "Template:Gibson Les Paul submodels"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
 
(4 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
| name = Gibson Les Paul submodels
 
| name = Gibson Les Paul submodels
 
| title = [[Gibson Les Paul]] submodels
 
| title = [[Gibson Les Paul]] submodels
| list1  = [[Gibson Les Paul Custom|Custom ("Black Beauty")]]{{·}} [[Gibson Les Paul Doublecut|Doublecut]]{{·}} [[Gibson Les Paul Junior|Junior]]{{·}} [[Gibson Melody Maker#Les Paul Melody Maker|Melody Maker]]{{·}} [[Gibson Les Paul|Standard]]{{·}} [[Gibson Les Paul Studio|Studio]]{{·}} [[Gibson Robot Guitar|Robot]]
+
| state = {{{state|autocollapse}}}
 +
|listclass = hlist
 +
| list1  =
 +
* [[Gibson Les Paul Custom|Custom]]
 +
* [[Gibson Les Paul Doublecut|Doublecut]]
 +
* [[Gibson Les Paul Junior|Junior]]
 +
* [[Gibson Melody Maker#Les Paul Melody Maker|Melody Maker]]
 +
* [[Gibson Les Paul|Standard]]
 +
* [[Gibson Les Paul Studio|Studio]]
 +
* [[Gibson Robot Guitar|Robot]]
 +
* [[Gibson Dark Fire|Dark Fire]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:Musical instrument templates]]
 
[[Category:Gibson Les Paul submodels]]
 
[[Category:Gibson Les Paul submodels]]
 
</noinclude>
 
</noinclude>

Latest revision as of 03:56, 20 November 2012

Initial visibility: currently defaults to autocollapse

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

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