模板:Contradicts others/doc

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

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

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

This template will categorise tagged articles into Category:Articles contradicting other articles.

There are several optional parameters:

  • The first is an article name; providing this argument adds a link to the article
  • Further parameters are optional and specify other contradicting articles (template should work for >=1 contradicting article)
  • You can optionally specify talk page for discussion using "discuss = <talk page name>". Add an anchor after if you want ("discuss = <talk page name>#section")
  • A further optional date parameter may be supplied in the format date = <month> <year>.

Examples of use:

{{Contradicts others|Alice|discuss=Talk:Alice|Bob|Carol}} becomes

{{#ifeq:{{{small}}}|left|}} {{Contradicts others|Alice|discuss=Talk:Carol#problem|Bob|Carol}} becomes

{{#ifeq:{{{small}}}|left|}} {{Contradicts others|a}} becomes

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

TemplateData编辑

<templatedata> { "params": { "1": {}, "2": {}, "3": {}, "4": {}, "5": {}, "6": {}, "7": {}, "8": {}, "9": {}, "10": {}, "11": {}, "12": {}, "13": {}, "14": {}, "15": {}, "16": {}, "17": {}, "18": {}, "19": {}, "20": {}, "21": {}, "discuss": {}, "date": {} }, "description": "Contradiction of MANY others" } </templatedata>

See also编辑