Difference between revisions of "Template:Bacon"

From blackwiki
Jump to navigation Jump to search
imported>Off-shell
(cuts)
imported>Woodensuperman
Line 114: Line 114:
 
|belowclass = hlist
 
|belowclass = hlist
 
|below =  
 
|below =  
<div style="float:right; margin:0 1.0em;">'''[[Portal:Bacon|Bacon portal]]'''</div>
+
* {{icon|portal}} [[Portal:Bacon|Portal]]
* [[Wiktionary:Bacon|Wiktionary]]
+
* {{icon|cat}} [[:Category:Bacon|Category]]
* [[Wikibooks:Special:Search/Bacon|Wikibooks]]
 
* [[Wikiquote:Bacon|Wikiquote]]
 
* [[Wikisource:Special:Search/Bacon|WikiSource]]
 
* [[Commons:Category:Bacon|Wikimedia Commons]]
 
* [[Wikinews:Special:Search/Bacon|Wikinews]]
 
* [[Wikiversity:Special:Search/Bacon|Wikiversity]]
 
  
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option|state=collapsed}}
 
{{collapsible option|state=collapsed}}
 
[[Category:Food navigational boxes|Bacon]]
 
[[Category:Food navigational boxes|Bacon]]
[[Category:Bacon]]
 
 
</noinclude>
 
</noinclude>

Revision as of 10:05, 16 December 2015

Initial visibility: currently defaults to autocollapse

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

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