Template:Update inline/doc

From Pantonian Republic Wiki
< Template:Update inline
Revision as of 03:05, 4 June 2022 by wikipedia>N8wilson (Document alternate categorization used when ? param is set.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This inline tag is used to indicate that a small portion of an article (usually a sentence or paragraph) is in need of an update.

Usage

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

This template will add mainspace articles to Category:Wikipedia articles in need of updating or Category:Articles containing potentially dated statements if the ? param is specified. Categories are not populated for pages in other namespaces.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template in articles based on this TemplateData.

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, "suggested": true }, "?": { "label": "?", "description": "Adds '?' to the end of template text, changes caption to denote uncertainty, and applies \"potentially dated\" maintenance categories. (Input: yes)", "type": "string", "required": false } } } </TemplateData>

See also