Difference between revisions of "Template:Lenovo"

From blackwiki
Jump to navigation Jump to search
imported>Wikid77
(fix 3 duplicate parameters by undid revision 763712381 by 2601:241:200:5F55:FD:C2E6:F4D9:DF12 (talk))
Line 5: Line 5:
 
| state    = {{{state<includeonly>|collapsed</includeonly>}}}
 
| state    = {{{state<includeonly>|collapsed</includeonly>}}}
 
| bodyclass = hlist
 
| bodyclass = hlist
| titlestyle = background:#ff0000; color:#FFFFFF; border:2px solid #ff0000;
+
| <!--titlestyle = background:#ff0000; color:#FFFFFF; border:2px solid #ff0000;-->
 
| basestyle = background:#ff0000;
 
| basestyle = background:#ff0000;
 
| selected = {{{1|}}}
 
| selected = {{{1|}}}
 
| titlestyle = background: #ff0000;
 
| titlestyle = background: #ff0000;
| groupstyle = background: #FFFFFF;
 
 
| abovestyle = background: #FFFFFF;
 
| abovestyle = background: #FFFFFF;
 
| belowstyle = background: #ff0000;
 
| belowstyle = background: #ff0000;
Line 22: Line 21:
 
| list1 =
 
| list1 =
 
   {{navbox subgroup
 
   {{navbox subgroup
| groupstyle = background:#ff0000;
 
 
|group1 = Business
 
|group1 = Business
 
|list1 =  
 
|list1 =  
Line 30: Line 28:
 
*[[ThinkCentre Edge|Edge Series]]
 
*[[ThinkCentre Edge|Edge Series]]
  
| groupstyle = background:#ff0000;
 
 
|group2 = Home/home office
 
|group2 = Home/home office
 
|list2 =  
 
|list2 =  

Revision as of 23:27, 4 February 2017

Initial visibility: currently defaults to autocollapse

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

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