Difference between revisions of "Template:KFC"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
m (cleanup (wikitables, html markup, layout, etc.))
imported>Charlesaaronthompson
(I updated the HTML color code to #E4002B in the template.)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name=KFC
+
| name = KFC
| title = [[KFC|{{white|KFC}}]]
+
| title = [[KFC|{{color|#FFFFFF|KFC}}]]
|state={{{state|}}}
+
| state = {{{state|}}}
| basestyle = color: white; background: #A3080C;
+
| basestyle = background:#E4002B; color:#FFFFFF;
 
| listclass = hlist
 
| listclass = hlist
  
|group1=People
+
| group1 = People
|list1=  
+
| list1 =
 
* [[Colonel Sanders]] (founder)
 
* [[Colonel Sanders]] (founder)
 
* [[Pete Harman]]
 
* [[Pete Harman]]
Line 13: Line 13:
 
* [[Roger Eaton]]
 
* [[Roger Eaton]]
  
|group2=Company
+
| group2 = Company
|list2=  
+
| list2 =
 
* [[KFC advertising|Advertising]]
 
* [[KFC advertising|Advertising]]
 
* [[History of KFC|History]]
 
* [[History of KFC|History]]
  
|group3=Notable locations
+
| group3 = Notable locations
|list3=  
+
| list3 =
 
* [[Harland Sanders Café and Museum]]
 
* [[Harland Sanders Café and Museum]]
 
* [[KFC Yum! Center]]
 
* [[KFC Yum! Center]]
 
* [[KFC Eleven]]
 
* [[KFC Eleven]]
  
|group4=Products and recipes
+
| group4 = Products and recipes
|list4=  
+
| list4 =
 
* [[KFC Original Recipe|Original Recipe]]
 
* [[KFC Original Recipe|Original Recipe]]
 
* [[Popcorn Chicken]]
 
* [[Popcorn Chicken]]
 
* [[Double Down (sandwich)|Double Down]]
 
* [[Double Down (sandwich)|Double Down]]
  
|group5=[[List of countries with KFC franchises|{{color|white|Regional operations}}]]
+
| group5 = [[List of countries with KFC franchises|{{color|white|Regional operations}}]]
|list5=  
+
| list5 =
 
* [[KFC in Japan|Japan]]
 
* [[KFC in Japan|Japan]]
 
* [[KFC in China|China]]
 
* [[KFC in China|China]]
Line 37: Line 37:
 
* [[KFC Israel|Israel]]
 
* [[KFC Israel|Israel]]
  
|group6=Related articles
+
| group6 = Related articles
|list6=  
+
| list6 =
 
* [[Kentucky Fried Cruelty]]
 
* [[Kentucky Fried Cruelty]]
 
* [[PETA satirical browser games]]
 
* [[PETA satirical browser games]]
Line 45: Line 45:
 
* [[H. Salt Esquire]]
 
* [[H. Salt Esquire]]
 
* [[Zantigo]]
 
* [[Zantigo]]
|below={{icon|category}} [[:Category:KFC|{{white|Category}}]]
+
| below = {{icon|category}} [[:Category:KFC|{{white|Category}}]]
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 05:25, 26 February 2017

Template documentation[view] [edit] [history] [purge]

Initial visibility: currently defaults to autocollapse

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

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

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