Difference between revisions of "Template:Af2"

From blackwiki
Jump to navigation Jump to search
blackwiki>EmausBot
m (r2.7.3) (Robot: Adding fr:Modèle:Af2)
blackwiki>Cydebot
m (Robot - Speedily moving category Af2 templates to Category:AF2 templates per CFDS.)
Line 73: Line 73:
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:af2 templates]]
+
[[Category:AF2 templates]]
 
[[fr:Modèle:Af2]]
 
[[fr:Modèle:Af2]]
 
</noinclude>
 
</noinclude>

Revision as of 13:00, 29 December 2012

Initial visibility: currently defaults to autocollapse

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

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