Template:Float/doc

From Unofficial Homecoming Wiki
< Template:Float
Revision as of 20:59, 10 July 2012 by imported>Sekoia (Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> ==Usage== Floats its content to the left or right. Can be called in the follo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is a documentation subpage for Template:Float (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Usage

Floats its content to the left or right.

Can be called in the following ways:

  • {{float|left|Float me!}} (floats "Float me!" on the left)
  • {{float|right|Float me!}} (floats "Float me!" on the right)
  • {{float|clear=left|left|Float me!}} (floats "Float me!" on the left, and ensures it comes below anything else on the left)
  • {{float|clear=right|right|Float me!}} (floats "Float me!" on the right, and ensures it comes below anything else on the right)
  • {{float|side=left|item=Float me!}} (floats "Float me!" on the left)
  • {{float|side=right|item=Float me!}} (floats "Float me!" on the right)

You can replace "Float me!" with anything you'd like to float. However, if it contains an equals sign, you'll have to use the explicit "item=" parameter.