Difference between revisions of "Template:Liga Portugal 2"

From blackwiki
Jump to navigation Jump to search
imported>Alexgreene87
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
| name  = Portuguese Segunda Liga
 
| name  = Portuguese Segunda Liga
 
| title  = [[Segunda Liga]] · [[2012–13 Segunda Liga|2012–13]]
 
| title  = [[Segunda Liga]] · [[2012–13 Segunda Liga|2012–13]]
 +
| state  = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 
| list1  =
 
| list1  =
Line 27: Line 28:
 
* [[Vitória S.C.|Vitória de Guimarães B]]
 
* [[Vitória S.C.|Vitória de Guimarães B]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Portugal football templates]]
 
[[Category:Portugal football templates]]
 
[[de:Vorlage:Navigationsleiste Vereine der 2. portugiesischen Liga (Liga de Honra)]]
 
[[de:Vorlage:Navigationsleiste Vereine der 2. portugiesischen Liga (Liga de Honra)]]

Revision as of 02:08, 31 January 2013

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Liga Portugal 2|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Liga Portugal 2|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Liga Portugal 2|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. de:Vorlage:Navigationsleiste Vereine der 2. portugiesischen Liga (Liga de Honra) fr:Modèle:Palette Équipes du championnat du Portugal de football D2 it:Template:Segunda Liga pl:Szablon:Liga de Honra ru:Шаблон:Сегунда лига