Template:Example needed span/doc

From WikiProjectMed
Jump to navigation Jump to search

Usage

This inline template is used to highlight text that may need one or more examples.

{{Example needed-span|Text needing an example|date=Month and year}}

Parameters

  • |text= or |1= (or an empty parameter): the text that is considered to need one or more examples
  • |date=: the date the tag was added
  • |plural=: enter 'y' or 'yes' to change 'example' to 'examples'.

Example

Input:

{{Example needed-span|Lorem ipsum dolor sit amet|date=April 2024}}

Result:

Lorem ipsum dolor sit amet[example needed]

Input with plural setting:

{{Example needed-span|Lorem ipsum dolor sit amet|date=April 2024|plural=y}}

Result:

Lorem ipsum dolor sit amet[examples needed]

TemplateData

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

TemplateData for Example needed span

Use this inline template to highlight text that may need one or more examples.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text needing an example1 text

The text that is considered to need one or more examples

Stringrequired
Month and yeardate

Month and year of tagging; e.g., 'January 2013', but not 'jan13'

Example
January 2013
Auto value
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Stringsuggested
Pluralplural

Enter 'y' or 'yes' to change 'example' to 'examples'.

Example
y
Auto value
y
Stringoptional

See also