“模板:Over-quotation”的版本间的差异

wikilife>Anomie
(没有差异)

2020年2月10日 (一) 03:00的版本

{{#ifeq:模板|模板||}}

{{#ifeq:{{{small}}}|left|}}{{#ifeq:{{ safesubst:#if:

 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|模板:Over-quotation}}|1}}
 | {{ safesubst:#if:|{{{1}}}|模板:Over-quotation}}

}}|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:over-quotation |doc

    | 

{{#ifeq:show |show

|
        }}{{#if: |
         |   {{#ifexist:模板:Over-quotation
                  | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

Usage

This template should not be substituted.

If there are too many or overly lengthy quotations in a given article, paste this at the top of the article in question:

{{Over-quotation|date=11月 2024}}

It takes a numbered or unnumbered first parameter as a substitute for the word "article", e.g. |section. Using |{{SAFESUBST:#if:section|section=}}yes or |{{SAFESUBST:#if:section|section=}}y will also output the specific word "section".

Like all other cleanup templates, it accepts |{{SAFESUBST:#if:date|date=}}11月 2024 or |{{subst:DATE}}.

For more specific wording, |{{SAFESUBST:#if:many|many=}}y limits the complaint to too many quotations, while |{{SAFESUBST:#if:lengthy|lengthy=}}y limits it to overly lengthy quotations.

When an article uses both too many and overly lengthy quotations, use neither parameter, or explicitly use |{{SAFESUBST:#if:both|both=}}y (trying |{{SAFESUBST:#if:many|many=}}y|{{SAFESUBST:#if:lengthy|lengthy=}}y will suppress, not show, both).

Notes

This template will add tagged articles to dated subcategories of Category:Wikipedia articles with style issues by month and to Category:All articles with style issues.

This template is a self-reference.

See also

{{#if:{{#ifeq:Over-qu|sandbox|1}}{{#ifeq:Over-quotation|doc|1}}|| }}