Difference between revisions of "Template:Io/doc"

From blackwiki
Jump to navigation Jump to search
imported>Alex Spade
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
Place '''<nowiki>{{Io}}</nowiki>''' at the end of an article, but above any categories.
+
Place '''{{tl|Io}}''' at the end of an article, but above any categories.
  
Note to editors on how to manage collapsibility:
+
{{collapsible option}}
 +
==See also==
 +
{{Universe navboxes|Solar}}
  
* Use <code><nowiki>{{Io|state=collapsed}}</nowiki></code> to show this template in its collapsed (hidden) state.
+
<includeonly>{{Sandbox other||
* Use <code><nowiki>{{Io|state=expanded}}</nowiki></code> to show this template in its expanded (fully visible) state.
+
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
* Use <code><nowiki>{{Io|state=autocollapse}}</nowiki></code> to show this template in its collapsed (hidden) state only if there is another template of the same type on the page. (This is usually the default.)
+
[[Category:Solar System moon templates]]
  
==See also==
 
{{universe navboxes}}
 
 
<includeonly>
 
 
[[ru:Шаблон:Ио]]
 
[[ru:Шаблон:Ио]]
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
}}</includeonly>
</includeonly>
 

Latest revision as of 22:01, 25 April 2020

Place {{Io}} at the end of an article, but above any categories.

Initial visibility: currently defaults to autocollapse

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

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

See also

Template:Universe navboxes