模板:Anachronism/doc
{{#ifeq:doc |doc
|
{{#ifeq:show |show
|
40px | This is a documentation subpage for 模板:Anachronism. 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:模板:Anachronism | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
Usage
{{Anachronism|date=11月 2024}}
Parameters
- {{SAFESUBST:#ifeq:{{safesubst:#switch: no
|no |n |f |false |off |0 = | = |¬ = |yes |y |t |true |on |1 = yes |#default = yes
}}|yes||}}{{{date{{SAFESUBST:#ifeq:{{{2}}}| ||}}}}}{{SAFESUBST:#ifeq:{{safesubst:#switch: no
|no
|n
|f
|false
|off
|0 =
| =
|¬ =
|yes
|y
|t
|true
|on
|1 = yes
|#default = yes
}}|yes||
}}: The date that the tag was placed
- {{SAFESUBST:#ifeq:{{safesubst:#switch: no
|no |n |f |false |off |0 = | = |¬ = |yes |y |t |true |on |1 = yes |#default = yes
}}|yes||}}{{{sect{{SAFESUBST:#ifeq:{{{2}}}| ||}}}}}{{SAFESUBST:#ifeq:{{safesubst:#switch: no
|no
|n
|f
|false
|off
|0 =
| =
|¬ =
|yes
|y
|t
|true
|on
|1 = yes
|#default = yes
}}|yes||
}} or {{SAFESUBST:#ifeq:{{safesubst:#switch: no
|no |n |f |false |off |0 = | = |¬ = |yes |y |t |true |on |1 = yes |#default = yes
}}|yes||}}{{{1{{SAFESUBST:#ifeq:{{{2}}}| ||}}}}}{{SAFESUBST:#ifeq:{{safesubst:#switch: no
|no
|n
|f
|false
|off
|0 =
| =
|¬ =
|yes
|y
|t
|true
|on
|1 = yes
|#default = yes
}}|yes||
}} (empty): Text to replace the word "article", usually "section"
- {{SAFESUBST:#ifeq:{{safesubst:#switch: no
|no |n |f |false |off |0 = | = |¬ = |yes |y |t |true |on |1 = yes |#default = yes
}}|yes||}}{{{small{{SAFESUBST:#ifeq:{{{2}}}| ||}}}}}{{SAFESUBST:#ifeq:{{safesubst:#switch: no
|no
|n
|f
|false
|off
|0 =
| =
|¬ =
|yes
|y
|t
|true
|on
|1 = yes
|#default = yes
}}|yes||
}}: Enter any text to make the template box small and located on the left. Leave blank to leave it unchanged.
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:Anachronism}}. |#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:Anachronism}}. |#default=[2]
}}}}
TemplateData for Anachronism
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:模板|模板 | template | other }} }}
| template = {{#if:{{#ifeq:doc|sandbox|1}}{{#ifeq:doc|doc|1}}||
}} | other | #default = }} <templatedata> {
"description": "Use this template to indicate that an article contains anachronisms (statements that do not suit the time period in question).",
"params": { "date": { "label": "Month and year", "description": "Month and year of tagging; e.g., 'January 2013', but not 'jan13'", "type": "date", "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "example": "January 2013", "suggested": true }, "sect": { "aliases": [ "1" ], "label": "Type (e.g., section)", "description": "Text to replace the word \"article\", usually \"section\"", "type": "string", "autovalue": "section", "example": "section" }, "small": { "label": "Small", "description": "Enter any text to make the template box small and located on the left. Leave blank to leave it unchanged.", "example": "y", "type": "boolean", "autovalue": "y" } }, "paramOrder": [ "date", "sect", "small" ] } </templatedata>
See also