模板:Chronological/doc
{{#ifeq:doc |doc
|
{{#ifeq:show |show
|
40px | This is a documentation subpage for 模板:Chronological. 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:模板:Chronological | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
Purpose编辑
The purpose of this template is to notify editors that the article or section within the article may describe a sequence of events in an ambiguous, backward, or otherwise incorrect order of occurrence.
This template is a wrapper for {{Ambox}}.
Usage编辑
|={{#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:Chronological}}. |#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:Chronological}}. |#default=[2]
}}}}
TemplateData for Chronological
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:模板|模板 | template | other }} }}
| template = {{#if:{{#ifeq:doc|sandbox|1}}{{#ifeq:doc|doc|1}}||
}} | other | #default = }} <templatedata> { "description": "Creates an article message box to indicate that the article or section chronology is ambiguous or out of order.", "params": { "sect": { "label": "sect", "description": "Whether the template applies to section instead of article", "type": "string", "required": false, "suggested": false, "deprecated": false, "aliases": [ "1", "section" ], "example": "yes" }, "small": { "description": "Whether the box is displayed as a small box on the left or full width.", "example": "left, no", "default": "no", "type": "line" }, "talk": { "description": "Talk page section", "type": "line" }, "date": { "description": "Date template was added. ", "example": "February 2016", "suggested": true, "type": "line" } }, "format": "inline" } </templatedata>
Example编辑
{{#if: ||+ {{{title}}}}} {{#if: |Markup | Renders as
}}{{#if:{{Chronological|date=11月 2024}}| | |||||||||||||||||
{{Chronological|date=11月 2024}} |
}}{{#if:{{Chronological|sect=yes|date=11月 2024}}| | |||||||||||||||||
{{Chronological|sect=yes|date=11月 2024}} |
}}{{#if:| | |||||||||||||||||
}}{{#if:| | ||||||||||||||||||
}}{{#if:| | ||||||||||||||||||
}}{{#if:| | ||||||||||||||||||
}}{{#if:| | ||||||||||||||||||
}}{{#if:| | ||||||||||||||||||
}}{{#if:| | ||||||||||||||||||
}}{{#if:| | ||||||||||||||||||
}}{{#if:| | ||||||||||||||||||
}}{{#if:| | ||||||||||||||||||
}}{{#if:| | ||||||||||||||||||
}}{{#if:| | ||||||||||||||||||
}}{{#if:| | ||||||||||||||||||
}}{{#if:| | ||||||||||||||||||
}}{{#if:| | ||||||||||||||||||
}}{{#if:| | ||||||||||||||||||
}}{{#if:| | ||||||||||||||||||
}}{{#if:| | ||||||||||||||||||
}} | ||||||||||||||||||