Misplaced Pages

Template:Single notice links

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.

This is an old revision of this page, as edited by IamNotU (talk | contribs) at 18:27, 9 January 2021 (Reverted good faith edits by Train of Knowledge (talk): Please see: Misplaced Pages talk:Template index/User talk namespace#Bull in a china shop?.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Revision as of 18:27, 9 January 2021 by IamNotU (talk | contribs) (Reverted good faith edits by Train of Knowledge (talk): Please see: Misplaced Pages talk:Template index/User talk namespace#Bull in a china shop?.)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Single-issue user warning or notice templates
Notices
Warnings
Template documentation[view] [edit] [history] [purge]
This template should not be substituted.

Usage

This template is a navbox listing various single-issue notifications and warnings from the user warnings project. It can be used on documentation pages of templates that differ from the standard user warning format, which is documented by {{Single notice}}:

{{Single notice links}}


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:

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


How to manage this template's collapsible groups/sections option
  • This template includes collapsible groups/sections. When it first appears, one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, include the parameter |name where name is one of the following words that identify the groups/sections (omit any speech or quotation marks):
    • notices
    • warnings
  • For example: {{Single notice links |warnings}}
Single-issue user warning or notice templates
Notices
Warnings

(Click to see example)

The above documentation is transcluded from Template:Single notice links/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. Category: