Difference between revisions of "Template:McDonald's"

From blackwiki
Jump to navigation Jump to search
imported>CR85747
imported>Iiii I I I
(Undid revision 947026784 by LaundryPizza03 (talk) these colors 1) are eyewatering 2) fail minimum WCAG standards for contrast)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name      = McDonald's
 
|name      = McDonald's
|title = [[McDonald's|{{color|yellow|McDonald's}}]]
+
|title = [[McDonald's]]
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 
|bodyclass = hlist
 
|bodyclass = hlist
|basestyle = background:red; color:yellow
 
  
 
|above =
 
|above =
*[[History of McDonald's|{{color|white|History}}]]
+
*[[History of McDonald's|History]]
*[[McDonald's advertising|{{color|white|Advertising}}]]
+
*[[McDonald's advertising|Advertising]]
** [[List of McDonald's ad programs|{{color|white|ad programs}}]]
+
** [[List of McDonald's ad programs|ad programs]]
*[[List of countries with McDonald's restaurants|{{color|white|Countries with franchises}}]]
+
*[[List of countries with McDonald's restaurants|Countries with franchises]]
*[[McDonald's legal cases|{{color|white|Legal cases}}]]
+
*[[McDonald's legal cases|Legal cases]]
*[[List of McDonald's products|{{color|white|Product list}}]]  
+
*[[List of McDonald's products|Product list]]  
*[[International availability of McDonald's products|{{color|white|International availability}}]]
+
*[[International availability of McDonald's products|International availability]]
|abovestyle = color:white
 
  
 
| group1 = People
 
| group1 = People
Line 59: Line 57:
  
 
| group3 = Products
 
| group3 = Products
| list3  = {{Navbox|child||basestyle = background:red; color:white
+
| list3  = {{Navbox|child
 
| group1 = Beef
 
| group1 = Beef
 
| list1  =  
 
| list1  =  
Line 99: Line 97:
  
 
| group4 = Advertising
 
| group4 = Advertising
| list4  = {{Navbox|child||basestyle = background:red; color:white
+
| list4  = {{Navbox|child
  
 
| group1 = Campaigns
 
| group1 = Campaigns

Revision as of 00:44, 25 May 2020

Initial visibility: currently defaults to autocollapse

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

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

Usage

{{McDonald's}}

Place the template at the end of any article with a subject related to McDonald's, ahead of any other templates that may be on the article's page.

See also