Difference between revisions of "Template:Orders, decorations, and medals"

From IxWiki
Jump to navigation Jump to search
m
m
Line 43: Line 43:
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:Order of the Obsidian Sparrow]]
 
 
[[Category:Orders in Ixnay]]
 
[[Category:Orders in Ixnay]]
 
[[Category:Military Orders in Ixnay]]
 
[[Category:Military Orders in Ixnay]]
 
</noinclude>
 
</noinclude>

Revision as of 11:19, 10 September 2019

Initial visibility

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

  • |state=collapsed: {{Orders, decorations, and medals|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Orders, decorations, and medals|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Orders, decorations, and medals|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 is not set, the template's initial visibility is taken from the |default= parameter in the template. For this template, that currently evaluates to autocollapse.