Difference between revisions of "Template:Diary of a Wimpy Kid"

From blackwiki
Jump to navigation Jump to search
(Do not add book 8)
Line 4: Line 4:
 
|bodyclass= hlist
 
|bodyclass= hlist
 
|state= {{{state|}}}
 
|state= {{{state|}}}
|colheaderstyle = vertical-align: top; width:14.286%; padding-top: 0.3em; padding-bottom: 0.3 em;
 
  
 
|col1width = 10%
 
|col1width = 10%
Line 13: Line 12:
 
|col6width = 10%
 
|col6width = 10%
 
|col7width = 10%
 
|col7width = 10%
 +
|col8width = 10%
  
 
|col1header = ''[[Diary of a Wimpy Kid]]''
 
|col1header = ''[[Diary of a Wimpy Kid]]''
Line 21: Line 21:
 
|col6header = ''[[Diary of a Wimpy Kid: Cabin Fever|Cabin Fever]]''
 
|col6header = ''[[Diary of a Wimpy Kid: Cabin Fever|Cabin Fever]]''
 
|col7header = ''[[Diary of a Wimpy Kid: The Third Wheel|The Third Wheel]]''
 
|col7header = ''[[Diary of a Wimpy Kid: The Third Wheel|The Third Wheel]]''
 +
|col8header = ''[[Diary of a Wimpy Kid: Hard Luck|Hard Luck]]''
  
 
| below =
 
| below =

Revision as of 11:47, 8 August 2013

Initial visibility: currently defaults to autocollapse

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

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