Difference between revisions of "User:Psojed"
(tooltip on image using filepath to load the image) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | |||
==condition test== | |||
{{{{{1|Tooltip hover box}}}|title={{Condition_test|Tiredness}}}} | |||
{{{{{1|Tooltip hover box}}}|title={{Condition_test|Seal of Electromancy}}}} | |||
{{{{{1|Tooltip hover box}}}|title={{Condition_test|Troll Regeneration}}}} | |||
==personal Tooltip test== | ==personal Tooltip test== | ||
Line 13: | Line 22: | ||
1 | 1 | ||
This is a test | This is a test | ||
Line 30: | Line 38: | ||
3) This is normal text and an image with tooltip on hover. It doesn't support changing the size of the image.<br> | 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: {{filepath:Runic Boulder.png}} | | {{#simple-tooltip-img: {{filepath:Runic Boulder.png}} | {{Tooltip hover box |title= {{ Skill_test|Cleaving Strike}} }} }} | ||
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. }} | 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. }} |
Latest revision as of 17:11, 6 April 2023
condition test
Seal of Electromancy ConditionType |
Shock Damage: 0.15 * scr get damage of weaponis playertarget: targetElectromantic Power 15 FMB -5 Miscast Chance -5 Casting specialized spells transforms this effect into the Seal of a corresponding Magic School and prolongs the effect's duration by ~lg~5~/~ turns. |
Psojed |
personal Tooltip test
Basic tooltips
Including HTML tags
Custom tooltips – text
Custom tooltips – parse
Wikitext and Parser Functions test
1 This is a test
is not empty
default
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.