Template:Wikipedia template messages

From Wikipedia, the free encyclopedia
Template documentation[view] [edit] [history] [purge]

This is the {{Wikipedia template messages}} navigation box.

It is suitable for transcluding at the bottoms of template messages and its subpages.

This template is a self-reference and so is part of the Wikipedia project rather than the encyclopaedic content.

Usage

{{Wikipedia template messages}}

Initial visibility

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

  • |state=collapsed: {{Wikipedia template messages|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Wikipedia template messages|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Wikipedia template messages|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 is not set, the template's initial visibility is taken from the |default= parameter in the template. For this template, that currently evaluates to autocollapse.

See also

Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Wikipedia_template_messages&oldid=780088766"
This content was retrieved from Wikipedia : http://en.wikipedia.org/wiki/Template:Wikipedia_template_messages
This page is based on the copyrighted Wikipedia article "Template:Wikipedia template messages"; it is used under the Creative Commons Attribution-ShareAlike 3.0 Unported License (CC-BY-SA). You may redistribute it, verbatim or modified, providing that you comply with the terms of the CC-BY-SA