This is the current revision of this page, as edited by Gonnym (talk | contribs) at 11:13, 5 December 2024. The present address (URL) is a permanent link to this version.
Revision as of 11:13, 5 December 2024 by Gonnym (talk | contribs)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff) 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.
- 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 | |||||
---|---|---|---|---|---|
| |||||
|
(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: