wikilife>Vanisaac 小 (→See also:clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
(没有差异)
|
2020年4月27日 (一) 11:45的版本
{{#ifeq:doc |doc
|
{{#ifeq:show |show
|
40px | This is a documentation subpage for 模板:Unfocused. 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:模板:Unfocused | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
40x40px | This template should not be substituted. |
Usage
This template is used to signal that the article taken as a whole may lack a single, central point of focus or appears to be about more than one topic. It may benefit from being split.
- This template places articles into Category:Wikipedia articles lacking focus.
- This template is a self-reference.
- Please use the
|{{SAFESUBST:#if:reason|reason=}}
parameter to provide details.
- Placement and talk
This is a dispute template which should be placed at the top of the article.
After posting this template, please start a section on the article's talk page to discuss. You can use the optional |{{SAFESUBST:#if:talk|talk=}}
parameter to specify the name of a specific section on the talk page.
If the article appears to be about two or more specific topics, or meanders such that you cannot identify a single central focus, please specify this using the |{{SAFESUBST:#if:reason|reason=}}
parameter.
- Example of use
{{Unfocused|reason=the article covers both widgets and doodads and should be split|date=11月 2024}}
This renders as:
This {{#if:|section|article}} may lack focus or may be about more than one topic. {{#if:the article covers both widgets and doodads and should be split|In particular, the article covers both widgets and doodads and should be split.}}11月 2024) ( |
{{#ifeq:{{{small}}}|left|}}
Do not capitalize the beginning of the reason, since it is preceded by, "In particular, ". Also do not add a full stop at the end of the reason because the template automatically supplies it.
Notes:
- The date-substitution template may be used to automatically generate the date, e.g.,
{{Unfocused|{{SUBST:DATE}}}}
. See Help:Substitution for more information. - The
|{{SAFESUBST:#if:date|date=}}
parameter need not be added by the editor: if not entered, a bot will soon add it. The date parameter consists of the full English name of the current month with initial capital, a space, and the year, not full dates; e.g., "January 2013", but not "jan13". Any deviation from these two rules will result in an "invalid date parameter" error.
Parameters
|{{SAFESUBST:#if:date|date=}}11月 2024
- required parameter, will be added by a bot if omitted|{{SAFESUBST:#if:reason|reason=}}text
- optional parameter which adds advisory text|{{SAFESUBST:#if:talk|talk=}}section
- optional parameter which indicates the talk page section|{{SAFESUBST:#if:section|section=}}yes
- optional parameter which replaces the word "article" with the word "section" to indicate that it is the section where it is placed that lacks focus
Examples
- Paste-ready example:
{{Unfocused|date=11月 2024}}
- Example with reason:
{{Unfocused|date=11月 2024|reason=}}
- Example with talk:
{{Unfocused|date=11月 2024|talk=}}
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:Unfocused}}. |#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:Unfocused}}. |#default=[2]
}}}}
TemplateData for Unfocused
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:模板|模板 | template | other }} }}
| template = {{#if:{{#ifeq:doc|sandbox|1}}{{#ifeq:doc|doc|1}}||
}} | other | #default = }} <templatedata>{ "description": "A template to indicate that an article is unfocused", "params": { "date": { "label": "Date", "description": "The month and year the template was added", "example": "October 2015", "autovalue": "{{SUBST:CURRENTMONTHNAME}} {{SUBST:CURRENTYEAR}}", "type": "string", "required": true }, "reason": { "label": "Reason", "description": "A reason for adding the template", "type": "string" }, "talk": { "label": "Talk", "aliases": ["1"], "description": "The section heading on the article's talk page with relevant discussion", "type": "string" } }}</templatedata>
Redirects
- {{Incoherent}}
- {{Incoherent-topic}}
- {{Lacks focus}}
See also
- {{Confusing}}, when the specific wording of the article is at issue, rather than overall focus
- Wikipedia:Template messages/Cleanup for an overview of clean up templates.