Difference between revisions of "Template:Korea topics"

From blackwiki
Jump to navigation Jump to search
imported>Kor Ph
m
imported>Frietjes
(navbox subgroup syntax update)
Line 15: Line 15:
 
| abbr1 = History
 
| abbr1 = History
 
| list1 =
 
| list1 =
  {{Navbox subgroup
+
  {{Navbox|subgroup
 
   | group1 = General
 
   | group1 = General
 
   | list1 =
 
   | list1 =
Line 50: Line 50:
 
| abbr3 = Geography
 
| abbr3 = Geography
 
| list3 =
 
| list3 =
  {{Navbox subgroup
+
  {{Navbox|subgroup
  
 
   | group1 = General
 
   | group1 = General
Line 82: Line 82:
 
| abbr4 = Politics
 
| abbr4 = Politics
 
| list4 =
 
| list4 =
  {{Navbox subgroup
+
  {{Navbox|subgroup
  
 
   | group1 = North Korea
 
   | group1 = North Korea
Line 124: Line 124:
 
| abbr5 = Economy
 
| abbr5 = Economy
 
| list5 =
 
| list5 =
  {{Navbox subgroup
+
  {{Navbox|subgroup
  
 
   | group1 = [[Economy of North Korea|North Korea]]
 
   | group1 = [[Economy of North Korea|North Korea]]
Line 180: Line 180:
 
| abbr7 = Culture
 
| abbr7 = Culture
 
| list7 =
 
| list7 =
  {{Navbox subgroup
+
  {{Navbox|subgroup
 
   | group1 = General
 
   | group1 = General
 
   | list1 = <!--Alphabetical:-->
 
   | list1 = <!--Alphabetical:-->

Revision as of 14:53, 20 August 2017

Template documentation

Initial visibility: currently defaults to autocollapse

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

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

This template includes collapsible lists.

  • To set it to display all lists when it appears (i.e. all lists expanded), use:
  •  {{Korea topics |expanded=all}} or, if enabled, {{Korea topics |all}}  (i.e. omitting "expanded=").
  • To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use:
  •  {{Korea topics |expanded=listname}} or, if enabled, {{Korea topics |listname}}
  • …where listname is one of the following (do not include any quotemarks):
  • "History", "Geography", "Politics", "Economy", "Demographics", "Culture"
  • For example, {{Korea topics |expanded=Demographics}} or, if enabled, {{Korea topics |Demographics}}