Difference between revisions of "Template:Example needed span"
Jump to navigation
Jump to search
imported>ScottSteiner m (Case change) |
imported>SUM1 (Formatting; added categories, plural, date) |
||
| Line 1: | Line 1: | ||
| + | {{ {{{|safesubst:}}}#invoke:Unsubst||date=__DATE__|$B= | ||
{{Fix-span | {{Fix-span | ||
| − | |name=Example needed-span | + | | name = Example needed-span |
| − | |link=Wikipedia:AUDIENCE | + | | link = Wikipedia:AUDIENCE |
| − | |text=example needed | + | | text = example{{#switch:{{{1}}}|plural|s=s}} needed |
| − | |class=Template-Fact | + | | class = Template-Fact |
| − | |span-class=citation-needed-content | + | | span-class = citation-needed-content |
| − | |title=This text needs specific examples | + | | title = This text needs specific examples. |
| − | }}{{#ifeq:{{NAMESPACE}}|{{<includeonly>subst:</includeonly>NAMESPACE}}|<includeonly>[[Category:Pages with incorrectly substituted templates]]</includeonly>|}}<noinclude> | + | | date = {{{date|}}} |
| + | | cat = [[Category:All articles needing examples]] | ||
| + | | cat-date = Category:Articles needing examples | ||
| + | }}}} | ||
| + | {{#ifeq:{{NAMESPACE}}|{{<includeonly>subst:</includeonly>NAMESPACE}}|<includeonly>[[Category:Pages with incorrectly substituted templates]]</includeonly>|}}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 11:48, 5 February 2020
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=June 2026}}
Result:
Input with plural setting:
{{Example needed-span|Lorem ipsum dolor sit amet|date=June 2026|plural=y}}
Result:
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. |