Template:Update span/doc
This is a documentation subpage for Template:Update span. It contains usage information, categories and other content that is not part of the original Template page. |
[[Category:Template documentation pages{{#translation:}}]]
This template is used on approximately 2,700 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
Markup | Renders as |
---|---|
{{Update span|date=January 2025}} |
|
{{Update span|?=yes|date=January 2025}} |
|
{{Update span|reason=But they never mentioned it again...|date=January 2025}} |
|
{{Update span|reason=Does this still hold after so many years?|?=yes|date=January 2025}} |
|
Example
Input:
{{Update span|Lorem ipsum dolor sit amet.|reason=But they never mentioned it again...|date=January 2025}}
Result:
- Lorem ipsum dolor sit amet.[needs update]
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Update span in articles based on its TemplateData.
TemplateData for Update span
<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" ],
"label": "Text",
"description": "The text needing update", "type": "content",
"suggested": true
},
"date": { "label": "Month and year", "description": "The date this template was added to the page", "type": "string", "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}",
"example": "January 2013",
"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: anything)", "type": "string",
"autovalue": "yes", "example": "yes",
"required": false } }
} </TemplateData>
See also
- {{Update}}
- {{Update inline}}
- {{Update after}}