Difference between revisions of "Template:Mark Millar"

From blackwiki
Jump to navigation Jump to search
imported>Captain Assassin!
(Kingsman: The Golden Circle)
imported>Woodensuperman
(Inappropriate use of template to categorize articles. See WP:TCAT)
Line 75: Line 75:
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
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 " <tt>|<name to be sorted on><tt> ".
 
 
::'''Example''': <nowiki>{{Mark Millar|Authority, The}}</nowiki> would sort to "A" not "T".
 
 
The parameter: '''<tt>|type = </tt>''' 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.
 
 
 
[[Category:British comics creator templates]]
 
[[Category:British comics creator templates]]
  
 
</noinclude>
 
</noinclude>

Revision as of 13:10, 26 May 2016

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.