{{#ifeq:doc |doc
|
{{#ifeq:show |show
|
40px | This is a documentation subpage for 模板:Multiple issues. It contains usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:模板 |用户 |模板 template page |{{#if:模板 |模板 page|article}}}}}}}}. |
}}{{#if: | | {{#ifexist:模板:Multiple issues | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
50x40px | 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! {{#if:| {{{1}}}}} |
{{#if:||{{#ifeq:Multiple issues/doc|Multiple issues|}}}}
44x50px | 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.{{#if:| {{{1}}}}} |
{{#if:||{{#ifeq:Multiple issues/doc|Multiple issues|}}}}
80px | This 模板 {{#if:{{safesubst:#switch:
|no |n |f |false |off |0 = | = |¬ = |yes |y |t |true |on |1 = yes |#default = yes }}| and subcategories are | is }} used by one or more bots. If you intend to change this 模板 in any significant way or nominate it for deletion, please inform the bot operators. Thank you. {{#if:cewbot|The relevant bots are: cewbot.}} |
40px | This template is used on 116,000+ pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. Transclusion count updated automatically (see documentation). |
30px | 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 contained 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 |{{SAFESUBST:#if:section|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
<div {{#if:
{{#if:|}} (Learn how and when to remove this template message){{#switch: {{#if: | {{{demospace}}} | {{#ifeq:模板|模板:Ns:Draft | draft | other }} }} | draft = | other | #default = {{#ifeq:{{{small}}}|left|}}}}
|class="mw-collapsible {{#ifeq:{{{collapsed}}}|yes|mw-collapsed}}"}} style="width:95%; margin: 0.2em 0;">This {{#if:|section|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) {{#if: {{#switch: {{#if: | {{{demospace}}} | {{#ifeq:模板|模板:Ns:Draft | draft | other }} }} | draft = | other | #default = {{#ifeq:{{{small}}}|left|}}}}
{{#switch: {{#if: | {{{demospace}}} | {{#ifeq:模板|模板:Ns:Draft | draft | other }} }} | draft = | other | #default = {{#ifeq:{{{small}}}|left|}}}}
| 模板:Error }} |
{{#ifeq:{{{small}}}|left|}}
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
<div {{#if:
{{#if:|}} (Learn how and when to remove this template message)
|class="mw-collapsible {{#ifeq:{{{collapsed}}}|yes|mw-collapsed}}"}} style="width:95%; margin: 0.2em 0;">This {{#if:yes|section|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) {{#if:
| 模板:Error }} |
{{#ifeq:{{{small}}}|left|}}
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 whenever possible.
- 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编辑
|={{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|S|s}}ee the monthly parameter usage report for {{#if:|[[Template:]]|this template}}.
|None|none=Parameter usage report |for|For=Parameter usage report for {{#if:|[[Template:]]|Template:Multiple issues}}. |#default=[1]
}}|This is the {{#if:|TemplateData|TemplateData}} documentation for this template used by VisualEditor and other tools; {{#switch:
|={{#ifeq:{{safesubst:#switch: yes |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|S|s}}ee the monthly parameter usage report for {{#if:|[[Template:]]|this template}}.
|None|none=Parameter usage report |for|For=Parameter usage report for {{#if:|[[Template:]]|Template:Multiple issues}}. |#default=[2]
}}}}
TemplateData for Multiple issues
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:模板|模板 | template | other }} }}
| template = {{#if:{{#ifeq:doc|sandbox|1}}{{#ifeq:doc|doc|1}}||
}} | other | #default = }} <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:{{#ifeq:Pages usi|Category:|模板:Str right|Pages using multiple issues with unknown parameters}}|{{#if:|{{{name}}}|Category:{{#ifeq:Pages usi|Category:|模板:Str right|Pages using multiple issues with unknown parameters}}}}]] (0)
- [[:Category:{{#ifeq:Articles |Category:|模板:Str right|Articles with multiple maintenance issues}}|{{#if:|{{{name}}}|Category:{{#ifeq:Articles |Category:|模板:Str right|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