Difference between revisions of "Template:Chinese-language radio"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(use listclass = hlist in navbox as per WP:HLIST)
imported>Colonies Chris
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name = Chinese-language radio
+
| name     = Chinese-language radio
|state = {{{state|collapsed}}}
+
| state     = {{{state<includeonly>|collapsed</includeonly>}}}
|title = [[List of Chinese language radio stations|Radio stations broadcasting in the Chinese language]]
+
| title     = [[List of Chinese-language radio stations|Radio stations broadcasting in the Chinese language]]
|listclass = hlist
+
| listclass = hlist
  
|group1 = {{CAN}}
+
| list1 = {{Chinese-language radio in Canada|child}}
|list1 = {{Chinese-language radio in Canada|child}}
+
| list2 = {{Radio stations in China|child}}
 
+
| list3 = {{Chinese-language radio in Malaysia|child}}
|group2 = {{CHN}}
+
| list4 = {{Chinese-language radio in Singapore|child}}
|list2 = {{Radio stations in China|child}}
+
| list5 = {{Radio stations in Taiwan|child}}
 
+
| list6 = {{Chinese-language radio in United States|child}}
|group3 = {{MAS}}
 
|list3 = {{Chinese-language radio in Malaysia|child}}
 
 
 
|group4 = {{SIN}}
 
|list4 = {{Chinese-language radio in Singapore|child}}
 
 
 
|group5 = {{TWN}}
 
|list5 = {{Radio stations in Taiwan|child}}
 
 
 
|group5 = {{USA}}
 
|list5  = {{Chinese-language radio in United States|child}}
 
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:Radio templates]]
+
[[Category:Radio navigational boxes]]
[[Category:China radio templates]]
+
[[Category:China radio navigational boxes]]
 
</noinclude>
 
</noinclude>

Latest revision as of 17:35, 7 October 2017

Initial visibility: currently defaults to autocollapse

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

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