Difference between revisions of "Template:Example needed span/doc"

From blackwiki
Jump to navigation Jump to search
imported>SUM1
(Modern dates in example)
imported>SUM1
(→‎TemplateData: Added paramOrder)
Line 46: Line 46:
 
"required": true
 
"required": true
 
}
 
}
}
+
},
 +
"paramOrder": [
 +
"1",
 +
"date"
 +
]
 
}
 
}
 
</templatedata>
 
</templatedata>

Revision as of 17:36, 5 February 2020

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

  • {{{date}}}: The date the tag was added
  • {{{text}}} or {{{1}}} (empty): The text that is considered to need one or more examples

Example

Input:

{{Example needed-span|Lorem ipsum dolor sit amet|date=March 2026}}

Result:

Lorem ipsum dolor sit amet[example needed]

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 Example needed span

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

Template parameters

ParameterDescriptionTypeStatus
Text needing examples1 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

See also