Template:SkrellTip: Difference between revisions

Template page
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span class="skrelltip">{{{text|Regular text}}}<span class="skrelltiptext">{{{tooltip|Tooltip text}}}<br>''See the [[Skrell/Glossary|Skrell Glossary]] for more Skrell word definitions.''</span></span>
<span class="skrelltip">{{{text|Regular text}}}<span class="skrelltiptext">{{{tooltip|Tooltip text}}}<br>''See the [[Skrell/Glossary|Skrell Glossary]] for more definitions.''</span></span><noinclude><templatedata>
<noinclude><templatedata>
{
{
     "description": "Tooltip that shows when hovering over text. For Skrell words.",
     "description": "Tooltip that shows when hovering over text. For Skrell words. IMPORTANT: If you add a space after the template and use another SkrellTip later (in the same paragraph(?)), the parser may treat it as a new line beginning with a space and format the text in between using <pre> tags - to remedy this, remove the space immediately after the closing braces of the template; when viewed, there will still appear to be a space.",
     "params": {
     "params": {
         "text": {
         "text": {

Latest revision as of 04:11, 13 December 2023

Regular textTooltip text
See the Skrell Glossary for more definitions.

Tooltip that shows when hovering over text. For Skrell words. IMPORTANT: If you add a space after the template and use another SkrellTip later (in the same paragraph(?)), the parser may treat it as a new line beginning with a space and format the text in between using <pre> tags - to remedy this, remove the space immediately after the closing braces of the template; when viewed, there will still appear to be a space.

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Regular Texttext

The text to display normally.

Stringrequired
Tooltip Texttooltip

The text to display in the tooltip

Stringrequired