Template:Definition/doc: Difference between revisions

From CAPipedia
m 1 revision imported
m Text replacement - "Wikipedia[^:]" to "CAPipedia"
 
Line 2: Line 2:
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->


This template is a self-reference and so is part of the Wikipedia project rather than the encyclopedic content.
This template is a self-reference and so is part of the CAPipediaproject rather than the encyclopedic content.


== Purpose ==
== Purpose ==
Line 15: Line 15:
{{Definition|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
{{Definition|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}


This template will add the article tagged to [[:Category:Wikipedia articles needing clarification]] or a monthly subcategory thereof.
This template will add the article tagged to [[:Category:CAPipediaarticles needing clarification]] or a monthly subcategory thereof.


==See also==
==See also==
Line 41: Line 41:
"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.",
"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",
"type": "string",
"default": "The preceding text may be too imprecise or indirect for Wikipedia's standards.",
"default": "The preceding text may be too imprecise or indirect for CAPipedias standards.",
"autovalue": "",
"autovalue": "",
"suggested": true
"suggested": true
Line 49: Line 49:
"type": "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]].",
"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}}",
"autovalue": "January 2024",
"required": true
"required": true
}
}

Latest revision as of 14:28, 23 January 2024

[[Category:Template documentation pages{{#translation:}}]]

This template is a self-reference and so is part of the CAPipediaproject 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=November 2024}}

This produces:

[when defined as?]

This template will add the article tagged to Category:CAPipediaarticles 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.

<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 CAPipedias 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 bot.", "autovalue": "January 2024", "required": true } }, "description": "Use [when defined as?] 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>