Template:Current event inline: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
Squareblob (talk | contribs) m (1 revision imported) |
en>AnomieBOT II m (Unsubstifying template, so {{subst:Current event inline}} results in {{Current event inline|date=...}}) |
||
Line 1: | Line 1: | ||
{{ {{{|safesubst:}}}#invoke:Unsubst||date=__DATE__|$B= |
|||
<!--{{Current event inline}} begin-->{{Fix |
<!--{{Current event inline}} begin-->{{Fix |
||
| subst = <includeonly>{{subst:substcheck}}</includeonly> |
| subst = <includeonly>{{subst:substcheck}}</includeonly> |
||
| link = Portal:Current events |
| link = Portal:Current events |
||
| text = {{#if:{{{date|}}}|may be outdated as of {{{date}}}|may be outdated}} |
| text = {{#if:{{{date|}}}|{{#if:{{{hide|}}}|may be outdated|may be outdated as of {{{date}}}}}|may be outdated}} |
||
| class = noprint Template-Fact |
| class = noprint Template-Fact |
||
| title = This statement refers to current events and needs references to newer reliable sources. |
| title = This statement refers to current events and needs references to newer reliable sources. |
||
| date = {{{date|}}} |
| date = {{{date|}}} |
||
| cat = [[Category:All Wikipedia articles in need of updating]] |
|||
⚫ | |||
| cat-date = Category:Wikipedia articles in need of updating |
|||
⚫ | |||
}}<noinclude> |
|||
{{Documentation}} |
{{Documentation}} |
||
</noinclude> |
</noinclude> |
Revision as of 00:02, 15 February 2020
Usage
{{Current event inline}}
creates [may be outdated].
{{Current event inline|date=May 2024}}
creates [may be outdated as of May 2024].
{{Current event inline|date=May 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
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Current event inline
Use this inline template indicate that a statement may be outdated and in need of updating.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Month and year | date | Month and year of tagging; e.g., 'January 2013', but not 'jan13'. Adds this to the template text, after 'as of'.
| String | suggested |
Hide date from text | hide | Enter any text in this parameter to hide the date from the template text. For use in conjunction with 'date'.
| String | suggested |