Difference between revisions of "Template:Hakka cuisine"

From blackwiki
Jump to navigation Jump to search
(change link)
imported>Zanhe
(add)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|title = [[Hakka cuisine]]
 
|title = [[Hakka cuisine]]
|state = collapsed
+
|state = {{{state<includeonly>|collapsed</includeonly>}}}
 
|bodyclass = hlist
 
|bodyclass = hlist
  
 
|group1 =  
 
|group1 =  
 
|list1  =
 
|list1  =
*[[Hakka cuisine]]
 
 
*[[Jiaozi]]
 
*[[Jiaozi]]
 
*[[Lei cha]]
 
*[[Lei cha]]
 
*[[Yong tau foo]]
 
*[[Yong tau foo]]
 
+
*[[Choi pan]]
 +
*[[Suan cai|Ham choi]]
 +
*[[Hee pan]]
 +
*[[Salt-baked chicken]]
 +
*[[Kiu nyuk]]
 
|below =
 
|below =
 
*[[Hong Kong cuisine]]
 
*[[Hong Kong cuisine]]
Line 18: Line 21:
 
|name = Hakka cuisine
 
|name = Hakka cuisine
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Chinese cuisine templates]]
 
[[Category:Chinese cuisine templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 21:06, 6 June 2019

Initial visibility: currently defaults to autocollapse

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

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