Difference between revisions of "Template:Example needed span/doc"
Jump to navigation
Jump to search
imported>SUM1 (Added inline formatting notice to TemplateData and fixed usage notes grammar) |
imported>SUM1 (Option order) |
||
| Line 11: | Line 11: | ||
* {{para|text}} or {{para|1}} (or an empty parameter): the text that is considered to need one or more examples | * {{para|text}} or {{para|1}} (or an empty parameter): the text that is considered to need one or more examples | ||
* {{para|date}}: the date the tag was added | * {{para|date}}: the date the tag was added | ||
| − | * {{para|plural}}: enter ' | + | * {{para|plural}}: enter 'y' or 'yes' to change 'example' to 'examples'. |
== Example == | == Example == | ||
| Line 58: | Line 58: | ||
"plural": { | "plural": { | ||
"label": "Plural", | "label": "Plural", | ||
| − | "description": "Enter ' | + | "description": "Enter 'y' or 'yes' to change 'example' to 'examples'.", |
"type": "string", | "type": "string", | ||
"autovalue": "y", | "autovalue": "y", | ||
Revision as of 14:58, 11 February 2020
| This is a documentation subpage for Template:Example needed span. It contains usage information, categories and other content that is not part of the original template page. |
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=December 2025}}
Result:
- Lorem ipsum dolor sit amet[example needed]
Input with plural setting:
{{Example needed-span|Lorem ipsum dolor sit amet|date=December 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