Difference between revisions of "Template:Ligue 2 seasons"

From blackwiki
Jump to navigation Jump to search
imported>Stidpmi
m
imported>WOSlinker
(tidy style for better HTML5 compatibility)
Line 3: Line 3:
 
| title = [[Ligue 2|Division 2 / Ligue 2]] seasons
 
| title = [[Ligue 2|Division 2 / Ligue 2]] seasons
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
|listclass = hlist
+
| listclass = hlist
| group1 = <center>Division 2<br><center>(1933–2002)</center>
+
| groupstyle = text-align:center;
 +
| group1 = Division 2<br>(1933–2002)
 
| list1 =
 
| list1 =
 
* [[1933–34 French Division 2|1933–34]]
 
* [[1933–34 French Division 2|1933–34]]
Line 76: Line 77:
 
* [[2001–02 French Division 2|2001–02]]
 
* [[2001–02 French Division 2|2001–02]]
  
| group2 = <center>Ligue 2<br><center>(2002–present)</center>
+
| group2 = Ligue 2<br>(2002–present)
 
| list2 =
 
| list2 =
 
* [[2002–03 Ligue 2|2002–03]]
 
* [[2002–03 Ligue 2|2002–03]]
Line 96: Line 97:
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:France football league navigational boxes]]
 
[[Category:France football league navigational boxes]]
 
 
</noinclude>
 
</noinclude>

Revision as of 13:58, 25 February 2015

Initial visibility: currently defaults to autocollapse

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

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