Difference between revisions of "Template:Kings of Shang"

From blackwiki
Jump to navigation Jump to search
imported>Zanhe
(categories)
imported>Cydebot
m (Robot - Speedily moving category Shang Dynasty kings to Category:Shang dynasty kings per CFDS.)
 
(3 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
|name    = Kings of Shang
 
|name    = Kings of Shang
 
|listclass = hlist
 
|listclass = hlist
 +
|group1 = Early Shang
 
|list1=
 
|list1=
 
*[[Tang of Shang|Da Yi]]
 
*[[Tang of Shang|Da Yi]]
Line 21: Line 22:
 
*[[Nan Geng]]
 
*[[Nan Geng]]
 
*[[Yang Jia of Shang|Xiang Jia]]
 
*[[Yang Jia of Shang|Xiang Jia]]
 +
|group2 = [[Yinxu|Yin]] period
 +
|list2 =
 
*[[Pan Geng]]
 
*[[Pan Geng]]
 
*[[Xiao Xin]]
 
*[[Xiao Xin]]
Line 37: Line 40:
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:Shang Dynasty kings]]
+
[[Category:Shang dynasty kings| ]]
[[Category:Chinese ruler navigational boxes]]
+
[[Category:Chinese ruler navigational boxes|Shang]]
 
</noinclude>
 
</noinclude>

Latest revision as of 16:23, 28 June 2014

Initial visibility: currently defaults to autocollapse

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

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