Difference between revisions of "User:Psojed"

From Stoneshard wiki
Jump to navigation Jump to search
(Created page with "1 <noinclude> This is a test {{#if: abc | is not empty | is empty }} {{#switch: {{:User:Psojed}} |1=one |default }} </noinclude>")
 
Line 7: Line 7:
{{#switch: {{:User:Psojed}}
{{#switch: {{:User:Psojed}}
|1=one
|1=one
|default
}}
==Simple Tooltip test==
1) {{#tip-text: This is a text with text tooltip on hover. | Hi! I am a tooltip. }}
2) This is normal text with an icon at the end which displays a tooltip. {{#tip-info: Hi! I am a tooltip. }}
3) This is normal text and an image with tooltip on hover. It doesn't support changing the size of the image.<br>
{{#simple-tooltip-img: https://stoneshard.com/wiki/images/d/d2/Stoneshard.png | Hi! I am a tooltip. }}
4) {{#tip-text: This is text plus image wikitext [[File:Stoneshard.png|160px|160px]] which apparently won't work. The tooltip will work though. | Hi! I am a tooltip. }}
5) {{#tip-text: This is a text with image in the tooltip on hover. | [[File:Stoneshard.png|160px|160px]] }}
6) {{#tip-text: This is a text with another page loaded in the tooltip on hover. | {{ReadableBook}} }} It seems the tooltip has limited width as well as fixed position on top (or bottom) of the hovered text, which is undesirable (since it will go off-screen).
Conclusion: TippingOver is much better from the get-go.


|default


}}
</noinclude>
</noinclude>

Revision as of 00:53, 22 November 2021

1

This is a test

is not empty

one

Simple Tooltip test

1) This is a text with text tooltip on hover.

2) This is normal text with an icon at the end which displays a tooltip.

3) This is normal text and an image with tooltip on hover. It doesn't support changing the size of the image.

4) This is text plus image wikitext [[File:Stoneshard.png|160px|160px]] which apparently won't work. The tooltip will work though.

5) This is a text with image in the tooltip on hover.

6) This is a text with another page loaded in the tooltip on hover. It seems the tooltip has limited width as well as fixed position on top (or bottom) of the hovered text, which is undesirable (since it will go off-screen).

Conclusion: TippingOver is much better from the get-go.