Template:Context/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>MZMcBride
m (Reverted edits by Chocochalk (talk) to last version by Pathoschild)
m (37 revisions imported)
 
(31 intermediate revisions by 25 users not shown)
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}
<includeonly>{{pp-template|small=yes}}</includeonly>
{{Twinkle standard installation}}


This template will categorise tagged articles into [[:Category:Wikipedia articles needing context]]. The text of the messagebox may be customized by specifying parameter 1=.
=== Usage ===
This [[Wikipedia:Template|template]] is a [[Wikipedia:Avoid self-references|self-reference]].
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.
This template is not useful for [[Wikipedia:Subst]].


==See also==
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}}}}
* [[Template:Citation style]]
* [[Template:Cleanup-list]]
* [[Template:Cleanup-rewrite]]
* [[Template:Confusing]]
* [[Template:Contradict]]
* [[Template:Copyedit]]
* [[Template:Fiction]]
* [[Template:Globalize]]
* [[Template:Importance]]
* [[Template:Inappropriate tone]]
* [[Template:Expert]]
* [[Template:Primarysources]]
* [[Template:Technical]]
* [[Template:Uncategorized]]
* [[Template:Unreferenced]]
* [[Template:Wikify]]
* [[Wikipedia:Template messages/Cleanup]]


<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude><includeonly>
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 "...&nbsp;by providing more context for the reader." to "...&nbsp;by providing more context for the reader, especially: date range this organization was operating."
 
=== TemplateData ===
<templatedata>
{
"params": {
"1": {
"label": "What does this banner apply to?",
"description": "section, list, etc.",
"example": "section",
"type": "string",
"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
},
"date": {
"label": "Month and year",
"description": "The month and year that this template was placed",
"example": "April 2017",
"type": "date",
"suggested": true,
                        "autovalue": "{{SUBST:CURRENTMONTHNAME}} {{SUBST:CURRENTYEAR}}"
}
},
"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"
}
</templatedata>
 
=== Notes ===
* This template will categorize tagged articles into [[:Category:Wikipedia introduction cleanup]] and [[:Category:Wikipedia articles needing context]].
 
=== Redirects ===
* {{Tl|Cleanup-context}}
 
=== See also ===
* {{tl|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]]
* {{Tl|Context inline}} – inline template for a general context problem
* {{tl|Non sequitur}} – inline template for namedropping the relevance of which is unclear
* {{tl|Importance section}} – inline template for material of questionable relevance
* {{tl|Technical}} – message box template for section or article that is written in a too-technical manner
 
{{Introduction cleanup maintenance templates}}
 
<includeonly>{{Sandbox other||
<!-- ADD CATEGORIES BELOW THIS LINE -->
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Wikipedia maintenance templates|{{PAGENAME}}]]
[[Category:Coherency templates]]
[[Category:Wikipedia introduction cleanup|*]]
[[Category:Introduction cleanup maintenance templates]]
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
[[ar:قالب:سياق]]
</includeonly>
[[bg:Шаблон:Контекст]]
[[es:Plantilla:Contextualizar]]
[[mk:Шаблон:Контекст]]
[[ms:Templat:Konteks]]
[[pt:Predefinição:Contextualizar]]
[[sl:Predloga:Kontekst]]
}}</includeonly>

Latest revision as of 01:41, 4 September 2020

Usage

Place {{Context|date=June 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=June 2024}} will produce

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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
What does this banner apply to?1

section, list, etc.

Default
article
Example
section
Stringsuggested
Additional detaildetails

contextual specifics that are needed

Default
[blank]
Example
date range this organization was in operation
Stringsuggested
Month and yeardate

The month and year that this template was placed

Example
April 2017
Auto value
{{SUBST:CURRENTMONTHNAME}} {{SUBST:CURRENTYEAR}}
Datesuggested

Notes

Redirects

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.