Open main menu

Changes

→‎TemplateData: "text" is currently suggested, not required
{{Documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->

== Usage ==
{{markup
|<nowiki>{{Update inline span|date</nowiki>{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki>|{{Update inline span|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
|<nowiki>{{Update inline span|?=yes|date=</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki>|{{Update inline span|?=yes|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
|<nowiki>{{Update inline span|reason=But they never mentioned it again...|date=</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki>|{{Update inline span|reason=But they never mentioned it again...|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
|<nowiki>{{Update inline span|reason=Does this still hold after so many years?|?=yes|date=</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki>|{{Update inline span|reason=Does this still hold after so many years?|?=yes|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
}}
==TemplateData==
{{TemplateDataHeader}}
<TemplateData>
{
"description": "This template should only be added to indicate a sentence that needs to be updated based on recent events.",
"params": {
"text": {
"aliases": [
"1"
],
"description": "The text needing update",
"type": "content",
"suggested": true
},
"date": {
"label": "Date",
"description": "The date this template was added to the page. (Input: Monthname Year)",
"type": "string",
"autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}",
"suggested": true
},
"reason": {
"label": "Reason",
"description": "Brief explanation of the reason why this template is placed, e.g. the event that renders accuracy of the claim questionable.",
"default": "The date of the event predicted near this tag has passed.",
"type": "string",
"required": false
},
"?": {
"label": "?",
"description": "Adds '?' to the end of template text and changes wording of caption to denote uncertainty (Input: yes)",
"type": "string",
"required": false
}
}
}
</TemplateData>

== See also ==
* {{Tl|Update}}
* {{Tl|Update inline}}
* {{Tl|Update after}}
{{Inline tags}}

<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go here; interwikis go in Wikidata. -->
[[Category:Inline cleanup templates]]
[[Category:Temporal templates]]

[[ru:Шаблон:Обновить данные]]
}}</includeonly>
Anonymous user