Difference between revisions of "Template:Hamburgers/doc"

From blackwiki
Jump to navigation Jump to search
imported>Northamerica1000
imported>Jonesey95
Line 3: Line 3:
 
== Usage ==
 
== Usage ==
 
Add this template to pertinent articles using <nowiki>{{Hamburgers}}</nowiki>
 
Add this template to pertinent articles using <nowiki>{{Hamburgers}}</nowiki>
 +
 +
When placing this template on the article pages, please use the following guidelines:
 +
* Please place the template after any template that is company specific. E.g. in the [[Whopper]] article the {{tl|Burger King}} template would go first, then this one.
 +
 +
== Guidelines for inclusion ==
 +
When adding new articles to this template, please follow these guidelines:
 +
* For the purpose of this template, a "burger" is defined as a foodstuff that is made from other ground ingredients that has been shaped into a [[patty]].
 +
* Any food that is made from a patty, whether it is a sandwich or not, is eligible for inclusion in this template.
 +
 +
== Collapsed state ==
 +
{{collapsible option}}
  
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
−
 
+
[[Category:Food navigational boxes]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 19:15, 18 March 2019

Usage

Add this template to pertinent articles using {{Hamburgers}}

When placing this template on the article pages, please use the following guidelines:

  • Please place the template after any template that is company specific. E.g. in the Whopper article the {{Burger King}} template would go first, then this one.

Guidelines for inclusion

When adding new articles to this template, please follow these guidelines:

  • For the purpose of this template, a "burger" is defined as a foodstuff that is made from other ground ingredients that has been shaped into a patty.
  • Any food that is made from a patty, whether it is a sandwich or not, is eligible for inclusion in this template.

Collapsed state

Initial visibility: currently defaults to autocollapse

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

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