Difference between revisions of "Template:J. D. Salinger"

From blackwiki
Jump to navigation Jump to search
imported>Woodensuperman
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name = J. D. Salinger
 
| name = J. D. Salinger
| title = [[:Category:Works by J. D. Salinger|Works]] by or about [[J. D. Salinger]]
+
| title = [[J. D. Salinger]]
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
 
| listclass = hlist
 
| listclass = hlist
  
| group1 = [[:Category:Works by J. D. Salinger|Novel]]
+
| group1 = Novel
 
| list1 =
 
| list1 =
 
* ''[[The Catcher in the Rye]]''  
 
* ''[[The Catcher in the Rye]]''  
  
| group2 = [[:Category:Short story collections by J. D. Salinger|Short story collections]]
+
| group2 = Short story collections
 
| list2 =
 
| list2 =
 
* ''[[Nine Stories (Salinger)|Nine Stories]]''
 
* ''[[Nine Stories (Salinger)|Nine Stories]]''
Line 15: Line 15:
 
* ''[[Raise High the Roof Beam, Carpenters and Seymour: An Introduction]]''
 
* ''[[Raise High the Roof Beam, Carpenters and Seymour: An Introduction]]''
  
| group3 = [[:Category:Short stories by J. D. Salinger|Short stories]]
+
| group3 = Short stories
 
| list3 =
 
| list3 =
 
* "[[Blue Melody]]"
 
* "[[Blue Melody]]"
Line 53: Line 53:
 
|list4 =  
 
|list4 =  
 
* ''[[Salinger (film)|Salinger]]'' (2013) ([[Salinger (book)|companion biography]])
 
* ''[[Salinger (film)|Salinger]]'' (2013) ([[Salinger (book)|companion biography]])
 +
 
|belowclass = hlist
 
|belowclass = hlist
 
|below=
 
|below=
* '''{{Icon|Book}} [[Book:J. D. Salinger]]'''
+
* {{Icon|Book}} [[Book:J. D. Salinger|Book]]
* '''{{Icon|Category}} [[:Category:Works by J. D. Salinger]]'''
+
* {{Icon|Category}} [[:Category:Works by J. D. Salinger|Category]]
* '''{{Icon|Portal}} [[Portal:Literature]]'''
+
 
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
Line 64: Line 65:
 
[[Category:Novelist navigational boxes]]
 
[[Category:Novelist navigational boxes]]
 
[[Category:Short story writer navigational boxes]]
 
[[Category:Short story writer navigational boxes]]
[[Category:Works by writer]]
 
  
 
</noinclude>
 
</noinclude>

Revision as of 11:53, 29 July 2015

Initial visibility: currently defaults to autocollapse

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

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