Difference between revisions of "Template:Lego"

From blackwiki
Jump to navigation Jump to search
imported>Bryanbonahoom
m (LEGO is a trademark and is all caps. It should never be "Lego". LEGO clearly defines this on their web site. Changed all occurrences of Lego to LEGO. Same for LEGOLAND)
imported>Bryanbonahoom
m (Missed a couple of LEGO occurrences)
Line 5: Line 5:
 
| bodyclass  = hlist
 
| bodyclass  = hlist
 
| above      =  
 
| above      =  
* [[The Lego Group|LEGO Group]]
+
* [[The LEGO Group|LEGO Group]]
* [[History of Lego]]
+
* [[History of LEGO]]
 
* [[LEGO in popular culture|In popular culture]]
 
* [[LEGO in popular culture|In popular culture]]
 
* [[LEGO timeline|Timeline]]
 
* [[LEGO timeline|Timeline]]

Revision as of 14:49, 23 March 2016

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.