Template:Percent: Difference between revisions
Jump to navigation
Jump to search
Want an adless experience? Log in or Create an account.
(Created template) |
mNo edit summary |
||
Line 9: | Line 9: | ||
==Usage== | ==Usage== | ||
{{ | {{Desc|Normal|Image|Size}} | ||
{{parameter|Image|The image to be used.}} | {{parameter|Image|The image to be used.}} | ||
{{parameter|Size|The size to reduce down to. Either a pixel amount, with a px after a number; or a percentage amount, with a % after a number.}} | {{parameter|Size|The size to reduce down to. Either a pixel amount, with a px after a number; or a percentage amount, with a % after a number.}} | ||
{{Cat|Formatting Templates}} | {{Cat|Formatting Templates}} | ||
</noinclude> | </noinclude> |
Latest revision as of 03:47, November 5, 2011
Purpose
This template is a tool for other templates that takes either a percentage amount or a pixel amount and returns a scaled down pixel amount for an image.
Usage
{{Percent| Image | Size }}
- Image — The image to be used.
- Size — The size to reduce down to. Either a pixel amount, with a px after a number; or a percentage amount, with a % after a number.