Difference between revisions of "Template:Home Depot"

From blackwiki
Jump to navigation Jump to search
imported>Charlesaaronthompson
(I updated the HTML color codes in the template, per https://corporate.homedepot.com/image-gallery (HTML color codes were extracted using Paint 3D.)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name = Home Depot
+
| name = Home Depot
| basestyle = background:#FF7F00;color:white;
+
| basestyle = background:#EF7D2D; color:#000000;
|title = [[The Home Depot|{{color|white|The Home Depot}}]]
+
| title = [[The Home Depot|{{color|#000000|The Home Depot}}]]
|state = {{{state|autocolapse}}}
+
| state = {{{state|autocolapse}}}
|listclass = hlist
+
| listclass = hlist
  
|group1 = [[Corporation|Corporate]] [[Board of directors|Directors]]:
+
| group1 = [[Corporation|<span style="color:#000000;">Corporate</span>]] [[Board of directors|<span style="color:#000000;">Directors</span>]]:
|list1 =
+
| list1 =
 
* [[Greg Brenneman]]
 
* [[Greg Brenneman]]
 
* [[Richard H. Brown]]
 
* [[Richard H. Brown]]
Line 19: Line 19:
 
* [[Tom Ridge]]
 
* [[Tom Ridge]]
  
|below =
+
| below =
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:United States company templates]]
 
[[Category:United States company templates]]
 
</noinclude>
 
</noinclude>

Revision as of 20:56, 13 March 2019

Initial visibility: currently defaults to autocollapse

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

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