Template:Error messages/doc

Source: Wikipedia, the free encyclopedia.

Usage

Note: If you are trying to show a big red message that somebody futzed up, you want to use Template:Error, not this.

Template:Error This template's initial visibility currently defaults to autocollapse, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.

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

  • {{Error messages|state=collapsed}} will show the template collapsed, i.e. hidden apart from its title bar.
  • {{Error messages|state=expanded}} will show the template expanded, i.e. fully visible.