Template:Mark Millar

From blackwiki
Revision as of 04:43, 1 October 2012 by imported>TonyTheTiger (adding {{collapsible option}} and/or {{{state}}})
Jump to navigation Jump to search

Initial visibility: currently defaults to autocollapse

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

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

This template, since it only covers either comics titles or storylines, will automatically add the article to Category:Comics by Mark Millar, sorted by article name. The sort can be changed by adding " |<name to be sorted on> ".

Example: {{Mark Millar|Authority, The}} would sort to "A" not "T".

The parameter: |type = can be added to the template. Active settings include "film" and "work". Any of these two will currently place the article into Category:Works by Mark Millar in stead of the default comics category. "none" can also be set to prevent autocategorization.

Please note that with normal placement of the navigation template, the category will precede "manually" added categories. Care should be taken.