Difference between revisions of "Template:Lego"

From blackwiki
Jump to navigation Jump to search
imported>GoTLG
m (Minor fix.)
imported>Christian75
(Direct link fixes)
Line 5: Line 5:
 
| bodyclass  = hlist
 
| bodyclass  = hlist
 
| above      =  
 
| above      =  
* ''[[Lego Group]]''
+
* ''[[The Lego Group|Lego Group]]''
 
* ''[[History of Lego]]''
 
* ''[[History of Lego]]''
 
* ''[[Lego timeline|Timeline]]''
 
* ''[[Lego timeline|Timeline]]''
Line 88: Line 88:
 
| group3  = Other products
 
| group3  = Other products
 
| list3    =
 
| list3    =
* [[Lego Board Games|Board Games]]
+
* [[Lego board games|Board Games]]
 
* [[Lego Cuusoo|Cuusoo]]
 
* [[Lego Cuusoo|Cuusoo]]
 
* [[LEGO Design byME|Design byME]]
 
* [[LEGO Design byME|Design byME]]

Revision as of 10:43, 9 September 2013

Template documentation[view] [edit] [history] [purge]

Usage

Initial visibility: currently defaults to autocollapse

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

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