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

From blackwiki
Jump to navigation Jump to search
imported>CabbagePotato
(Converted to {{Navbox}})
Line 1: Line 1:
{{Navbox with columns
+
{{Navbox
| name = Diary of a Wimpy Kid
+
| name       = Diary of a Wimpy Kid
| title = The [[Diary of a Wimpy Kid (series)|''Diary of a Wimpy Kid'']] series by [[Jeff Kinney (writer)|Jeff Kinney]]
+
| title     = The [[Diary of a Wimpy Kid (series)|''Diary of a Wimpy Kid'']] series by [[Jeff Kinney (writer)|Jeff Kinney]]
| bodyclass = hlist
+
| bodyclass = hlist
| state = {{{state|}}}
+
| state     = {{{state|}}}
  
| col1width = 10%
+
| group1    = Novels
| col2width = 10%
+
| list1      =
| col3width = 10%
+
* ''[[Diary of a Wimpy Kid]]''
| col4width = 10%
+
* ''[[Diary of a Wimpy Kid: Rodrick Rules|Rodrick Rules]]''
| col5width = 10%
+
* ''[[Diary of a Wimpy Kid: The Last Straw|The Last Straw]]''
 +
* ''[[Diary of a Wimpy Kid: Dog Days (book)|Dog Days]]''
 +
* ''[[Diary of a Wimpy Kid: The Ugly Truth|The Ugly Truth]]''
 +
* ''[[Diary of a Wimpy Kid: Cabin Fever|Cabin Fever]]''
 +
* ''[[Diary of a Wimpy Kid: The Third Wheel|The Third Wheel]]''
 +
* ''[[Diary of a Wimpy Kid: Hard Luck|Hard Luck]]''
 +
* ''[[Diary of a Wimpy Kid: The Long Haul|The Long Haul]]''
 +
* ''[[Diary of a Wimpy Kid: Old School|Old School]]''
  
| col1header = ''[[Diary of a Wimpy Kid]]''
+
| group2    = [[List of Diary of a Wimpy Kid characters|Characters]]
| col2header = ''[[Diary of a Wimpy Kid: Rodrick Rules|Rodrick Rules]]''
+
| list2      =
| col3header = ''[[Diary of a Wimpy Kid: The Last Straw|The Last Straw]]''
+
* [[Greg Heffley]]
| col4header = ''[[Diary of a Wimpy Kid: Dog Days (book)|Dog Days]]''
 
| col5header = ''[[Diary of a Wimpy Kid: The Ugly Truth|The Ugly Truth]]''
 
  
| col1footer = ''[[Diary of a Wimpy Kid: Cabin Fever|Cabin Fever]]''
+
| group3    = [[Diary of a Wimpy Kid (film series)|Film series]]
| col2footer = ''[[Diary of a Wimpy Kid: The Third Wheel|The Third Wheel]]''
+
| list3      =
| col3footer = ''[[Diary of a Wimpy Kid: Hard Luck|Hard Luck]]''
+
* ''[[Diary of a Wimpy Kid (film)|Diary of a Wimpy Kid]]''
| col4footer = ''[[Diary of a Wimpy Kid: The Long Haul|The Long Haul]]''
+
* ''[[Diary of a Wimpy Kid: Rodrick Rules (film)|Rodrick Rules]]''
| col5footer = ''[[Diary of a Wimpy Kid: Old School|Old School]]''
+
* ''[[Diary of a Wimpy Kid: Dog Days (film)|Dog Days]]''
 
 
| below =
 
* {{Icon|Category}} [[:Category:Diary of a Wimpy Kid (series)|Category]]
 
* See also: [[List of Diary of a Wimpy Kid characters|Characters]]
 
** [[Greg Heffley]]
 
* [[Diary of a Wimpy Kid (film series)|Film series]]
 
** ''[[Diary of a Wimpy Kid (film)|Diary of a Wimpy Kid]]'', ''[[Diary of a Wimpy Kid: Rodrick Rules (film)|Rodrick Rules]]'', ''[[Diary of a Wimpy Kid: Dog Days (film)|Dog Days]]''
 
  
 +
| below      =
 +
* {{Icon|Category}} '''[[:Category:Diary of a Wimpy Kid (series)|Category]]'''
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Book series navigational boxes]]
 
[[Category:Book series navigational boxes]]
 
 
</noinclude>
 
</noinclude>

Revision as of 08:33, 28 February 2016

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.