Difference between revisions of "Template:Upscaled"

From Nookipedia, the Animal Crossing wiki
m
m
Line 1: Line 1:
 
{{Content Notice
 
{{Content Notice
  | message        = This image has been upscaled for use in templates. The {{#if:{{{original|}}}|[[File:{{{original|}}}|original file]]|original file}} should be displayed where possible with nearest-neighbor interpolation by adding <code>class=sprite</code>.
+
  | message        = This image has been upscaled for use in templates. The {{#if:{{{original|}}}|[[:File:{{{original|}}}|original file]]|original file}} should be displayed where possible with nearest-neighbor interpolation by adding <code>class=sprite</code>.
 
  | primarycolor    = 224 48
 
  | primarycolor    = 224 48
 
  | overrideprimary = 85%
 
  | overrideprimary = 85%
 
  | overridetext    = 20%
 
  | overridetext    = 20%
 
}}<includeonly>[[Category:Upscaled images]]</includeonly><noinclude>{{Documentation}}[[Category:Notice templates]]</noinclude>
 
}}<includeonly>[[Category:Upscaled images]]</includeonly><noinclude>{{Documentation}}[[Category:Notice templates]]</noinclude>

Revision as of 20:13, April 29, 2021

This image has been upscaled for use in templates. The original file should be displayed where possible with nearest-neighbor interpolation by adding class=sprite.

Template documentation (view)


Usage

{{Upscaled}}

This template is to be used for files that have been upscaled from their original size. There is an optional original parameter to link to the original file.

All pages containing this template will be added to Category:Upscaled images.

Example

{{Upscaled|original=Nia.png}}
This image has been upscaled for use in templates. The original file should be displayed where possible with nearest-neighbor interpolation by adding class=sprite.