Difference between revisions of "Template:Positioned Text"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<div style="color: {{{color|black}}}; background-color: #eee; opacity:0.5; position: absolute; top: {{{y|0}}}px; left: {{{x|0}}}px; width: 270px; font-size: {{{size|16}}}pt; padding: 10px 5px 10px 10px; width: {{{width|auto}}}; border-radius: 6px;">{{{text}}}
<div style="color: {{{color|black}}}; background-color: #eee; opacity:0.5; position: absolute; top: {{{y|0}}}px; left: {{{x|0}}}px; width: 270px; font-size: {{{size|16}}}pt; padding: 10px 5px 10px 10px; width: {{{width|auto}}}; border-radius: 6px;">{{#widget:Tooltip|item={{{text}}}|tip_text={{{mouseover|More Information Coming!}}}</div><noinclude>
</div><noinclude>
Parameters:
Parameters:
* x - number of pixels from the left side
* x - number of pixels from the left side
Line 12: Line 11:
</div>
</div>
</noinclude>
</noinclude>
{{#widget:Tooltip|item={{{text}}} |tip_text={{{mouseover|More Information Coming!}}}

Revision as of 21:37, 11 July 2011

{{#widget:Tooltip|item={{{text}}}|tip_text=More Information Coming!

Parameters:

  • x - number of pixels from the left side
  • y - number of pixels from the top
  • size - point size of text (default is 10pt)
  • color - color of text (default is white)

Example:

{{#widget:Tooltip|item=This is a test|tip_text=More Information Coming!

{{#widget:Tooltip|item=This is a test |tip_text=More Information Coming!


{{#widget:Tooltip|item={{{text}}} |tip_text=More Information Coming!