Welcome to Assassin's Creed Wiki! Log in and join the community.

Template:Compressed: Difference between revisions

From the Assassin's Creed Wiki
Jump to navigation Jump to search
imported>Thisismyrofl
New template for JPG images
 
imported>Thisismyrofl
I guess that resolution isn't important.
 
Line 7: Line 7:


{{!}}-
{{!}}-
{{!}} style="font size=90%" {{!}} '''''Original file size: {{{pngkb}}} KB<br>Original file resolution: {{{pngres}}}''''' {{!}}{{!}} '''''Compressed file size: {{{jpgkb}}} KB<br>Compressed file resolution: {{{jpgres}}}''''' | size.}}
{{!}} style="font size=90%" {{!}} '''''Original file size: {{{pngkb}}} KB''''' {{!}}{{!}} '''''Compressed file size: {{{jpgkb}}} KB''''' | size.}}
|}
|}
<noinclude>==Use==
<noinclude>==Use==
Line 14: Line 14:
|png=  
|png=  
|pngkb=  
|pngkb=  
|pngres=
|jpgkb=
|jpgkb=
|jpgres=
}}</pre>
}}</pre>
====Explanations of parameters====
====Explanations of parameters====
; png : File name of original, uncompressed image  Format: <code>example.jpg</code> Omit the File:.
; png : File name of original, uncompressed image  Format: <code>example.jpg</code>. Omit the File:.
; pngkb : File size of uncompressed image in KB.  JUST THE NUMBER.  Omit the "KB".  720 KB becomes "720".
; pngkb : File size of uncompressed image in KB.  JUST THE NUMBER.  Omit the "KB".  720 KB becomes "720".
; pngres : Resolution of uncompressed image.  Format:  xxxx × xxxx
; jpgkb : File size of ''this'' image, the compressed one.
; jpgkb : File size of ''this'' image, the compressed one.
; jpgres : Resolution of ''this'' image.


If you leave any parameters out it breaks the image, just leave them blank if you must.  The template is coded to account for blank parameters.
If you leave any parameters out it breaks the image, just leave them blank if you must.  The template is coded to account for blank parameters.


</noinclude>
</noinclude>

Latest revision as of 03:26, 14 July 2009

JPG This file is compressed from the original version (which can be found [[:File:{{{png}}}|here]]).This means that its quality has been reduced slightly, and in return, the file size has greatly been reduced. The original version will have slightly better quality, but a much larger file size.
Original file size: {{{pngkb}}} KB Compressed file size: {{{jpgkb}}} KB

Use

To use this template, edit the following into the file description:

{{Compressed
|png= 
|pngkb= 
|jpgkb=
}}

Explanations of parameters[edit source]

png
File name of original, uncompressed image Format: example.jpg. Omit the File:.
pngkb
File size of uncompressed image in KB. JUST THE NUMBER. Omit the "KB". 720 KB becomes "720".
jpgkb
File size of this image, the compressed one.

If you leave any parameters out it breaks the image, just leave them blank if you must. The template is coded to account for blank parameters.