Difference between revisions of "Template:Acer Inc."

From blackwiki
Jump to navigation Jump to search
Line 13: Line 13:
 
| abovestyle = background: #FFFFFF;
 
| abovestyle = background: #FFFFFF;
 
| belowstyle = background: #32CD32;
 
| belowstyle = background: #32CD32;
 
| groupstyle = background:#32CD32;
 
| bodyclass = hlist
 
  {{navbox subgroup
 
  
 
| groupstyle = background:#32CD32;
 
| groupstyle = background:#32CD32;
 
| group1 = Brands
 
| group1 = Brands
 
|  list1 =
 
|  list1 =
 +
  {{navbox subgroup
 
* Acer
 
* Acer
 
* [[Gateway, Inc.|Gateway]]
 
* [[Gateway, Inc.|Gateway]]
Line 64: Line 61:
 
|group3 = Mobile phones
 
|group3 = Mobile phones
 
|list3  =  
 
|list3  =  
 
  {{navbox subgroup
 
 
    
 
    
 
| group1 = [[Acer Liquid|Liquid]]
 
| group1 = [[Acer Liquid|Liquid]]
 
   |  list1 =
 
   |  list1 =
 +
  {{navbox subgroup
 
* [[Acer Liquid A1|A1]]
 
* [[Acer Liquid A1|A1]]
 
* [[Acer Liquid E|E]]
 
* [[Acer Liquid E|E]]

Revision as of 00:13, 4 February 2017

{{navbox | name = Acer Inc. | basestyle = background:#32CD32;color:white; | title = Acer Inc. | image = Acer 2011.svg | state = {{{state}}} | bodyclass = hlist | titlestyle = background:#32CD32; color:#FFFFFF; border:2px solid #32CD32; | basestyle = background:#32CD32; | selected = | titlestyle = background: #32CD32; | groupstyle = background: #FFFFFF; | abovestyle = background: #FFFFFF; | belowstyle = background: #32CD32;

| groupstyle = background:#32CD32; | group1 = Brands | list1 =

 {{navbox subgroup

| groupstyle = background:#32CD32; | group2 = Products | list2 =

 Template:Navbox subgroup

|group3 = Other |list3 =

|below =

}} Initial visibility: currently defaults to autocollapse

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

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