Difference between revisions of "Template:Gliese 581"

From blackwiki
Jump to navigation Jump to search
imported>MartinZ
(Category has been moved.)
imported>Primefac
m (Reverted edits by MartinZ (talk) to last version by Lithopsian)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
  | name = Gliese 581
 
  | name = Gliese 581
  | title = [[Gliese 581 system]]
+
  | title = [[Gliese 581|Gliese 581 system]]
 
  | state = {{{state|uncollapsed}}}
 
  | state = {{{state|uncollapsed}}}
 
  | bodyclass = hlist
 
  | bodyclass = hlist
Line 48: Line 48:
 
  | below =
 
  | below =
 
*  {{icon|Book}} [[Book:Gliese 581]]
 
*  {{icon|Book}} [[Book:Gliese 581]]
*  {{icon|Category}} [[:Category:Gliese 581 system]]
+
*  {{icon|Category}} [[:Category:Gliese 581]]
 
*  {{icon|Portal}} [[Portal:Astronomy]]
 
*  {{icon|Portal}} [[Portal:Astronomy]]
  
Line 54: Line 54:
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Exoplanet navigational boxes]]
 
[[Category:Exoplanet navigational boxes]]
[[Category:Gliese 581 system]]
 
 
</noinclude>
 
</noinclude>

Revision as of 23:48, 27 September 2017

Initial visibility: currently defaults to autocollapse

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

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