Difference between revisions of "Template:K.A.A. Gent matches"

From blackwiki
Jump to navigation Jump to search
imported>Mustafaalmas
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
|basestyle =background-color: #0067D6; color: white;border:1px solid #0067D6;
 
|basestyle =background-color: #0067D6; color: white;border:1px solid #0067D6;
 
|title = [[K.A.A. Gent|<span style="color: white">K.A.A. Gent</span>]] matches
 
|title = [[K.A.A. Gent|<span style="color: white">K.A.A. Gent</span>]] matches
 +
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 
|name = K.A.A. Gent matches
 
|name = K.A.A. Gent matches
Line 15: Line 16:
 
* [[2010 Belgian Super Cup|2010]]
 
* [[2010 Belgian Super Cup|2010]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
  
 
[[Category:K.A.A. Gent templates|Matches]]
 
[[Category:K.A.A. Gent templates|Matches]]
 
[[Category:Association football matches navigational boxes by teams:Belgium|Gent]]
 
[[Category:Association football matches navigational boxes by teams:Belgium|Gent]]
 
</noinclude>
 
</noinclude>

Revision as of 02:31, 18 March 2013

Initial visibility: currently defaults to autocollapse

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

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