模板:MOS

Ph9讨论 | 贡献2020年12月27日 (日) 14:46的版本 (导入1个版本)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

{{#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
     |}}}}}}
50px Template documentation[view] [edit] [history] [purge]

{{#ifeq:mos |doc

    | 

{{#ifeq:show |show

|
        }}{{#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

Notes

Redirects

  1. {{mos}}
  2. {{MOS1}}

See also

{{#if:{{#ifeq:MOS|sandbox|1}}{{#ifeq:MOS|doc|1}}||

}}