Template:Text superimpose

From MegaGlest
Revision as of 22:47, 11 August 2010 by Hofmic (talk) (1 revision: Templates)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Text?
Example.jpg
Template documentation (for the above template)[view] [edit] [purge]

Use this template to superimpose some text over an image.

Using this:

{{Text superimpose
|base image         = 
|image width        =
|image align        =
|image caption      = 
|header x           =
|header y           =
|header text        =
|header text_size   =
|header text_color  =
|content x          =
|content y          =
|content text       =
|content text_size  =
|content text_color =
}}

The template will place an image with superimposed text on a page:

  • x, y - position of text across page; in pixels, from the upper left corner
  • base image - background image file; use just the name, without the "File:" tag
  • image width - width of background image in pixels
  • image align - position of image on the page; (left/right/center)
  • image caption- the caption you want to appear with your image
  • header/content text - text to be superimposed on background image; can contain some formatting (bold, italic, line breaks) and wikilinks
  • header/content text_size - size of superimposed text; in pixels, em, or specified (small,large); if left blank, normal size text will be used
  • header/content text_color - color of the superimposed text; in hexadecimal code


Header text will always appear on the image; leaving it blank will cause the default "Text?" to show.

Content text is not required; if it is not given it will remain blank.

Image caption will also remain blank until specified.

All other parameters will show the default if left blank.