Difference between revisions of "Template:Anhui topics"

From blackwiki
Jump to navigation Jump to search
(state handling, 'above' formatting, combined groups 4 and 5, shorter group6 name)
blackwiki>Frietjes
m (copyedit)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name = Anhui topics
+
| name     = Anhui topics
|state = {{{1|{{{state|<includeonly>collapsed</includeonly>}}}}}}
+
| state     = {{{state|<includeonly>{{{1|collapsed}}}</includeonly>}}}
|title = [[Anhui]] topics
+
| title     = [[Anhui]] topics
|listclass = hlist
+
| listclass = hlist
|evenstyle = background:#F4F0EC;
 
  
|above = [[List of current and former capitals of subnational entities of China|Capital]]: '''[[Hefei]]'''
+
| above = [[List of current and former capitals of subnational entities of China|Capital]]: '''[[Hefei]]'''
  
|group1 = [[:Category:Anhui|Overviews]]  
+
| group1 = [[:Category:Anhui|Overviews]]
|list1 =
+
| 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]]
* [[Huai He|Huai He River]]  
+
* [[Huai He|Huai He River]]
* [[Dabie Mountains]]  
+
* [[Dabie Mountains]]
* [[Yangtze River]]  
+
* [[Yangtze River]]
* [[Huangshan Mountains]]  
+
* [[Huangshan Mountains]]
* [[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]]
 
* [[Anhui cuisine|Cuisine]]
** [[Li Hongzhang|Li Hongzhang hodge-podge soup]]  
+
** [[Li Hongzhang|Li Hongzhang hodge-podge soup]]
  
|group5 = Attractions
+
| group5 = Attractions
|list5 =
+
| list5 =
* [[Mount Huangshan]]  
+
* [[Mount Huangshan]]
* [[Mount Jiuhua]]  
+
* [[Mount Jiuhua]]
* [[Mount Qiyun]]  
+
* [[Mount Qiyun]]
* [[Mount Tianzhu]]  
+
* [[Mount Tianzhu]]
* [[Zuiweng Pavilion]]  
+
* [[Zuiweng Pavilion]]
* [[Taiji Cave]]  
+
* [[Taiji Cave]]
* [[Zhenfeng Pagoda]]  
+
* [[Zhenfeng Pagoda]]
  
 
}}<noinclude>
 
}}<noinclude>
  
<br/>{{collapsible option}}
+
{{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]]

Revision as of 22:30, 26 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.