Difference between revisions of "Template:C. S. Lewis"

From blackwiki
Jump to navigation Jump to search
imported>Randy Kryn
(Non-fiction add 'The Weight of Glory and Other Addresses (1965)')
imported>Woodensuperman
(Category WP:EGGs)
Line 2: Line 2:
 
| name  = C. S. Lewis
 
| name  = C. S. Lewis
 
| state  = {{{state<includeonly>|collapsed</includeonly>}}}
 
| state  = {{{state<includeonly>|collapsed</includeonly>}}}
| title  = [[:Category:Works by C. S. Lewis|Works]] by [[C. S. Lewis]]
+
| title  = Works by [[C. S. Lewis]]
 
| listclass = hlist
 
| listclass = hlist
  
| groupstyle = padding:0.35em 1.0em; line-height:1.1em;
+
| group1 = Poetry
 
 
| group1 = [[:Category:Poetry by C. S. Lewis|Poetry]]
 
 
| list1  =  
 
| list1  =  
 
* ''[[Spirits in Bondage]]'' <small>(1919)</small>
 
* ''[[Spirits in Bondage]]'' <small>(1919)</small>
Line 40: Line 38:
 
}}
 
}}
  
| group3 = [[:Category:Books by C. S. Lewis|Non-fiction]]
+
| group3 = Non-fiction
 
| list3  =  
 
| list3  =  
 
* ''[[The Allegory of Love]]'' <small>(1936)</small>
 
* ''[[The Allegory of Love]]'' <small>(1936)</small>

Revision as of 10:17, 1 August 2017

Initial visibility: currently defaults to autocollapse

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

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