Difference between revisions of "Template:Athletics national champions"

From blackwiki
Jump to navigation Jump to search
blackwiki>Sillyfolkboy
(refine cat)
blackwiki>NSH002
(tidy up + more accurate description in title)
Line 1: Line 1:
{{navbox
+
{{Navbox
|name=Athletics national champions
+
| name = Athletics national champions
|title=List of national champions in [[Athletics (sport)|athletics]]  
+
| title = Lists of national champions in [[Athletics (sport)|athletics]]
|groupstyle = text-align: center;
+
| state = {{{state|}}}
|liststyle = text-align: center;
+
| listclass = hlist
|listclass = hlist
 
  
|group1=Men's
+
| groupstyle = text-align: center;
|list1=
+
| liststyle = text-align: center;
 +
 
 +
| group1 = Men's
 +
| list1 =
 
* [[List of 100 metres national champions (men)|100 m]]
 
* [[List of 100 metres national champions (men)|100 m]]
 
* [[List of 200 metres national champions (men)|200 m]]
 
* [[List of 200 metres national champions (men)|200 m]]
Line 33: Line 35:
 
* [[List of javelin throw national champions (men)|Javelin throw]]
 
* [[List of javelin throw national champions (men)|Javelin throw]]
 
* [[List of decathlon national champions (men)|Decathlon]]
 
* [[List of decathlon national champions (men)|Decathlon]]
|group2=Women's
+
 
|list2=
+
| group2 = Women's
 +
| list2 =
 
* [[List of 100 metres national champions (women)|100 m]]
 
* [[List of 100 metres national champions (women)|100 m]]
 
* [[List of 200 metres national champions (women)|200 m]]
 
* [[List of 200 metres national champions (women)|200 m]]
Line 60: Line 63:
 
* [[List of javelin throw national champions (women)|Javelin throw]]
 
* [[List of javelin throw national champions (women)|Javelin throw]]
 
* [[List of heptathlon national champions (women)|Heptathlon]]
 
* [[List of heptathlon national champions (women)|Heptathlon]]
 +
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:National athletics champions templates| ]]
 
[[Category:National athletics champions templates| ]]
 
</noinclude>
 
</noinclude>

Revision as of 05:53, 4 June 2015

Initial visibility: currently defaults to autocollapse

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

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