wikilife>Sdkb (Better cat) |
(没有差异)
|
2020年4月26日 (日) 12:15的版本
{{#ifeq:doc |doc
|
{{#ifeq:show |show
|
40px | This is a documentation subpage for 模板:False version. It contains usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:模板 |用户 |模板 template page |{{#if:模板 |模板 page|article}}}}}}}}. |
}}{{#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.
- This template is a self-reference.
- Please do not subst: this template.
TemplateData
|={{#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}}|| }}