“模板:Inappropriate person/doc”的版本间的差异

wikilife>JsfasdF252
 
Ph9讨论 | 贡献
(导入1个版本)
 
(没有差异)

2020年12月27日 (日) 14:47的最新版本

{{#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编辑