Template:Error messages/doc
Jump to navigation
Jump to search
| This is a documentation subpage for Template:Error messages. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit source]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.