Difference between revisions of "Template:Definition/doc"
imported>Mr. Guye (→Usage) |
imported>Daviddwd |
||
| Line 30: | Line 30: | ||
[[Category:Inline cleanup templates|{{PAGENAME}}]] | [[Category:Inline cleanup templates|{{PAGENAME}}]] | ||
</includeonly> | </includeonly> | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "1": { | ||
| + | "aliases": [ | ||
| + | "reason" | ||
| + | ], | ||
| + | "label": "Reason", | ||
| + | "description": "A brief reason for the tag. Because it may not be immediately apparent to other editors what about the tagged passage is in need of further explanation, a brief reason is generally helpful. The reason parameter displays when the mouse cursor is placed over the text the template inserts.", | ||
| + | "type": "string", | ||
| + | "default": "The preceding text may be too imprecise or indirect for Wikipedia's standards.", | ||
| + | "autovalue": "", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "date": { | ||
| + | "label": "Date", | ||
| + | "type": "date", | ||
| + | "description": "An optional date parameter that records when the tag was added. If this template is added without the date parameter, the date parameter will be added soon after by a [[WP:BOT|bot]].", | ||
| + | "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", | ||
| + | "required": true | ||
| + | } | ||
| + | }, | ||
| + | "description": "Use {{Definition}} in the body of an article as a request for other editors to add further explanation to text that assumes a particular meaning of a word.", | ||
| + | "paramOrder": [ | ||
| + | "1", | ||
| + | "date" | ||
| + | ] | ||
| + | } | ||
| + | </templatedata> | ||
Revision as of 00:56, 6 December 2018
| This is a documentation subpage for Template:Definition. It contains usage information, categories and other content that is not part of the original template page. |
This template is a self-reference and so is part of the Wikipedia project rather than the encyclopedic content.
Purpose
This inline template should be used in articles where words is used in a way where its intended meaning is ambiguous.
Example
{{Definition|date=April 2026}}
This produces:
This template will add the article tagged to Category:Wikipedia articles needing clarification or a monthly subcategory thereof.
See also
- {{Definition needed}} – when a statement or a term completely lacks definition
- {{Disambiguation needed}} – for the special case where the term needing clarification is wikilinked to a disambiguation page, and you are unable to find a suitable replacement link.
- {{Ambiguous}} – for ambiguous statements
- {{Clarify}} – for other text that is difficult to understand
- {{Non sequitur}} – for when someone or something has been mentioned for reasons unclear to the reader
- {{Which one}} for text which could refer to one of numerous people or items but which is not linked to a disambiguation page.
Use {{Definition}} in the body of an article as a request for other editors to add further explanation to text that assumes a particular meaning of a word.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Reason | 1 reason | A brief reason for the tag. Because it may not be immediately apparent to other editors what about the tagged passage is in need of further explanation, a brief reason is generally helpful. The reason parameter displays when the mouse cursor is placed over the text the template inserts.
| String | suggested |
| Date | date | An optional date parameter that records when the tag was added. If this template is added without the date parameter, the date parameter will be added soon after by a [[WP:BOT|bot]].
| Date | required |