Difference between revisions of "User:Psojed"
(Created page with "1 <noinclude> This is a test {{#if: abc | is not empty | is empty }} {{#switch: {{:User:Psojed}} |1=one |default }} </noinclude>") |
|||
(7 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== | |||
<span class="basic-tooltip" title="Text to show inside tooltip">Basic tooltips</span> | |||
<div style="display:inline-block" class="advanced-tooltip">Advanced tooltips<div class="tooltip-contents">Tooltip content<br/><code>Including HTML tags</code></div></div> | |||
<span class="custom-tooltip-text" data-parameter="Some value">Custom tooltips – text</span> | |||
<span class="custom-tooltip-parse" data-parameter="Some value">Custom tooltips – parse</span> | |||
==Wikitext and Parser Functions test== | |||
1 | 1 | ||
This is a test | This is a test | ||
Line 7: | Line 28: | ||
{{#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: {{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. }} | |||
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. | |||
</noinclude> | </noinclude> |
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.