Home
Random
Log in
Settings
About the Deadlock Wiki
Search
Editing
Template
:
Tooltip/doc
Give feedback
Warning:
You are not logged in. Once you make an edit, a temporary account will be created for you.
Learn more
.
Log in
or
create an account
to continue receiving notifications after this account expires, and to access other features.
Anti-spam check. Do
not
fill this in!
== Usage == This template creates a tooltip that displays additional information when hovered (desktop) or tapped (mobile). It supports text, images, bullet points, and HTML tables. == Examples == === Basic Text === <pre> {{Tooltip|Damage Resist|Reduces incoming damage by a percentage.}} </pre> {{Tooltip|Damage Resist|Reduces incoming damage by a percentage.}} === Using Named Parameters === Recommended for complex content to avoid issues with equals signs. <pre> {{Tooltip|text=Spirit Power|hover=Increases the effectiveness of abilities and items.}} </pre> {{Tooltip|text=Spirit Power|hover=Increases the effectiveness of abilities and items.}} === Lists === To use bullet points, start the list on a new line inside the parameter. <pre> {{Tooltip|text=Debuffs|hover= * Stun * Silence * Disarm }} </pre> {{Tooltip|text=Debuffs|hover= * Stun * Silence * Disarm }} === HTML Tables === Use standard HTML tags for tables. Do not use Wiki Table syntax (<code>{| |}</code>) as it breaks templates. <pre> {{Tooltip|text=Scaling Stats|hover= <table class="wikitable" style="margin:0; width:100%"> <tr> <th>Level</th> <th>Bonus</th> </tr> <tr> <td>1</td> <td>+2 Spirit</td> </tr> <tr> <td>2</td> <td>+4 Spirit</td> </tr> </table> }} </pre> {{Tooltip|text=Scaling Stats|hover= <table class="wikitable" style="margin:0; width:100%"> <tr> <th>Level</th> <th>Bonus</th> </tr> <tr> <td>1</td> <td>+2 Spirit</td> </tr> <tr> <td>2</td> <td>+4 Spirit</td> </tr> </table> }} <templatedata> { "params": { "1": { "label": "Trigger Text", "description": "The visible text that is underlined.", "type": "string", "required": true, "aliases": [ "text" ] }, "2": { "label": "Tooltip Content", "description": "The content shown inside the popup box. Supports HTML tables, images, and lists.", "type": "content", "required": true, "aliases": [ "hover" ] } }, "format": "inline" } </templatedata> <includeonly>[[Category:Formatting templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
Summary:
Please note that all contributions to The Deadlock Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
Deadlock:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Preview page with this template
Page included on this page:
Template:Tooltip
(
edit
)