Template:James Fenimore Cooper

From blackwiki
Jump to navigation Jump to search

{{Navbox | name = James Fenimore Cooper | title = Works by James Fenimore Cooper | listclass = hlist | state = autocollapse

|group1=Leatherstocking Tales novels |list1=

|group2=Other novels |list2=

|group3= Short stories and Plays |list3=

|group4=Non-fiction |list4=

|group5=Political writings |list5=

|group6=Travel writings |list6=

| belowclass = hlist | below =

}} Initial visibility: currently defaults to autocollapse

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

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