Difference between revisions of "Template:Johan Cruyff series"

From blackwiki
Jump to navigation Jump to search
(Long template)
imported>Hocimi
Line 1: Line 1:
 
{{Sidebar with collapsible lists
 
{{Sidebar with collapsible lists
| name = Johan Cruyff
+
|name = Johan Cruyff series
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 +
|topimage      = [[File:Ajax-selectie presenteert zich aan de pers, nummer 15 Heinz Stuy, nummer 16 Ruud Krol, nummer 13 Johan Cruyff, nummer 14 Wim Suurbier (allen koppen).jpg|75px|border]]
 
|width = 20em
 
|width = 20em
 
|bodystyle = padding: 0.3em; float:right; margin-left:10px; border: 1px solid green; background: #FFF8C6; text-align:center
 
|bodystyle = padding: 0.3em; float:right; margin-left:10px; border: 1px solid green; background: #FFF8C6; text-align:center

Revision as of 09:22, 4 March 2020

{{documentation|content= Initial visibility: currently defaults to autocollapse

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

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