Difference between revisions of "Template:Image label"
(New page: <div style="position: absolute; left:{{#expr: {{{x|0}}} * {{{scale|1}}} - 6}}px; top: {{#expr: {{{y|0}}} * {{{scale|1}}} - 8}}px;">{{{text}}}</div> <noinclude> * '''x''': (coordinate for h...) |
m |
||
Line 1: | Line 1: | ||
<div style="position: absolute; left:{{#expr: {{{x|0}}} * {{{scale|1}}} - 6}}px; top: {{#expr: {{{y|0}}} * {{{scale|1}}} - 8}}px;">{{{text}}}</div> | <div style="position: absolute; left:{{#expr: {{{x|0}}} * {{{scale|1}}} - 6}}px; top: {{#expr: {{{y|0}}} * {{{scale|1}}} - 8}}px;">{{{text}}}</div> | ||
+ | |||
<noinclude> | <noinclude> | ||
* '''x''': (coordinate for horizontal placement of text. Values between 0 and 1) | * '''x''': (coordinate for horizontal placement of text. Values between 0 and 1) | ||
* '''y''': (coordinate for vertical placement of text. Values between 0 and 1) | * '''y''': (coordinate for vertical placement of text. Values between 0 and 1) | ||
* '''scale''': <nowiki>{{{size|scale of text, given the pixel width of text}}}</nowiki> | * '''scale''': <nowiki>{{{size|scale of text, given the pixel width of text}}}</nowiki> | ||
− | * '''text''': Text content</p> | + | * '''text''': <p>Text content</p> |
− | + | ||
{| | {| | ||
! Code || | ! Code || |
Revision as of 04:38, March 28, 2008
{{{text}}}
- x: (coordinate for horizontal placement of text. Values between 0 and 1)
- y: (coordinate for vertical placement of text. Values between 0 and 1)
- scale: {{{size|scale of text, given the pixel width of text}}}
- text:
Text content
Code | |
---|---|
<div style="float: {{{float|none}}}; clear: {{{float|none}}}; position: relative; font-size: 7pt; line-height: 10px;"></tt> | |