Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Deprecated: Difference between revisions

Template page
Joe Beaudoin Jr. (talk | contribs)
Created page with "<includeonly>{{message box|heading=This category should be empty of any PAL DVD content.|message=If possible, please update these screencaps to either Blu-ray or 4K sources.}}Category:Deprecated Sources</includeonly>"
 
Joe Beaudoin Jr. (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{message box|heading=This category should be empty of any PAL DVD content.|message=If possible, please update these screencaps to either Blu-ray or 4K sources.}}[[Category:Deprecated Sources]]</includeonly>
<includeonly>{{#ifeq:{{{reason|}}}|upgrade
|{{message box
| 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.
}}[[Category:Deprecated Sources]]
|{{message box
| heading = This template is deprecated.
| message = Please use [[Template:{{{use|Screencap}}}|<nowiki>{{</nowiki>{{{use|Screencap}}}<nowiki>}}</nowiki>]] for new uploads instead.
}}[[Category:Deprecated templates]]
}}</includeonly><noinclude>
== Usage ==
This template serves two purposes depending on the <code>reason</code> parameter.
 
=== Template deprecation (default) ===
Used in the <code><nowiki><noinclude></nowiki></code> block of a deprecated template to signal that editors should use a newer template instead.
<pre>
{{deprecated|use=Screencap}}
</pre>
Displays a message reading: ''Please use {{Screencap}} 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.
<pre>
{{deprecated|reason=upgrade}}
</pre>
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 ==
{| class="wikitable"
! Parameter !! Values !! Effect
|-
| <code>reason</code> || <code>upgrade</code> || Shows the source-upgrade message and categorizes into [[:Category:Deprecated Sources]]
|-
| <code>reason</code> || ''(omitted)'' || Shows the template-deprecation message and categorizes into [[:Category:Deprecated templates]]
|-
| <code>use</code> || Template name (e.g. <code>Screencap</code>) || Sets the replacement template name in the deprecation message. Defaults to <code>Screencap</code> if omitted.
|}
[[Category:Formatting templates]]
</noinclude>

Latest revision as of 22:53, 8 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

  screen capture (source unknown)
The an unknown series, Season "Unknown" from an unknown episode. Please help us identify the episode by updating this tag or discussing it on the [[{{TALKPAGENAME}}|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.