Misplaced Pages

Template:Single notice links: Difference between revisions

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.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 15:23, 13 January 2021 view sourceJsfasdF252 (talk | contribs)Extended confirmed users2,954 editsNo edit summary← Previous edit Revision as of 14:16, 16 January 2021 view source Walrus Ji (talk | contribs)Extended confirmed users9,291 edits uw-grammarTag: RevertedNext edit →
Line 63: Line 63:
* {{tlbare|uw-flag|flag}} * {{tlbare|uw-flag|flag}}
* {{tlbare|uw-fuir|fuir}} * {{tlbare|uw-fuir|fuir}}
* {{tlbare|uw-grammar|grammar}}
* {{tlbare|uw-guideline|guideline}} * {{tlbare|uw-guideline|guideline}}
* {{tlbare|uw-hasty|hasty}} * {{tlbare|uw-hasty|hasty}}

Revision as of 14:16, 16 January 2021

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: