Difference between revisions of "Template:80cc Motorcycle World Champions"

From blackwiki
Jump to navigation Jump to search
blackwiki>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
blackwiki>Cs-wolves
(for 3 champions, I don't think we require a 6-row high template.)
Line 3: Line 3:
 
|title = [[List of 50/80cc Motorcycle World Champions|80cc Motorcycle World Champions]]
 
|title = [[List of 50/80cc Motorcycle World Champions|80cc Motorcycle World Champions]]
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
|colwidth = 13em
+
|listclass = hlist
|padding = 2.5em
+
|list1 =  
 
+
* {{MGP|1984}}, {{MGP|1985}}: [[Stefan Dörflinger]]
|col1 = <div>
+
* {{MGP|1986}}, {{MGP|1987}}, {{MGP|1988}}: [[Jorge Martínez (motorcyclist)|Jorge Martínez]]
{{MGP|1984}} - [[Stefan Dörflinger]]<br/>
+
* {{MGP|1989}}: [[Manuel Herreros]]
{{MGP|1985}} - [[Stefan Dörflinger]]<br/>
 
{{MGP|1986}} - [[Jorge Martínez (motorcyclist)|Jorge Martínez]]<br/>
 
{{MGP|1987}} - [[Jorge Martínez (motorcyclist)|Jorge Martínez]]<br/>
 
{{MGP|1988}} - [[Jorge Martínez (motorcyclist)|Jorge Martínez]]<br/>
 
{{MGP|1989}} - [[Manuel Herreros]]<br/>
 
</div>
 
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}

Revision as of 11:32, 4 April 2015

Initial visibility: currently defaults to autocollapse

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

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