|
|
| Line 1: |
Line 1: |
| <div style="float:{{{align|center}}}; border:0px; border-color:CCCCCC; margin:0px;"><div style="position: relative; width: {{{image width|200}}};"><div style="position: absolute; font-size:{{{header text_size|}}}; color:{{{header text_color|}}}; left: {{{header x|310}}}px; top: {{{header y|20}}}px; padding: 0;">{{{header text|Text?}}}</div><div style="position: absolute; font-size:{{{content text_size|}}}; color:{{{content text_color|}}}; left: {{{content x|310}}}px; top: {{{content y|40}}}px; padding: 0;">{{{content text|}}}</div>[[File:{{{base image|example.jpg|}}}|{{{image width|200}}}px|{{{image align|center}}}|{{{image caption|}}}]]</div></div><noinclude>
| | Keep it coinmg, writers, this is good stuff. |
| <pre>
| |
| {{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 =
| |
| }}
| |
| </pre>
| |
| 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.
| |
| </noinclude>
| |
Revision as of 05:51, 3 February 2012
Keep it coinmg, writers, this is good stuff.