Difference between revisions of "Template:Afghanistan Premier League"

From blackwiki
Jump to navigation Jump to search
blackwiki>Khestwol
(Fix grammar)
Line 2: Line 2:
 
| name      = Afghanistan Premier League
 
| name      = Afghanistan Premier League
 
| title      = [[Afghanistan Premier League|{{color|white|Afghanistan Premier League}}]]
 
| title      = [[Afghanistan Premier League|{{color|white|Afghanistan Premier League}}]]
| basestyle  = background:red;color:#ffffff
+
| basestyle  = background:#D32011;color:white
 
| state      = {{{state|autocollapse}}}
 
| state      = {{{state|autocollapse}}}
 
| bodyclass  = hlist
 
| bodyclass  = hlist
| groupstyle = background:darkslategray
+
| groupstyle = background:black
 
| image      =
 
| image      =
  
| group1 = [[List of Afghanistan Premier League seasons and results|{{color|white|Seasons}}]]
+
| group1 = [[List of Afghanistan Premier League seasons and results|{{color|#007A36|Seasons}}]]
 
| list1  =
 
| list1  =
 
*[[2018–19 Afghanistan Premier League|2018–19]]
 
*[[2018–19 Afghanistan Premier League|2018–19]]
Line 31: Line 31:
 
*[[2018–19 Afghanistan Premier League players draft|2018–19]]
 
*[[2018–19 Afghanistan Premier League players draft|2018–19]]
  
|group6 = [[List of Afghanistan Premier League records and statistics|{{color|white|Records and statistics}}]]
+
|group6 = [[List of Afghanistan Premier League records and statistics|{{color|#007A36|Records and statistics}}]]
 
|list6 =
 
|list6 =
 
*[[List of Afghanistan Premier League batting records|Batting]]
 
*[[List of Afghanistan Premier League batting records|Batting]]

Revision as of 05:03, 7 February 2019

Initial visibility: currently defaults to autocollapse

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

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