- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
Template:Swastimagelarge: Difference between revisions
imported>H64 No edit summary |
imported>H64 No edit summary |
(No difference)
|
Latest revision as of 17:37, 13 June 2011
Created as a sort of complement to the Fifty Hitler Post and an alternative to the {{swastika}} template, this template allows you to throw together a makeshift swastika out of the image of your choosing. The swastika is five images across and is customizable in size. This template is better used for larger images or for images that must be viewed up close to be effective. For smaller images and a seven image width, see Template:Swastimage.
Usage
The first variable is the image itself. Just add the filename after the template name (i.e. {{swastimage2|filename.ext}}'').
The second variable is the image size. If you don't specify an image size, the default is 150px. However, if you would like to make your swastika smaller or larger than standard, you must change the image size. This is done after the filename (i.e. {{swastimage2|filename.ext|#}}, where # is the image size, in pixels).
Here's an example using the image Hitler-Awesome.png. This image is being used for two reasons:
- 1) It's completely awesome, and
- 2) Its width and height are equal, making it perfectly square and the ideal ratio for an image for use with this template.
The text {{swastimage2|Hitler-Awesome.png}} would turn out looking like this:
Swawesomeka
Now, here's that same image, but altered in size. The text {{swastika2|Hitler-Awesome.png|75px}} will make something like this:
LOL IT'S SMALLER
NOTE
It's probably a good idea to use an image that is roughly square in dimensions, otherwise the end result might be kind of awkward looking. However, it's not that big of a deal; just don't use any image that's extremely tall or wide and the result should be fine.
Well, that's all. Congratulations, you are now certified to use this template. Have a blast. Also, props to User:Burkaburka for being the first one to make a template like this.