“模板:False version/doc”的版本间的差异

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

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

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

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

This template adds a notice to the top of a page alerting readers of a false version of the page that has spread elsewhere on the internet.

Usage编辑

Place {{False version|date=23 11月 2024}} at the top of the relevant article.

TemplateData编辑

{{#if:|{{#switch:
|={{#ifeq:{{safesubst:#switch: {{{lc}}}
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|S|s}}ee the monthly parameter usage report for {{#if:|[[Template:]]|this template}}.

|None|none=Parameter usage report
|for|For=Parameter usage report for {{#if:|[[Template:]]|Template:False version}}.
|#default=[1]

}}|This is the {{#if:|TemplateData|TemplateData}} documentation for this template used by VisualEditor and other tools; {{#switch:

|={{#ifeq:{{safesubst:#switch: yes
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|S|s}}ee the monthly parameter usage report for {{#if:|[[Template:]]|this template}}.

|None|none=Parameter usage report
|for|For=Parameter usage report for {{#if:|[[Template:]]|Template:False version}}.
|#default=[2]

}}}}

TemplateData for False version

{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:模板|模板
   | template
   | other
   }}
 }}

| template = {{#if:{{#ifeq:doc|sandbox|1}}{{#ifeq:doc|doc|1}}||

}} | other | #default = }} <templatedata> { "description": "Use this template to add a notice to the top of a page alerting readers of a false version of the page that has spread elsewhere on the internet.", "format": "inline", "params": { "date": { "label": "Month and year", "description": "The month and year that the template was placed (in full). \"{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}\" inserts the current month and year automatically.", "type": "line", "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "example": "January 2013", "suggested": true }, "talk": { "label": "Talk page section", "description": "Section name on the talk page for further discussion", "type": "line" }, "what": { "label": "Affected area", "description": "Text to replace the word \"article\", usually \"section\".", "type": "line", "autovalue": "section", "example": "section", "deprecated": "true" }, "small": { "label": "Make box small", "description": "Enter \"left\" here to make the template box small and aligned to the left. This is not normally recommended.", "type": "line", "autovalue": "left", "example": "left" }, "style": { "label": "CSS", "description": "For custom CSS properties (without quotations) that affect the whole template.", "type": "string", "example": "border-radius:8px;" } }, "paramOrder": [ "date", "talk", "what", "small", "style" ] } </templatedata>

See also编辑

  • {{Hoax}}, for articles believed to be a hoax

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