• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.213
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Button templates

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
  • v
  • t
  • e
Button templates
General button templates
  • {{Clickable button}}
  • {{Clickable button 2}}
  • {{Branded Button}}
  • {{Button}} (not clickable)
  • {{Blue button}}
  • {{Mw button}}
WikiProject-specific buttons
  • Article Wizard
    • button
    • button2
    • button wizard
  • {{Big Blue Button}}
  • {{Big Red Button}}
  • {{Big Cyan Button}}
  • {{Big Green Button}}
  • {{Big Lime Button}}
  • {{Big Orange Button}}
  • {{Big Turquoise Button}}
  • {{Big Fuchsia Button}}
  • {{Big Skyblue Button}}
  • {{Big Purple Button}}
  • {{AFC button}}
  • {{Cleanup Button}}
  • Category
Template documentation[view] [edit] [history] [purge]

Initial visibility: currently defaults to autocollapse

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

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

The above documentation is transcluded from Template:Button templates/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Button_templates&oldid=6769"
Category:
  • Documentation see also templates
Last edited on 7 September 2021, at 04:13

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 7 September 2021, at 04:13.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop