Difference between revisions of "Template:Alias"

From blackwiki
Jump to navigation Jump to search
blackwiki>Frietjes
(rv, overstyling)
blackwiki>Bsherr
(Implementing autocollapse and documentation subpage)
Line 2: Line 2:
 
|name    = Alias
 
|name    = Alias
 
|title  = [[Alias (TV series)|''Alias'']]
 
|title  = [[Alias (TV series)|''Alias'']]
 +
|state    = {{{state|autocollapse}}}
 
|bodyclass = hlist
 
|bodyclass = hlist
  
Line 34: Line 35:
 
* [[Alias (video game)|Video game]]
 
* [[Alias (video game)|Video game]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{Documentation}}
 +
<!-- Add categories to the /doc subpage, not here -->
 +
</noinclude>
 +
<noinclude>
 
[[Category:Alias (TV series)| ]]
 
[[Category:Alias (TV series)| ]]
 
[[Category:United States television series navigational boxes]]
 
[[Category:United States television series navigational boxes]]
 
[[Category:Drama television navigational boxes]]
 
[[Category:Drama television navigational boxes]]
 
</noinclude>
 
</noinclude>

Revision as of 01:31, 1 November 2018

Usage

Initial visibility: currently defaults to autocollapse

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

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