HELP ED WIN AN AWARD! Encyclopedia Dramatica is in contention for the 2nd Annual Mashable Open Web Awards for the wiki category. With your help, we can beat the Wikipedia menace! Plz vote for ED by going here; you can vote once per day, per email address, ballot stuffing encouraged! Just don't forget to confirm the vote via e-mail. VOTE OR DIE!!!

Template:Navimage

From Encyclopedia Dramatica

Jump to: navigation, search

NOTE: This template is an adaptation of this template.

This template lets you use an image as a link to an article. Normally, clicking on an image will take you to its own Image: page.

Usage

If you know that you tend to be stupid, pay attention to the bits in boldface.

{{Navimage|1|2|3|4|5}}
  1. The image you want to use. Bigmudkips.gif, for example. Do not include [[Image: or ]]
  2. The page you want the image to link to. Preview this as a normal link to make sure you've got it right.
  3. Image width. This is a number followed by px. Do not forget the px.
  4. Height. You'll have to do some math if you want to shrink a long image and have it display correctly. Must also end with px.
  5. Float. Specify left or right. If you want a centered image, then leave this variable undeclared and use the <center></center> tags.


Done correctly, you should be able to produce things like:

Code for above example:

<center>{{Navimage|Ditisbemmell.jpg|Bemmel|150px|200px}}</center>

Explanation

This template operate on CSS z-indexing, line-height trickeration, and non-breaking spaces. Unless it really operates on black magic and the original author just put all that CSS shit in to confuse me.

See Also

Personal tools

Bookmark and Share