Difference between revisions of "Template:Association football whole"

From blackwiki
Jump to navigation Jump to search
blackwiki>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
blackwiki>R'n'B
Line 19: Line 19:
 
* Law 12: [[Foul (association football)|Foul]]s and [[Misconduct (association football)|Misconduct]]  
 
* Law 12: [[Foul (association football)|Foul]]s and [[Misconduct (association football)|Misconduct]]  
 
* Law 13: Free kicks ([[Direct free kick|direct]] and [[Indirect free kick|indirect]])  
 
* Law 13: Free kicks ([[Direct free kick|direct]] and [[Indirect free kick|indirect]])  
* Law 14: [[Penalty kick|The Penalty Kick]]  
+
* Law 14: [[Penalty kick (association football)|The Penalty Kick]]  
 
* Law 15: [[Throw-in|The Throw-In]]  
 
* Law 15: [[Throw-in|The Throw-In]]  
 
* Law 16: [[Goal kick|The Goal Kick]]   
 
* Law 16: [[Goal kick|The Goal Kick]]   

Revision as of 18:43, 12 December 2016

Initial visibility: currently defaults to autocollapse

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

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