Template:Example needed span: Difference between revisions
(add automatic tracking of misuse in the article namespace into Category:Pages with misused citation needed templates) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 18:55, 18 May 2023
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[example needed]
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=November 2024}}
Result:
- Lorem ipsum dolor sit amet[example needed]
Input with plural setting:
{{Example needed-span|Lorem ipsum dolor sit amet|date=November 2024|plural=y}}
Result:
- Lorem ipsum dolor sit amet[examples needed]
TemplateData
TemplateData for Example needed span
<templatedata> { "description": "Use this inline template to highlight text that may need one or more examples.", "format": "inline", "params": { "1": { "aliases": [ "text" ], "label": "Text needing an example", "description": "The text that is considered to need one or more examples", "type": "string", "required": true
},
"date": { "label": "Month and year", "description": "Month and year of tagging; e.g., 'January 2013', but not 'jan13'", "type": "string", "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "example": "January 2013", "suggested": true }, "plural": { "label": "Plural", "description": "Enter 'y' or 'yes' to change 'example' to 'examples'.", "type": "string", "autovalue": "y", "example": "y" } }, "paramOrder": [ "1", "date",
"plural"
] } </templatedata>