Template:Floating Message
The UESPWiki – Your source for The Elder Scrolls since 1995
Summary[edit]
This template creates a floating tab on the right side of the screen with a customized message. It is intended primarily for User and Talk pages.
Parameters[edit]
Parameter | Scope | Description |
---|---|---|
text | required | The text to display. |
bgcolor | optional | The background color for the tab. (Defaults to Saddle Brown.) |
border | optional | The inside border color for the tab. (Defaults to bgcolor .) |
color | optional | The text color. Note that this can be overridden by any additional formatting contained in the text parameter. (Defaults to white.) |
shadow | optional | The shadow color appearing outside the tab. Note that this is semi-transparent, so will appear as a blend of the shade specified and the background. (Defaults to bgcolor .) |
top bottom left right |
optional | The distance the edge of the tab should appear from the respective edges using standard CSS units like "auto" or "100px". (Right defaults to 0, others default to "auto".) Note: currently, the template is intended for right-aligned boxes; altering the left and right parameters may produce undesirable results. |
Examples[edit]
(See tabs at right. Note that actual examples have their positions altered so they don't overlap.)
{{Floating Message|Example 1: Text}}
{{Floating Message|Example 2: Mixed {{FC|yellow|color}} {{FC|blue|text}}}}
{{Floating Message|text=<div style="text-align:right;">Example 3: A little of everything<br>and [[:Main Page|{{FC|yellow|a colored link}}]]</div>|bgcolor=RoyalBlue|border=red|color=pink|shadow=yellow|right=50px}}
Example 1: Text
Example 2: Mixed color text
Example 3: A little of everything
and a colored link
and a colored link