Difference between revisions of "Template:Liverpool F.C. 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:#dd0000;color:#fff;border:1px solid white;
 
|basestyle = background:#dd0000;color:#fff;border:1px solid white;
 
|title = [[Liverpool F.C.|<span style="color: white">Liverpool F.C.</span>]] matches
 
|title = [[Liverpool F.C.|<span style="color: white">Liverpool F.C.</span>]] matches
 +
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 
|name = Liverpool F.C. matches
 
|name = Liverpool F.C. matches
Line 92: Line 93:
 
* [[Liverpool F.C. 4–3 Newcastle United F.C. (1996)|Liverpool 4–3 Newcastle (1996)]]
 
* [[Liverpool F.C. 4–3 Newcastle United F.C. (1996)|Liverpool 4–3 Newcastle (1996)]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
  
 
[[Category:Liverpool F.C. templates|Matches]]
 
[[Category:Liverpool F.C. templates|Matches]]

Revision as of 03:42, 2 February 2013

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Liverpool F.C. matches|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Liverpool F.C. matches|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Liverpool F.C. 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. ru:Шаблон:Матчи ФК Ливерпуль tr:Şablon:Liverpool FC maçları