Difference between revisions of "Template:Anhui topics"

From blackwiki
Jump to navigation Jump to search
blackwiki>WOSlinker
(use listclass = hlist in navbox as per WP:HLIST)
(state handling, 'above' formatting, combined groups 4 and 5, shorter group6 name)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name=Anhui topics
+
|name = Anhui topics
|state=collapsed
+
|state = {{{1|{{{state|<includeonly>collapsed</includeonly>}}}}}}
|title=[[Anhui]] topics
+
|title = [[Anhui]] topics
 
|listclass = hlist
 
|listclass = hlist
|above = [[Hefei]] ([[List of current and former capitals of subnational entities of China|capital]])
+
|evenstyle = background:#F4F0EC;
|evenstyle = background:#F4F0EC
 
  
|group1=[[:Category:Anhui|General]]  
+
|above = [[List of current and former capitals of subnational entities of China|Capital]]: '''[[Hefei]]'''
|list1=
+
 
 +
|group1 = [[:Category:Anhui|Overviews]]  
 +
|list1 =
 
* [[Anhui#History|History]]
 
* [[Anhui#History|History]]
 
* [[Anhui#Politics|Politics]]
 
* [[Anhui#Politics|Politics]]
 
* [[Anhui#Economy|Economy]]  
 
* [[Anhui#Economy|Economy]]  
  
|group2=[[:Category:Geography of Anhui|Geography]]
+
|group2 = [[:Category:Geography of Anhui|Geography]]
|list2=
+
|list2 =
 
* [[List of cities in the People's Republic of China#Anhui|Cities]]  
 
* [[List of cities in the People's Republic of China#Anhui|Cities]]  
 
* [[North China Plain]]  
 
* [[North China Plain]]  
Line 23: Line 24:
 
* [[Lake Chaohu]]  
 
* [[Lake Chaohu]]  
  
|group3=[[List of universities and colleges in Anhui|Education]]
+
|group3 = [[List of universities and colleges in Anhui|Education]]
|list3=
+
|list3 =
 
* [[Anhui University]]  
 
* [[Anhui University]]  
 
* [[Anhui Agricultural University]]  
 
* [[Anhui Agricultural University]]  
 
* [[Anhui Normal University]]  
 
* [[Anhui Normal University]]  
  
|group4=[[Anhui#Culture|Culture]]
+
|group4 = [[Anhui#Culture|Culture]]
|list4=
+
|list4 =
* [[Huangmeixi|Huangmeixi opera]]  
+
* [[Huangmeixi|Huangmeixi opera]]
 +
* [[Anhui cuisine|Cuisine]]
 +
** [[Li Hongzhang|Li Hongzhang hodge-podge soup]]  
  
|group5=[[Anhui cuisine|Cuisine]]
+
|group5 = Attractions
|list5=
+
|list5 =
* [[Li Hongzhang|Li Hongzhang hodge-podge soup]]
 
 
 
|group6=Visitor attractions
 
|list6=
 
 
* [[Mount Huangshan]]  
 
* [[Mount Huangshan]]  
 
* [[Mount Jiuhua]]  
 
* [[Mount Jiuhua]]  
Line 48: Line 47:
  
 
}}<noinclude>
 
}}<noinclude>
{{collapsible option}}
 
  
[[Category:Anhui]]
+
<br/>{{collapsible option}}
 +
Note:It's also now possible to omit the "state=".
 +
 
 
[[Category:People's Republic of China administrative division templates]]
 
[[Category:People's Republic of China administrative division templates]]
 
[[Category:Country and territory topics templates]]
 
[[Category:Country and territory topics templates]]
 +
[[Category:Anhui| ]]
 
</noinclude>
 
</noinclude>

Revision as of 19:37, 24 November 2012


Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Anhui topics|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Anhui topics|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Anhui topics|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. Note:It's also now possible to omit the "state=".