Difference between revisions of "Template:Chronological/doc"

From blackwiki
Jump to navigation Jump to search
imported>BoBoMisiu
(Created page, moved existing documentation from revision 587896694 of Template:Chronological.)
 
imported>BoBoMisiu
(Expanding documentation.)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 +
__NOTOC__
 +
== 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 {{temp|Ambox}}.
 +
 
== Usage ==
 
== Usage ==
The purpose of this template is to notify editors that the sections within the article may not be in the proper order of when they occurred.
+
{{TemplateData header}}
This template can be used
+
<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": "Applies to section instead of article",
 +
"type": "string",
 +
"required": false,
 +
"suggested": false,
 +
"deprecated": false,
 +
"aliases": ["1",],
 +
"example": "yes",
 +
    }
 +
  }
 +
}</templatedata>
 +
 
 +
== Example ==
 +
{{markup
 +
|<nowiki>{{Chronological|date=</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki>
 +
|{{Chronological|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
 +
|<nowiki>{{Chronological|sect=yes|date=</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki>
 +
|{{Chronological|sect=yes|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
 +
}}
  
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |

Revision as of 18:08, 20 February 2016

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

Syntax error in JSON.

Example

Markup Renders as
{{Chronological|date=January 2026}}
{{Chronological|sect=yes|date=January 2026}}