Difference between revisions of "Template:Lego"

From blackwiki
Jump to navigation Jump to search
imported>KrakatoaKatie
m (Reverted edits by 68.4.42.174 (talk) to last version by GoTLG)
imported>MSGJ
(awful color scheme ... default colors seem to be much better!)
Line 1: Line 1:
 
{{ navbox
 
{{ navbox
 
| name      = Lego
 
| name      = Lego
| title      = <font color=white>[[Lego]]</font>
+
| title      = [[Lego]]
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
| titlestyle = background: #ED1C24;
 
| groupstyle = background: #ED1C24;
 
| abovestyle = background: #ED1C24; color: white;
 
| belowstyle = background: #ED1C24; color: white;
 
 
| bodyclass  = hlist
 
| bodyclass  = hlist
 
| above      =  
 
| above      =  
* ''<font color=white>[[Lego Group]]</font>''
+
* ''[[Lego Group]]''
* ''<font color=white>[[History of Lego]]</font>''
+
* ''[[History of Lego]]''
* ''<font color=white>[[Lego timeline|Timeline]]</font>''
+
* ''[[Lego timeline|Timeline]]''
* ''<font color=white>[[Lego.com]]</font>''
+
* ''[[Lego.com]]''
|groupstyle  = background: #ED1C24; color: white;
+
| group1 = ''[[List of Lego themes|Product ranges]]''
 
 
| group1 = ''<font color=white>[[List of Lego themes|Product ranges]]</font>''
 
 
| list1  = {{ navbox subgroup
 
| list1  = {{ navbox subgroup
| groupstyle  = background: #ED1C24; color: white;
+
| group1  =''[[List of Lego themes#Current themes|Current themes]]''
| group1  =''<font color=white>[[List of Lego themes#Current themes|Current themes]]</font>''
 
 
| list1    =
 
| list1    =
 
* [[Lego Architecture|Architecture]]
 
* [[Lego Architecture|Architecture]]
Line 47: Line 40:
 
* [[Lego The Lord of the Rings|The Lord of the Rings]]
 
* [[Lego The Lord of the Rings|The Lord of the Rings]]
 
* [[Lego The Simpsons|The Simpsons]]
 
* [[Lego The Simpsons|The Simpsons]]
| group2  = ''<font color=white>[[List of Lego themes#Discontinued themes|Discontinued themes]]</font>''
+
| group2  = ''[[List of Lego themes#Discontinued themes|Discontinued themes]]''
 
| list2    =
 
| list2    =
 
* [[Lego 4+|4+]]
 
* [[Lego 4+|4+]]
Line 110: Line 103:
 
* [[Jørgen Vig Knudstorp]]
 
* [[Jørgen Vig Knudstorp]]
  
| group3 = ''<font color=white>[[Legoland]]</font>''
+
| group3 = ''[[Legoland]]''
 
| list3  =
 
| list3  =
 
* [[Legoland Billund]]
 
* [[Legoland Billund]]

Revision as of 20:00, 1 September 2013

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.