Difference between revisions of "Template:Liaoning"

From blackwiki
Jump to navigation Jump to search
imported>CaradhrasAiguo
m (→‎top: clean up, bypass redirect after move)
imported>R'n'B
 
(3 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
| title  = [[List of administrative divisions of Liaoning|County-level divisions]] of [[Liaoning]] [[Provinces of China|Province]]
 
| title  = [[List of administrative divisions of Liaoning|County-level divisions]] of [[Liaoning]] [[Provinces of China|Province]]
 
| listclass = hlist
 
| listclass = hlist
| above  = [[Shenyang]] <small>([[List of current and former capitals of subnational entities of China|capital]])</small>
+
| above  = [[Shenyang]] <small>([[List of current and former capitals of subdivisions of China|capital]])</small>
  
| state  = <includeonly>{{{state|collapsed}}}</includeonly>
+
| state  = {{{state<includeonly>|collapsed</includeonly>}}}
  
 
| group1 = [[Sub-provincial division|Sub-provincial cities]]
 
| group1 = [[Sub-provincial division|Sub-provincial cities]]
Line 35: Line 35:
 
   | group2 = [[Dalian]]
 
   | group2 = [[Dalian]]
 
   | list2 =
 
   | list2 =
* [[Xigang District]]
+
* [[Xigang District, Dalian|Xigang District]]
 
* [[Zhongshan District,  Dalian|Zhongshan District]]
 
* [[Zhongshan District,  Dalian|Zhongshan District]]
 
* [[Shahekou District]]
 
* [[Shahekou District]]
Line 169: Line 169:
  
 
}}<noinclude>
 
}}<noinclude>
{{collapsible option}}
+
{{Documentation}}
[[Category:Liaoning templates]]
 
 
 
 
</noinclude>
 
</noinclude>

Latest revision as of 20:55, 21 October 2019

Template documentation[view] [edit] [history] [purge]

Initial visibility: currently defaults to collapsed

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

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