模板:Inappropriate person/doc

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

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

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

Usage

This template has three optional fields:

  1. article or section,
  2. i, we, first-person (for both we and I), you, or second-person (same as "you"), and
  3. an adverb (like inappropriately or excessively).

For instance, "{{inappropriate person|section|i|excessively}}" results in:

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

 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|模板:Inappropriate person/doc}}|1}}
 | {{ safesubst:#if:|{{{1}}}|模板:Inappropriate person/doc}}

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

Leaving the arguments undefined is acceptable; the template will show the default text listed on this page.

Alternative

If the problem is correctable with the skills you already possess, consider being bold and fixing it yourself, rather than applying this tag and leaving it for someone else to clean up.

Notes

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

This template is a self-reference.

Shortcuts

  • {{you|article}} for {{inappropriate person|article|second-person|inappropriately}}; or simply {{you}} for the default.

See also