Difference between revisions of "Template:Hokkaido"

From blackwiki
Jump to navigation Jump to search
imported>ASDFGH
imported>Primefac
m (Protected "Template:Hokkaido": semi-protection of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite)))
 
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
| title    = [[File:Shadow picture of Hokkaido prefecture edit.png|20x20px|Shadow picture of Hokkaido]] [[Hokkaido]]
 
| title    = [[File:Shadow picture of Hokkaido prefecture edit.png|20x20px|Shadow picture of Hokkaido]] [[Hokkaido]]
 
| state    = {{{state|autocollapse}}}
 
| state    = {{{state|autocollapse}}}
| above    = [[Sapporo]] <small>(capital)</small>
+
| above    = [[Sapporo]] <small>([[List of prefectural capitals in Japan|capital]])</small>
 
| image    = [[File:Flag of Hokkaido Prefecture.svg|60px|Flag of Hokkaido]]
 
| image    = [[File:Flag of Hokkaido Prefecture.svg|60px|Flag of Hokkaido]]
 
| listclass = hlist
 
| listclass = hlist
Line 22: Line 22:
 
| list14    = {{Nemuro|border=subgroup|title=[[Nemuro Subprefecture]]}}
 
| list14    = {{Nemuro|border=subgroup|title=[[Nemuro Subprefecture]]}}
  
 +
| below    = [[List of mergers in Hokkaido]]
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}

Latest revision as of 00:30, 19 January 2018

Initial visibility: currently defaults to autocollapse

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

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