Difference between revisions of "Template:Kenyan Premier League"

From blackwiki
Jump to navigation Jump to search
imported>SportingFlyer
(Think I updated this for 2020 properly)
imported>SportingFlyer
(Still trying to get this to update properly)
 
Line 5: Line 5:
  
 
  | group1 = {{#switch:{{{1|{{CURRENTYEAR}}}}}
 
  | group1 = {{#switch:{{{1|{{CURRENTYEAR}}}}}
−
|2009|2010|2011|2012|2013|2014|2015|2016|2017|2018|2019=[[{{{1|{{CURRENTYEAR}}}}} Kenyan Premier League|{{{1|{{CURRENTYEAR}}}}}]] clubs
+
|2009|2010|2011|2012|2013|2014|2015|2016|2017|2018|2019–20=[[{{{1|{{CURRENTYEAR}}}}} Kenyan Premier League|{{{1|{{CURRENTYEAR}}}}}]] clubs
 
|#default=[[2019–20 Kenyan Premier League|2019–20]] clubs
 
|#default=[[2019–20 Kenyan Premier League|2019–20]] clubs
 
}}
 
}}
Line 183: Line 183:
 
*[[Wazito FC|Wazito]]
 
*[[Wazito FC|Wazito]]
 
*[[Zoo Kericho F.C.|Zoo Kericho]]
 
*[[Zoo Kericho F.C.|Zoo Kericho]]
−
| 2019 =
+
| 2018–19 =
 
*[[A.F.C. Leopards]]
 
*[[A.F.C. Leopards]]
 
*[[Bandari F.C. (Kenya)|Bandari]]
 
*[[Bandari F.C. (Kenya)|Bandari]]

Latest revision as of 05:17, 6 December 2019

Template documentation

Initial visibility: currently defaults to autocollapse

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

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

See also