Template:Example needed span/doc
This is a documentation subpage for Template:Example needed span. It may contain usage information, categories and other content that is not part of the original template page. |
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>
See also