Difference between revisions of "Template:Current event inline/doc"

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎TemplateData: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 45: Line 45:
  
 
<!-- == See also == -->
 
<!-- == See also == -->
 +
{{Inline tags}}
  
 
<includeonly>{{Sandbox other||
 
<includeonly>{{Sandbox other||

Latest revision as of 22:49, 15 July 2020

Usage

{{Current event inline}} creates [may be outdated].

{{Current event inline|date=November 2025}} creates [may be outdated as of November 2025].

{{Current event inline|date=November 2025|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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Month and yeardate

Month and year of tagging; e.g., 'January 2013', but not 'jan13'. Adds this to the template text, after 'as of'.

Example
January 2013
Auto value
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Stringsuggested
Hide date from texthide

Enter any text in this parameter to hide the date from the template text. For use in conjunction with 'date'.

Example
y
Stringsuggested