Difference between revisions of "Template:Current event inline/doc"

From blackwiki
Jump to navigation Jump to search
imported>SMcCandlish
m (SMcCandlish moved page Template:Currentevent-inline/doc to Template:Current event inline/doc: following move of parent template)
imported>SUM1
(Added TemplateData and usage info)
Line 4: Line 4:
 
== Usage ==
 
== Usage ==
  
== See also ==
+
This inline template is used to indicate that a statement may be outdated and in need of updating or removal.
 +
 
 +
Parameters:
 +
* {{Param|date}}: The date the tag was added.
 +
 
 +
== TemplateData ==
 +
{{TemplateData header}}
 +
<templatedata>
 +
{
 +
    "description": "Use this inline template indicate that a statement may be outdated and in need of updating or removal.",
 +
"params": {
 +
"date": {
 +
"label": "Month and year",
 +
"description": "Month and year of tagging; e.g., 'January 2013', but not 'jan13'",
 +
"type": "string",
 +
"autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}",
 +
"example": "January 2013",
 +
"suggested": true
 +
}
 +
}
 +
}
 +
</templatedata>
 +
 
 +
<!-- == See also == -->
  
 
<includeonly>
 
<includeonly>
 
<!-- Categories and interwikis go here: -->
 
<!-- Categories and interwikis go here: -->
 
[[Category:Inline cleanup templates]]
 
[[Category:Inline cleanup templates]]
 +
[[Category:Time and date maintenance templates]]
 
</includeonly>
 
</includeonly>

Revision as of 10:09, 5 February 2020

Usage

This inline template is used to indicate that a statement may be outdated and in need of updating or removal.

Parameters:

  • {{{date}}}: The date the tag was added.

TemplateData

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 Current event inline

Use this inline template indicate that a statement may be outdated and in need of updating or removal.

Template parameters

ParameterDescriptionTypeStatus
Month and yeardate

Month and year of tagging; e.g., 'January 2013', but not 'jan13'

Example
January 2013
Auto value
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Stringsuggested