Difference between revisions of "Template:Margaret Atwood"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
(sort)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name = Novels by Margaret Atwood
+
| name     = Novels by Margaret Atwood
| title = Novels by [[Margaret Atwood]]
+
| title     = Novels by [[Margaret Atwood]]
 
| listclass = hlist
 
| listclass = hlist
| state = {{{state|uncollapsed}}}
+
| state     = {{{state|uncollapsed}}}
 +
 
 
| list1 =
 
| list1 =
 
* ''[[The Edible Woman]]'' (1969)
 
* ''[[The Edible Woman]]'' (1969)
Line 20: Line 21:
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:Canadian writers templates|Atwood, Margaret]]
+
{{DEFAULTSORT:Atwood, Margaret}}
[[Category:Novels by Margaret Atwood| {{PAGENAME}}]]
+
[[Category:Canadian writers templates]]
 +
[[Category:Novels by Margaret Atwood|τ]]
 
</noinclude>
 
</noinclude>

Revision as of 02:40, 2 December 2012

Initial visibility: currently defaults to autocollapse

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

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