Difference between revisions of "Template:Example needed span"
Jump to navigation
Jump to search
imported>ScottSteiner m (Case change) |
imported>Andrybak (add automatic tracking of misuse in the article namespace into Category:Pages with misused citation needed templates) |
||
| (5 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
| + | {{ {{{|safesubst:}}}#invoke:Unsubst||date=__DATE__|$B= | ||
{{Fix-span | {{Fix-span | ||
| − | |name=Example needed-span | + | | 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>}}}}}} |
| − | |link=Wikipedia:AUDIENCE | + | | name = Example needed-span |
| − | |text=example needed | + | | link = Wikipedia:AUDIENCE |
| − | |class=Template-Fact | + | | text = example{{#switch:{{{plural|}}}|y|yes=s}} needed |
| − | |span-class=citation-needed-content | + | | class = Template-Fact |
| − | |title=This text needs specific examples | + | | span-class = citation-needed-content |
| − | }}{{#ifeq:{{NAMESPACE}}|{{<includeonly>subst:</includeonly>NAMESPACE}}|<includeonly>[[Category:Pages with incorrectly substituted templates]]</includeonly>|}}<noinclude> | + | | title = This text needs specific examples. |
| + | | 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> | ||
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=June 2026}}
Result:
- Lorem ipsum dolor sit amet[example needed]
Input with plural setting:
{{Example needed-span|Lorem ipsum dolor sit amet|date=June 2026|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. |