Template:Update inline/doc

From Timelines
Jump to: navigation, search

Usage

Markup Renders as
{{Update inline|date=November 2024}}
{{Update inline|?=yes|date=November 2024}}
{{Update inline|reason=But they never mentioned it again...|date=November 2024}}
{{Update inline|reason=Does this still hold after so many years?|?=yes|date=November 2024}}

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

TemplateData for Update inline

<TemplateData> {

       "description": "This template should only be added to indicate a sentence that needs to be updated based on recent events.",
       "params": {
               "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