“模板:Chronological”的版本间的差异

wikilife>Cobaltcigs
(phrasing)
 
Ph9讨论 | 贡献
(导入1个版本)
 
(没有差异)

2020年12月27日 (日) 14:51的最新版本

{{#ifeq:|left|}}

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

{{#ifeq:chronological |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:Chronol|sandbox|1}}{{#ifeq:Chronological|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:|


}}

{{#ifeq:Chronological|sandbox | |

}}