Template:Deprecated: Difference between revisions
Template page
More actions
No edit summary |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{reason|}}} | <includeonly>{{#switch:{{{reason|}}} | ||
|upgrade= | |upgrade={{message box | ||
| heading = This source should be upgraded. | | heading = This source should be upgraded. | ||
| message = If possible, please update this screencap to a [[Category:Blu-ray screen captures|Blu-ray]] or [[Category:4K screen captures|4K]] source. | | message = If possible, please update this screencap to a [[:Category:Blu-ray screen captures|Blu-ray]] or [[:Category:4K screen captures|4K]] source. | ||
}}[[Category:Deprecated Sources]] | }}[[Category:Deprecated Sources]] | ||
|category= | |category={{message box | ||
| heading = This category is deprecated. | | heading = This category is deprecated. | ||
| message = If possible, please update screencaps in this category to [[Category:Blu-ray screen captures|Blu-ray]] or [[Category:4K screen captures|4K]] source. | | message = If possible, please update screencaps in this category to [[:Category:Blu-ray screen captures|Blu-ray]] or [[:Category:4K screen captures|4K]] source. | ||
}}[[Category:Deprecated Sources]] | }}[[Category:Deprecated Sources]] | ||
|#default={{message box | |#default={{message box | ||
Latest revision as of 16:30, 21 March 2026
Usage
This template serves two purposes depending on the reason parameter.
Template deprecation (default)
Used in the <noinclude> block of a deprecated template to signal that editors should use a newer template instead.
{{deprecated|use=Screencap}}
Displays a message reading: Please use
| The an unknown series from an unknown episode. Please help us identify the episode by updating this tag or discussing it on the talk page. | |
| This capture is copyright by the copyright holder. Use of it here is believed to be fair use. | |
| The timestamp for this image is unknown. Please supply the time index for this capture. | |
| Screen capture (source unknown). Native resolution: unknown. | |
for new uploads instead.
Adds the template page to Category:Deprecated templates.
Source upgrade notice
Used on file pages (or via a screencap sub-template) to flag images that should be replaced with a higher-quality source.
{{deprecated|reason=upgrade}}
Displays a message reading: If possible, please update this screencap to a Blu-ray or 4K source. Adds the file to Category:Deprecated Sources.
Parameters
| Parameter | Values | Effect |
|---|---|---|
reason |
upgrade |
Shows the source-upgrade message and categorizes into Category:Deprecated Sources |
reason |
(omitted) | Shows the template-deprecation message and categorizes into Category:Deprecated templates |
use |
Template name (e.g. Screencap) |
Sets the replacement template name in the deprecation message. Defaults to Screencap if omitted.
|