Difference between revisions of "Template:Frank Miller"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name      = Frank Miller
 
|name      = Frank Miller
|state      = autocollapse
+
|state      = {{{state|autocollapse}}}
 
|titlestyle = background-color:#eedde2
 
|titlestyle = background-color:#eedde2
 
|title      = [[Frank Miller (comics)|Frank Miller]]
 
|title      = [[Frank Miller (comics)|Frank Miller]]
Line 66: Line 66:
 
     |work = [[Category:Works by Frank Miller]]
 
     |work = [[Category:Works by Frank Miller]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
The parameter: '''<tt>|type = </tt>''' can be added to the template. Setting include:
 
The parameter: '''<tt>|type = </tt>''' can be added to the template. Setting include:
 
* "comic" which will place the article into [[:Category:Comics by Frank Miller]], and
 
* "comic" which will place the article into [[:Category:Comics by Frank Miller]], and

Revision as of 04:39, 1 October 2012

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Frank Miller|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Frank Miller|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Frank Miller|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. The parameter: |type = can be added to the template. Setting include:

Please note that:

  • The sorting will be by the pagename or the default set with {{DEFAULTSORT}}.
  • With normal placement of the navigation template, the category will precede "manually" added categories. Care should be taken.

ru:Шаблон:Фрэнк Миллер sh:Šablon:Frank Miller