Difference between revisions of "Template:Lenovo"

From blackwiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name      = Lenovo
 
|name      = Lenovo
|title    = [[Lenovo]]
+
| basestyle = background:#01645C;color:white;
|image    = [[File:Lenovo Beijing R&D Campus.JPG|150px|Lenovo Beijing R&D Campus]]
+
| title    = [[Lenovo|{{color|white|Lenovo}}]]
 +
| image    = [[File:Lenovo logo 2015.svg|150px|Lenovo]]
 
| state    = {{{state<includeonly>|collapsed</includeonly>}}}
 
| state    = {{{state<includeonly>|collapsed</includeonly>}}}
|bodyclass = hlist
+
| bodyclass = hlist
 +
| titlestyle = background:#ff0000; color:#FFFFFF; border:2px solid #ff0000;
 +
| basestyle = background:#ff0000;
 +
| selected = {{{1|}}}
 +
| titlestyle = background: #ff0000;
 +
| groupstyle = background: #FFFFFF;
 +
| abovestyle = background: #FFFFFF;
 +
| belowstyle = background: #ff0000;
  
 +
| groupstyle = background:#ff0000;
 
| group1 = Products
 
| group1 = Products
 
| list1 =
 
| list1 =
 
   {{navbox subgroup
 
   {{navbox subgroup
  
 +
| groupstyle = background:#ff0000;
 
| group1 = Desktops
 
| group1 = Desktops
 
| list1 =
 
| list1 =
Line 20: Line 30:
 
*[[ThinkCentre Edge|Edge Series]]
 
*[[ThinkCentre Edge|Edge Series]]
  
 +
| groupstyle = background:#ff0000;
 
|group2 = Home/home office
 
|group2 = Home/home office
 
|list2 =  
 
|list2 =  
Line 30: Line 41:
 
}}
 
}}
  
 +
| groupstyle = background:#ff0000;
 
| group2 = Laptops
 
| group2 = Laptops
 
| list2 =
 
| list2 =
Line 42: Line 54:
 
*[[ThinkPad L Series|L Series]]
 
*[[ThinkPad L Series|L Series]]
  
 +
| groupstyle = background:#ff0000;
 
|group2 = Home/home office|list2 =  
 
|group2 = Home/home office|list2 =  
 
*[[IdeaPad]]
 
*[[IdeaPad]]
Line 96: Line 109:
 
* {{icon|category}} '''[[:Category:Lenovo|Category]]'''
 
* {{icon|category}} '''[[:Category:Lenovo|Category]]'''
 
* {{Icon|Commons}} [[commons:Category:Lenovo|'''Commons''']]
 
* {{Icon|Commons}} [[commons:Category:Lenovo|'''Commons''']]
 +
|below={{icon|category}} [[:Category:Lenovo|{{white|Category}}]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Computer hardware navigational boxes]]
 
[[Category:Computer hardware navigational boxes]]
 
[[Category:China company templates]]
 
[[Category:China company templates]]
 
</noinclude>
 
</noinclude>

Revision as of 15:08, 3 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.