Template:Context/doc: Difference between revisions
meta>Michael Bednarek m Undid revision 896731971 by 2600:1700:F510:6210:D12B:DC28:42F5:D1BB (talk): ? |
m 37 revisions imported |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
Place {{Tlx|Context|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} at the top of an article of which you believe does not identify itself sufficiently to readers unfamiliar with its subject. | Place {{Tlx|Context|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} at the top of an article of which you believe does not identify itself sufficiently to readers unfamiliar with its subject. | ||
The word "article" may be replaced with section, list, etc. For example: {{Tlx|Context|section|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} will produce {{Context|section|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} | The word "article" may be replaced with "section", "list", etc. For example: {{Tlx|Context|section|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} will produce {{Context|section|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} | ||
While the {{para|reason}} parameter can be added to almost any template to provide an in-wikitext rationale for the template (e.g., a sentence on what the concerns are) that is usually visible only to editors, the {{para|details}} parameter can be used to make the template display a (short!) indication of the contextual information that is needed. E.g., using {{para|details|date range this organization was operating}} changes "... by providing more context for the reader." to "... by providing more context for the reader, especially: date range this organization was operating." | |||
=== TemplateData === | === TemplateData === | ||
Line 17: | Line 19: | ||
"type": "string", | "type": "string", | ||
"default": "article", | "default": "article", | ||
"suggested": true | |||
}, | |||
"details": { | |||
"label": "Additional detail", | |||
"description": "contextual specifics that are needed", | |||
"example": "date range this organization was in operation", | |||
"type": "string", | |||
"default": "[blank]", | |||
"suggested": true | "suggested": true | ||
}, | }, | ||
Line 28: | Line 38: | ||
} | } | ||
}, | }, | ||
"description": "Banner for the top of an article (or section) of which you believe does not identify | "description": "Banner for the top of an article (or section) of which you believe does not identify the context sufficiently to readers unfamiliar with the subject.", | ||
"format": "inline" | "format": "inline" | ||
} | } | ||
Line 48: | Line 58: | ||
{{Introduction cleanup maintenance templates}} | {{Introduction cleanup maintenance templates}} | ||
<includeonly> | <includeonly>{{Sandbox other|| | ||
<!-- ADD CATEGORIES BELOW THIS LINE --> | <!-- ADD CATEGORIES BELOW THIS LINE --> | ||
[[Category:Coherency templates]] | [[Category:Coherency templates]] | ||
Line 61: | Line 71: | ||
[[pt:Predefinição:Contextualizar]] | [[pt:Predefinição:Contextualizar]] | ||
[[sl:Predloga:Kontekst]] | [[sl:Predloga:Kontekst]] | ||
</includeonly> | }}</includeonly> |
Latest revision as of 01:41, 4 September 2020
This is a documentation subpage for Template:Context. It may contain usage information, categories and other content that is not part of the original template page. |
If you plan to make breaking changes to this template, move it, or nominate it for deletion, please notify Twinkle's users and maintainers at Wikipedia talk:Twinkle as a courtesy, as the standard installation of Twinkle adds and removes this template. Thank you! |
Usage
Place {{Context|date=November 2024}}
at the top of an article of which you believe does not identify itself sufficiently to readers unfamiliar with its subject.
The word "article" may be replaced with "section", "list", etc. For example: {{Context|section|date=November 2024}}
will produce
This section provides insufficient context for those unfamiliar with the subject.(November 2024) |
While the |reason=
parameter can be added to almost any template to provide an in-wikitext rationale for the template (e.g., a sentence on what the concerns are) that is usually visible only to editors, the |details=
parameter can be used to make the template display a (short!) indication of the contextual information that is needed. E.g., using |details=date range this organization was operating
changes "... by providing more context for the reader." to "... by providing more context for the reader, especially: date range this organization was operating."
TemplateData
Banner for the top of an article (or section) of which you believe does not identify the context sufficiently to readers unfamiliar with the subject.
Parameter | Description | Type | Status | |
---|---|---|---|---|
What does this banner apply to? | 1 | section, list, etc.
| String | suggested |
Additional detail | details | contextual specifics that are needed
| String | suggested |
Month and year | date | The month and year that this template was placed
| Date | suggested |
Notes
- This template will categorize tagged articles into Category:Wikipedia introduction cleanup and Category:Wikipedia articles needing context.
Redirects
- {{Cleanup-context}}
See also
- {{db-context}} – when an article has so insufficient context that it is impossible to identify the subject, it may be eligible for speedy deletion under WP:A1
- {{Context inline}} – inline template for a general context problem
- {{Non sequitur}} – inline template for namedropping the relevance of which is unclear
- {{Importance section}} – inline template for material of questionable relevance
- {{Technical}} – message box template for section or article that is written in a too-technical manner
- This template contains a self-reference (it refers to Wikipedia in its contents).
- This template should not be substituted. Bots rely on the transcluded form for dating and categorisation.