模板:Update inline span/doc

来自决策链云智库

Usage

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

Example

Input:

Result:

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Update inline span in articles based on its TemplateData.

TemplateData for Update inline span

This template should only be added to indicate a sentence that needs to be updated based on recent events.

模板参数

参数描述类型状态
Texttext1

The text needing update

内容推荐
Month and yeardate

The date this template was added to the page

示例值
January 2013
自动值
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
字符串推荐
Reasonreason

Brief explanation of the reason why this template is placed, e.g. the event that renders accuracy of the claim questionable

默认值
The date of the event predicted near this tag has passed.
字符串可选
??

Adds '?' to the end of template text and changes wording of caption to denote uncertainty. (Input: anything)

示例值
yes
自动值
yes
字符串可选

See also