Difference between revisions of "Template:Definition/doc"
imported>Mr. Guye (→Usage) |
imported>Sparkie82 |
||
| (7 intermediate revisions by 5 users not shown) | |||
| Line 6: | Line 6: | ||
== Purpose == | == Purpose == | ||
| − | This inline template should be used in articles where words | + | This inline template should be used in articles where words are used in a way where [[Wikipedia:Manual of Style/Words to watch#Expressions that lack precision|their intended meaning is ambiguous]]. |
| + | |||
==Example== | ==Example== | ||
{{Tlx|Definition|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} | {{Tlx|Definition|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} | ||
| Line 25: | Line 26: | ||
{{Inline tags}} | {{Inline tags}} | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
[[Category:Coherency templates|{{PAGENAME}}]] | [[Category:Coherency templates|{{PAGENAME}}]] | ||
[[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> | ||
Latest revision as of 19:30, 27 November 2020
| 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 are used in a way where their 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 |