模板:MOS
This {{#if:|section|}} needs editing for compliance with Wikipedia's {{#if:|Manual of Style at [[{{{shortcut}}}]]|Manual of Style}}. {{#if:|In particular, it has problems with {{{for}}}.}} (11月 2024) (Learn how and when to remove this template message) |
{{#ifeq:|left|}}{{#ifeq:{{ safesubst:#if:
| {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|模板:MOS}}|1}} | {{ safesubst:#if:|{{{1}}}|模板:MOS}}
}}|Wikipedia:Template messages||{{#ifexpr:{{#if:模板|0|1}}+{{#ifeq:yes|yes|0|1}}
|{{#if: |{{#ifexist:Category:Wikipedia articles with style issues from ||}} |[[Category:{{#if:Wikipedia articles with style issues by month |Wikipedia articles with style issues by month|Wikipedia articles with style issues}}]]}}{{#if:All articles with style issues |}}}}}}
{{#ifeq:mos |doc
|
{{#ifeq:show |show
|40px | This is a documentation subpage for 模板:MOS. 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:模板:MOS | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
This template should be used when the article appears to use styles that may be confusing to the layman, or even to everyone.
Unless the tag is being placed in response to a discussion already underway, it is advisable to add a new topic to the talk page explaining the problem so editors will know what to address, and when to remove this tag.
Usage编辑
- Simple
{{MOS|{{subst:DATE}}}}
- Giving a reason
{{MOS|{{subst:DATE}}|reason=not using logical quotation}}
Placement编辑
Place at the top of the article to alert editors that the article needs one or more kinds of non-trivial style cleanup throughout:
{{MOS|{{subst:DATE}}}}
For articles needing only minor clean-up, place {{MOS|{{subst:DATE}}}}
at the top of the article's talk page to alert editors.
- Sections
- To mark specific sections instead of the whole article, place
{{MOS|section|{{subst:DATE}}}}
at the top of the section.
Parameters编辑
section编辑
|section
or|{{SAFESUBST:#if:1|1=}}section
or|{{SAFESUBST:#if:section|section=}}y
— changes the word "article" to "section" in the first sentence of the template.
reason编辑
|{{SAFESUBST:#if:reason|reason=}}text
or|{{SAFESUBST:#if:2|2=}}text
(or|{{SAFESUBST:#if:for|for=}}text
, as used by{{Copyedit}}
) — gives a particular reason in the form "In particular, it has problems with text.", e.g. "using unexplained acronyms", "capitalizing things that are not proper names", "US/UK spelling consistency", etc.
subpage and subsection编辑
|{{SAFESUBST:#if:subpage|subpage=}}/MOS subpage name
or|{{SAFESUBST:#if:subpage|subpage=}}#MOS subsection name
or|{{SAFESUBST:#if:3|3=}}/MOS subpage name
or|{{SAFESUBST:#if:3|3=}}#MOS subsection name
— extends the MOS link to go directly to a more specific MOS subpage and/or subsection. Examples: To have the template link to WP:Manual of Style/Icons, use|{{SAFESUBST:#if:subpage|subpage=}}/Icons
; for WP:Manual of Style#Ampersand use|{{SAFESUBST:#if:subpage|subpage=}}#Ampersand
; for WP:Manual of Style/Capital letters#Proper names use|{{SAFESUBST:#if:subpage|subpage=}}/Capital letters#Proper names
. Note: Because subpages and section titles are case-sensitive, this parameter is as well. The proper/
and#
characters must be included for the link to work.
shortcut编辑
|{{SAFESUBST:#if:shortcut|shortcut=}}MOS: or WP: shortcut
— for the rare case that a provision in the Manual of Style has a shortcut to it, but is not the subject of its own subpage or subsection for linking (i.e., there is no other way to link to it directly). E.g., for the advice about capitalization of doctrines, at the bottom of the WP:Manual of Style/Capital letters#Religions, deities, philosophies, doctrines and their adherents section, use|{{SAFESUBST:#if:shortcut|shortcut=}}MOS:DOCTCAPS
.
Notes编辑
- This template will add tagged articles to Category:Wikipedia articles with style issues.
- This template is a self-reference.
- Please do not subst: this template.
Redirects编辑
See also编辑
{{#if:{{#ifeq:MOS|sandbox|1}}{{#ifeq:MOS|doc|1}}||
}}