Difference between revisions of "Template:Cormac McCarthy"

From blackwiki
Jump to navigation Jump to search
imported>Natg 19
imported>Woodensuperman
Line 1: Line 1:
 
{{navbox
 
{{navbox
 
| name      = Cormac McCarthy
 
| name      = Cormac McCarthy
| title    = [[:Category:Works by Cormac McCarthy|Works]] of [[Cormac McCarthy]]
+
| title    = Works by [[Cormac McCarthy]]
 
| state    = {{{state|autocollapse}}}
 
| state    = {{{state|autocollapse}}}
 
| listclass = hlist
 
| listclass = hlist
Line 11: Line 11:
 
* ''[[Cities of the Plain (novel)|Cities of the Plain]]'' (1998)
 
* ''[[Cities of the Plain (novel)|Cities of the Plain]]'' (1998)
  
| group2 = [[:Category:Novels by Cormac McCarthy|Other novels]]
+
| group2 = Other novels
 
|  list2 =
 
|  list2 =
 
* ''[[The Orchard Keeper]]'' (1965)
 
* ''[[The Orchard Keeper]]'' (1965)
Line 27: Line 27:
 
* ''[[The Counselor]]'' (2013)
 
* ''[[The Counselor]]'' (2013)
  
| group4 = [[:Category:Plays by Cormac McCarthy|Plays]]
+
| group4 = Plays
 
|  list4 =
 
|  list4 =
 
* ''[[The Stonemason]]'' (1995)
 
* ''[[The Stonemason]]'' (1995)
Line 53: Line 53:
 
[[Category:Novelist navigational boxes]]
 
[[Category:Novelist navigational boxes]]
 
[[Category:Dramatist and playwright navigational boxes]]
 
[[Category:Dramatist and playwright navigational boxes]]
[[Category:Cormac McCarthy|τ]]
 
 
</noinclude>
 
</noinclude>

Revision as of 13:58, 28 November 2016

Initial visibility: currently defaults to autocollapse

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

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