Difference between revisions of "Template:Upscaled"

From Nookipedia, the Animal Crossing wiki
(Adding original file to title)
m (Changed image, added link to category in image)
Line 4: Line 4:
 
|textcolor      = #eceff8
 
|textcolor      = #eceff8
 
|shadowcolor    = #374f95
 
|shadowcolor    = #374f95
|leftimage      = [[File:Pitfall.png|30px|link=]]
+
|leftimage      = [[File:Pitfall Seed NH Inv Icon.png|30px|link=Category:Upscaled images]]
 
|rightimage    =
 
|rightimage    =
 
|header        = This is an upscaled {{#if: {{{original|}}} | version of [[:File:{{{original|}}}]] | image }}.
 
|header        = This is an upscaled {{#if: {{{original|}}} | version of [[:File:{{{original|}}}]] | image }}.
 
|message        = It should typically only be used in articles in situations where custom HTML is not possible (such as template parameters). Usually, the {{#if: {{{original|}}} | [[:File:{{{original|}}}|original file]] | original file }} should be used, and if a larger version is needed, the image may be surrounded by a <code>div</code> or <code>span</code> element with the <code>class="sprite"</code> attribute to enable crisp-edge scaling.
 
|message        = It should typically only be used in articles in situations where custom HTML is not possible (such as template parameters). Usually, the {{#if: {{{original|}}} | [[:File:{{{original|}}}|original file]] | original file }} should be used, and if a larger version is needed, the image may be surrounded by a <code>div</code> or <code>span</code> element with the <code>class="sprite"</code> attribute to enable crisp-edge scaling.
 
}}<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 00:24, September 7, 2020

Pitfall Seed NH Inv Icon.png
This is an upscaled image.
It should typically only be used in articles in situations where custom HTML is not possible (such as template parameters). Usually, the original file should be used, and if a larger version is needed, the image may be surrounded by a div or span element with the class="sprite" attribute to enable crisp-edge scaling.
Pitfall Seed NH Inv Icon.png
This is an upscaled image.
It should typically only be used in articles in situations where custom HTML is not possible (such as template parameters). Usually, the original file should be used, and if a larger version is needed, the image may be surrounded by a div or span element with the class="sprite" attribute to enable crisp-edge scaling.

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}}
Pitfall Seed NH Inv Icon.png
This is an upscaled version of File:Nia.png.
It should typically only be used in articles in situations where custom HTML is not possible (such as template parameters). Usually, the original file should be used, and if a larger version is needed, the image may be surrounded by a div or span element with the class="sprite" attribute to enable crisp-edge scaling.
Pitfall Seed NH Inv Icon.png
This is an upscaled version of File:Nia.png.
It should typically only be used in articles in situations where custom HTML is not possible (such as template parameters). Usually, the original file should be used, and if a larger version is needed, the image may be surrounded by a div or span element with the class="sprite" attribute to enable crisp-edge scaling.