BUY A SHIRT!
The ED TShirt Shop is open for business! Use discount code ED2009 for 10% off! Click here to shop.
ED5 Pollfest is going on now! Register a forums accounts and help us find the best article in the five year history of Encyclopedia Dramatica. Check out the three polls running today: [1] [2] [3]



Template:Swastimage2

From Encyclopedia Dramatica

Jump to: navigation, search


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.

Link to this