Difference between revisions of "Template:Example needed span"
Jump to navigation
Jump to search
imported>SUM1 (Removed 's' option) |
imported>Andrybak (add automatic tracking of misuse in the article namespace into Category:Pages with misused citation needed templates) |
||
Line 1: | Line 1: | ||
{{ {{{|safesubst:}}}#invoke:Unsubst||date=__DATE__|$B= | {{ {{{|safesubst:}}}#invoke:Unsubst||date=__DATE__|$B= | ||
{{Fix-span | {{Fix-span | ||
− | | content = {{{text|{{{1|<includeonly>{{error|This template '''must''' be used with non-empty {{para|text}} parameter!}}</includeonly><noinclude>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</noinclude>}}}}}} | + | | content = {{{text|{{{1|<includeonly>{{main other|[[Category:Pages with misused citation needed templates|{{NAMESPACE}} {{PAGENAME}}]]}}{{error|This template '''must''' be used with non-empty {{para|text}} parameter!}}</includeonly><noinclude>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</noinclude>}}}}}} |
| name = Example needed-span | | name = Example needed-span | ||
| link = Wikipedia:AUDIENCE | | link = Wikipedia:AUDIENCE |
Latest revision as of 23:27, 2 November 2020
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[example needed]
Contents
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=July 2025}}
Result:
- Lorem ipsum dolor sit amet[example needed]
Input with plural setting:
{{Example needed-span|Lorem ipsum dolor sit amet|date=July 2025|plural=y}}
Result:
- Lorem ipsum dolor sit amet[examples 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text needing an example | 1 text | The text that is considered to need one or more examples | String | required |
Month and year | date | Month and year of tagging; e.g., 'January 2013', but not 'jan13'
| String | suggested |
Plural | plural | Enter 'y' or 'yes' to change 'example' to 'examples'.
| String | optional |
See also
The above documentation is transcluded from Template:Example needed span/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |