Difference between revisions of "Template:Duhu"

From blackwiki
Jump to navigation Jump to search
imported>The Banner
(revert unhelpful edit. The layout of this link was intentional, to prevent the template showing up in maintenance pages)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
  | name = Duhu
 
  | name = Duhu
  | title = [[Duhu (disambiguation)|Duhu]]<br />[[Tang dynasty]]
+
  | title = [[Duhu|Protectorates and Protectorates-General]] of the [[Tang dynasty]]
 
  | state = {{{state|}}}
 
  | state = {{{state|}}}
 
  | listclass = hlist
 
  | listclass = hlist
Line 12: Line 12:
 
* [[Beiting Protectorate]]
 
* [[Beiting Protectorate]]
 
* [[Protectorate General to Pacify Chanyu]]
 
* [[Protectorate General to Pacify Chanyu]]
 +
}}<noinclude>
  
}}<noinclude>
 
 
{{collapsible option}}
 
{{collapsible option}}
 +
 
[[Category:China history templates]]
 
[[Category:China history templates]]
 
</noinclude>
 
</noinclude>

Revision as of 15:17, 20 June 2019

Initial visibility: currently defaults to autocollapse

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

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