Template:Multiple issues/doc: Difference between revisions
*>Frietjes No edit summary |
m (1 revision imported) |
Latest revision as of 08:53, 15 May 2018
This is a documentation subpage for Template:Multiple issues. It contains usage information, categories and other content that is not part of the original template page. |
If you plan to make breaking changes to this template, move it, or nominate it for deletion, please notify Twinkle's users and maintainers at Wikipedia talk:Twinkle as a courtesy, as this template is used in the standard installation of Twinkle. Thank you! |
This template is used by the standard installation of AutoWikiBrowser (AWB). If you are planning to make changes to this template, how it should be used, or nominate it for deletion, please notify AWB's user base and maintainers beforehand at Wikipedia talk:AWB as a courtesy. |
This template is used on 130,000+ pages. To avoid large-scale disruption and unnecessary server load, any changes to it should first be tested in its /sandbox or /testcases subpages or in your own user subpage. The tested changes can then be added to this page in a single edit. Please consider discussing any changes on the talk page before implementing them. |
This template uses Lua: |
Using too many individual article message boxes can distract from the article and make it unpleasant to look at, as in this example. This template tags articles or sections for multiple maintenance issues and then displays the alerts in a single box, as an alternative to using several space-consuming boxes.
Usage
Do not use this as the only message box on the article or section; it should be used with at least two other message boxes sandwiched inside it.
Search for the best templates to express your issues at Wikipedia:Template messages or Wikipedia:Template messages/Examples.
The syntax for the template is:
{{Multiple issues|section=| {{Issue 1}} {{Issue 2}} {{Issue 3}} ... }}
where Issue 1, Issue 2, Issue 3, etc. are article maintenance templates (see Wikipedia:Template messages/Cleanup), which take their usual parameters, and {{Ambox}} templates, which usually should not be used. Each of these templates should be placed on individual lines, but must not be separated from each other by pipes or template parameters, because that would cause some or all of the banners to be hidden.
A |section=yes|
parameter can be used to modify the template to be used below a section header.
Example for an article
{{Multiple issues| {{Orphan|date=January 2008}} {{POV|date=June 2009}} {{One source|date=March 2011}} {{Notability|Corp|date=June 2012}} }}
produces
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)
(Learn how and when to remove this template message)
|
Example for a section
{{Multiple issues|section=yes| {{Unreferenced section|date=January 2012}} {{Disputed-section|date=April 2012}} {{Expand section|1=examples and additional citations|demospace=main|date=June 2012}} }}
produces
This section has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)
(Learn how and when to remove this template message)
|
General notes
- Redundant issues: Please do not insert tags that are too similar to or redundant with each other. All articles that read like essays have an inappropriate tone, and in fact they end up in the same category, so it is unnecessary to add {{tone}} in addition to {{essay-like}}. {{Cleanup}} is very vague and so should be replaced with a more specific template.
- Too many issues: Similarly, if an article has many problems, please consider listing only the most important. A lengthy list is often less helpful than a shorter one. Remember that this tag is not intended as a badge of shame.
- Only one issue: Don't use this template for a single issue; just use the stand-alone template. See Wikipedia:Template messages/Cleanup for a list of available tags.
- Custom text: If no article maintenance template describes a problem, an {{Ambox}} lets you write custom text. Don't use it to add more than an article maintenance template says, since what is said should be concise and article maintenance templates usually are. In your custom text, link to a relevant policy or guideline so other editors understand why adherence to your Ambox is important. While an article maintenance template generally causes categorization that invites editing, an Ambox template does not, so, if at all feasible, use an article maintenance template instead.
Old syntax
Please see Template:Multiple issues/doc/old for the deprecated syntax this template used previously.
TemplateData
TemplateData for Multiple issues
<templatedata> { "description": "This template is used to tag articles or sections for multiple maintenance issues and display the alerts in a single box.", "params": { "1": { "label": "Issues", "type": "content", "description": "The issues that you want to include. Use the full template syntax, with newlines between them.", "suggested": true }, "collapsed": { "label": "Collapsed", "description": "Allows the multiple messages to be hidden by default.", "example": "yes", "type": "string", "default": "no" }, "section": { "label": "Section", "description": "Allows the word \"article\" to be replaced with \"section\".", "example": "yes", "type": "string", "default": "no" } }, "format": "inline" } </templatedata>
Tracking categories
- Category:Pages using multiple issues with unknown parameters (0)
- Category:Articles with multiple maintenance issues (0)
See also
- {{Stub}} and the Category:Stub categories for a more appropriate way to tag most very short articles.
- Template messages/Cleanup/Verifiability and sources Project