Difference between revisions of "Template:Chronological/doc"
Jump to navigation
Jump to search
imported>Salix alba (fix json) |
imported>Salix alba (expand template data) |
||
| Line 9: | Line 9: | ||
== Usage == | == Usage == | ||
{{TemplateData header}} | {{TemplateData header}} | ||
| − | <templatedata>{ | + | <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" | |
| − | }</templatedata> | + | ], |
| + | "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 == | == Example == | ||
Revision as of 10:34, 29 February 2016
| This is a documentation subpage for Template:Chronological. It contains usage information, categories and other content that is not part of the original template page. |
Purpose
The purpose of this template is to notify editors that the article or section within the article may contain a sequence of events that is described in an ambiguous way or out of order in which they occurred.
This template is a wrapper for Template:Temp.
Usage
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Chronological
Creates an article message box to indicate that the article or section chronology is ambiguous or out of order.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| sect | sect 1 section | Whether the template applies to section instead of article
| String | optional |
| Small | small | Whether the box is displayed as a small box on the left or full width.
| Line | optional |
| Talk | talk | Talk page section | Line | optional |
| Date | date | Date template was added.
| Line | suggested |
Example
| Markup | Renders as | ||
|---|---|---|---|
{{Chronological|date=January 2026}}
|
| ||
{{Chronological|sect=yes|date=January 2026}}
|
| ||