Difference between revisions of "Template:Alan Grant"

From blackwiki
Jump to navigation Jump to search
blackwiki>Cydebot
m (Robot - Moving category Speculative fiction author navigational boxes to Category:Speculative fiction writer navigational boxes per CFD at Wikipedia:Categories for discussion/Log/2012 December 3.)
Line 100: Line 100:
 
<!--Categories-->
 
<!--Categories-->
 
{{DEFAULTSORT:Grant, Alan}}
 
{{DEFAULTSORT:Grant, Alan}}
[[Category:Comics creator templates]]
+
[[Category:British comics creator templates]]
 
[[Category:Speculative fiction writer navigational boxes]]
 
[[Category:Speculative fiction writer navigational boxes]]
 
</noinclude>
 
</noinclude>

Revision as of 22:59, 4 April 2013

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Alan Grant|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Alan Grant|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Alan Grant|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 Alan Grant, sorted by article name. The sort can be changed by adding " |<name to be sorted on> ".

Example: {{Alan Grant|Last American, The}} would sort to "L" not "T".

The parameter: |type = can be added to the template. Active settings include "character", "script" and "work". Any of these three will currently place the article into Category:Works by Alan Grant in stead of the default comics category.

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