Registration has been disabled and the moderation extension has been turned off.
Contact an admin on Discord or EDF if you want an account. Also fuck bots.

Template:Navimage: Difference between revisions

From Encyclopedia Dramatica
Jump to navigation Jump to search
imported>JuniusThaddeus
Testing.
imported>JuniusThaddeus
Testing.
 
(No difference)

Latest revision as of 15:42, 20 May 2011

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

{{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.