Template:Current event inline/doc
This is a documentation subpage for Template:Current event inline. It contains usage information, categories and other content that is not part of the original Template page. |
[[Category:Template documentation pages{{#translation:}}]]
Usage
{{Current event inline}}
creates [may be outdated].
{{Current event inline|date=November 2024}}
creates [may be outdated as of November 2024].
{{Current event inline|date=November 2024|hide=y}}
creates [may be outdated].
Parameters
|date=
: the date the tag was added. This gets added to the template text, after "as of".|hide=
: enter any text in this parameter to hide the date from the template text. For use in conjunction with "date".
TemplateData
TemplateData for Current event inline
<templatedata> {
"description": "Use this inline template indicate that a statement may be outdated and in need of updating.",
"format": "inline", "params": { "date": { "label": "Month and year", "description": "Month and year of tagging; e.g., 'January 2013', but not 'jan13'. Adds this to the template text, after 'as of'.", "type": "string", "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "example": "January 2013", "suggested": true }, "hide": { "label": "Hide date from text", "description": "Enter any text in this parameter to hide the date from the template text. For use in conjunction with 'date'.", "type": "string", "example": "y", "suggested": true } }, "paramOrder": [ "date", "hide" ] } </templatedata>