Difference between revisions of "Template:Ferrari"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(navbox subgroup syntax update)
Line 5: Line 5:
 
  | bodyclass = hlist
 
  | bodyclass = hlist
 
  | group1 = [[List of Ferrari road cars|Cars]]
 
  | group1 = [[List of Ferrari road cars|Cars]]
  | list1 = {{Navbox subgroup
+
  | list1 = {{Navbox|subgroup
 
 
  | groupstyle = width:8em;
 
  | liststyle = width:auto;
 
  
 +
  | groupwidth = 8em
 
   | group1 = Current
 
   | group1 = Current
 
   | list1 =
 
   | list1 =
Line 75: Line 73:
  
 
  | group2 = [[List of Ferrari engines|Engines]]
 
  | group2 = [[List of Ferrari engines|Engines]]
  | list2 = {{Navbox subgroup
+
  | list2 = {{Navbox|subgroup
 
 
  | groupstyle = width:8em;
 
  | liststyle = width:auto;
 
  
 +
  | groupwidth = 8em
 
   | group1 = Current
 
   | group1 = Current
 
   | list1 =
 
   | list1 =
Line 97: Line 93:
  
 
  | group3 = Other
 
  | group3 = Other
  | list3 = {{Navbox subgroup
+
  | list3 = {{Navbox|subgroup
 
 
  | groupstyle = width:8em;
 
  | liststyle = width:auto;
 
  
 +
  | groupwidth = 8em
 
   | group1 = Museum
 
   | group1 = Museum
 
   | list1 =
 
   | list1 =

Revision as of 14:43, 30 August 2017

Initial visibility: currently defaults to autocollapse

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

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