Difference between revisions of "Template:Korea topics"
Jump to navigation
Jump to search
imported>Moscow Connection (+1) |
imported>Paine Ellsworth (enable expanded sections + improve state= parameter in line with documentation + convert to /doc page) |
||
| Line 3: | Line 3: | ||
| title = {{flagicon|ROK}} [[Korea]] [[Index of Korea-related articles|topics]] {{flagicon|DPRK}} | | title = {{flagicon|ROK}} [[Korea]] [[Index of Korea-related articles|topics]] {{flagicon|DPRK}} | ||
| bodyclass = hlist | | bodyclass = hlist | ||
| − | | state = {{{state<includeonly>|</includeonly>}}} | + | | state = {{{state<includeonly>|autocollapse</includeonly>}}} |
| + | | selected = {{{1}}} | ||
| above = | | above = | ||
| Line 47: | Line 48: | ||
<!----------------------- Geography ----------------------> | <!----------------------- Geography ----------------------> | ||
| − | | | + | | group2 = Geography |
| − | | | + | | abbr2 = Geography |
| − | | | + | | list2 = |
{{Navbox|subgroup | {{Navbox|subgroup | ||
| Line 79: | Line 80: | ||
<!---------------------- Politics ----------------------> | <!---------------------- Politics ----------------------> | ||
| − | | | + | | group3 = Politics |
| − | | | + | | abbr3 = Politics |
| − | | | + | | list3 = |
{{Navbox|subgroup | {{Navbox|subgroup | ||
| Line 123: | Line 124: | ||
<!------------------------ Economy -----------------------> | <!------------------------ Economy -----------------------> | ||
| − | | | + | | group4 = Economy |
| − | | | + | | abbr4 = Economy |
| − | | | + | | list4 = |
{{Navbox|subgroup | {{Navbox|subgroup | ||
| Line 162: | Line 163: | ||
<!---------------------- Demographics --------------------> | <!---------------------- Demographics --------------------> | ||
| − | | | + | | group5 = Demographics |
| − | | | + | | abbr5 = Demographics |
| − | | | + | | list5 = |
* [[Koreans]] | * [[Koreans]] | ||
** [[List of people of Korean descent|list]] | ** [[List of people of Korean descent|list]] | ||
| Line 179: | Line 180: | ||
<!------------------------ Culture -----------------------> | <!------------------------ Culture -----------------------> | ||
| − | | | + | | group6 = [[Culture of Korea|Culture]] |
| − | | | + | | abbr6 = Culture |
| − | | | + | | list6 = |
{{Navbox|subgroup | {{Navbox|subgroup | ||
| group1 = General | | group1 = General | ||
| Line 228: | Line 229: | ||
}}<noinclude> | }}<noinclude> | ||
| − | + | {{documentation}} | |
| − | {{documentation | ||
| − | |||
| − | |||
| − | |||
| − | }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</noinclude> | </noinclude> | ||
Revision as of 03:01, 25 March 2018
| 40x40px | This template is meant to include links to major Korea-related articles only. For a complete list of Korea-related topics, see Index of Korea-related articles. |
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}}
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.
How to manage this template's collapsible groups/sections option
- This template includes collapsible groups/sections. When it first appears, one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, include the parameter
|namewhere name is one of the following words that identify the groups/sections (omit any speech or quotation marks): - History
- Geography
- Politics
- Economy
- Demographics
- Culture
- For example:
{{Korea topics |Geography}}
which produces...
- Click "show" on the right to see result.
| The above documentation is transcluded from Template:Korea topics/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |