模板:False version

wikilife>Trialpears2020年10月5日 (一) 17:04的版本 (TFD closed as keep (XFDcloser))
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

{{#ifeq:|left|}}

50px Template documentation[view] [edit] [history] [purge]

{{#ifeq:false version |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=27 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:False v|sandbox|1}}{{#ifeq:False version|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:False v|sandbox|1}}{{#ifeq:False version|doc|1}}|| }}