模板:Chronological/doc

< 模板:Chronological
Ph9讨论 | 贡献2020年12月27日 (日) 14:51的版本 (导入1个版本)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

        }}{{#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

{{#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: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}}
{{#ifeq:|left|}}

}}{{#if:{{Chronological|sect=yes|date=11月 2024}}|

{{Chronological|sect=yes|date=11月 2024}}
{{#ifeq:|left|}}

}}{{#if:|


}}{{#if:|


}}{{#if:|


}}{{#if:|


}}{{#if:|


}}{{#if:|


}}{{#if:|


}}{{#if:|


}}{{#if:|


}}{{#if:|


}}{{#if:|


}}{{#if:|


}}{{#if:|


}}{{#if:|


}}{{#if:|


}}{{#if:|


}}{{#if:|


}}{{#if:|


}}