<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.telosrealms.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AImageTooltip%2Fdoc</id>
	<title>Template:ImageTooltip/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.telosrealms.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AImageTooltip%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.telosrealms.com/index.php?title=Template:ImageTooltip/doc&amp;action=history"/>
	<updated>2026-06-22T08:00:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.telosrealms.com/index.php?title=Template:ImageTooltip/doc&amp;diff=14986&amp;oldid=prev</id>
		<title>Willow: the mass documenting</title>
		<link rel="alternate" type="text/html" href="https://wiki.telosrealms.com/index.php?title=Template:ImageTooltip/doc&amp;diff=14986&amp;oldid=prev"/>
		<updated>2026-06-20T11:55:08Z</updated>

		<summary type="html">&lt;p&gt;the mass documenting&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;ImageTooltip&amp;lt;/code&amp;gt; shows an image that swaps to a second image on hover and reveals a titled tooltip box of details — used for the interactive nodes on the skill-tree pages.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
This template renders a base image; when the reader hovers it, the image can switch to a &amp;quot;hover&amp;quot; version and a tooltip panel (with a title and a block of content) appears. It is the building block of every skill-tree node — see [[Template:Knight/Skill Tree]] and the other class skill-tree templates ([[Template:Assassin/Skill Tree]], [[Template:Huntress/Skill Tree]], etc.).&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Parameter !! Required? !! What it does !! Example&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;img&amp;lt;/code&amp;gt; || Optional || One or two file names (with extension) separated by a semicolon &amp;lt;code&amp;gt;;&amp;lt;/code&amp;gt;. The first is the base image; the optional second is shown on hover. Both render at 46px. Omit for a tooltip with no image. || &amp;lt;code&amp;gt;SpinningQuestion.gif;HoverSpinningQuestion.gif&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; || Optional || The heading shown at the top of the tooltip panel (e.g. the skill name). || &amp;lt;code&amp;gt;Ground Zero&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;content&amp;lt;/code&amp;gt; || Optional || The body of the tooltip. Free wikitext/HTML — paragraphs, &amp;lt;code&amp;gt;&amp;amp;lt;span&amp;amp;gt;&amp;lt;/code&amp;gt; highlights, &amp;lt;code&amp;gt;&amp;amp;lt;br&amp;amp;gt;&amp;lt;/code&amp;gt;, etc. || &amp;lt;code&amp;gt;&amp;amp;lt;p&amp;amp;gt;Upon activating a shield...&amp;amp;lt;/p&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== How to use ==&lt;br /&gt;
1. Set &amp;lt;code&amp;gt;img&amp;lt;/code&amp;gt; to your image file name(s) &amp;#039;&amp;#039;&amp;#039;with&amp;#039;&amp;#039;&amp;#039; extension. For a hover-swap effect, give two names separated by a semicolon: &amp;lt;code&amp;gt;img=Base.gif;Hover.gif&amp;lt;/code&amp;gt;. The part before the &amp;lt;code&amp;gt;;&amp;lt;/code&amp;gt; is the resting image; the part after is shown while hovering.&lt;br /&gt;
2. For a single static image with no swap, give just one name: &amp;lt;code&amp;gt;img=Base.gif&amp;lt;/code&amp;gt;.&lt;br /&gt;
3. Put the tooltip heading in &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; (typically the node/skill name).&lt;br /&gt;
4. Put the tooltip body in &amp;lt;code&amp;gt;content&amp;lt;/code&amp;gt;. Because it is usually multi-line, place &amp;lt;code&amp;gt;|content=&amp;lt;/code&amp;gt; on its own line and write the HTML beneath, closing with &amp;lt;code&amp;gt;}}&amp;lt;/code&amp;gt;. The skill trees use &amp;lt;code&amp;gt;&amp;amp;lt;p&amp;amp;gt;...&amp;amp;lt;/p&amp;amp;gt;&amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;&amp;amp;lt;span&amp;amp;gt;&amp;lt;/code&amp;gt; tags to highlight numbers.&lt;br /&gt;
&lt;br /&gt;
== Copy this ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; style=&amp;quot;overflow:auto;&amp;quot;&amp;gt;&lt;br /&gt;
{{ImageTooltip&lt;br /&gt;
|img=&lt;br /&gt;
|title=&lt;br /&gt;
|content=&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
{{ImageTooltip&lt;br /&gt;
|img=SpinningQuestion.gif;HoverSpinningQuestion.gif&lt;br /&gt;
|title=Ground Zero&lt;br /&gt;
|content=&lt;br /&gt;
&amp;lt;p&amp;gt;Upon activating a shield, for &amp;lt;span&amp;gt;5s &amp;lt;/span&amp;gt;every time you land from a jump you will deal damage in a &amp;lt;span&amp;gt;4 block radius &amp;lt;/span&amp;gt;based on ability tier point.&amp;lt;/p&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; style=&amp;quot;overflow:auto;&amp;quot;&amp;gt;&lt;br /&gt;
{{ImageTooltip&lt;br /&gt;
|img=SpinningQuestion.gif;HoverSpinningQuestion.gif&lt;br /&gt;
|title=Ground Zero&lt;br /&gt;
|content=&lt;br /&gt;
&amp;lt;p&amp;gt;Upon activating a shield, for &amp;lt;span&amp;gt;5s &amp;lt;/span&amp;gt;every time you land from a jump you will deal damage in a &amp;lt;span&amp;gt;4 block radius &amp;lt;/span&amp;gt;based on ability tier point.&amp;lt;/p&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Tips &amp;amp; notes ==&lt;br /&gt;
* The semicolon in &amp;lt;code&amp;gt;img&amp;lt;/code&amp;gt; is the key syntax: &amp;lt;code&amp;gt;base;hover&amp;lt;/code&amp;gt;. With only one name there is simply no hover swap.&lt;br /&gt;
* Both images must include their extension (&amp;lt;code&amp;gt;.gif&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;.png&amp;lt;/code&amp;gt;) — the template does not append one. Both are rendered at a fixed 46px, centered, with links disabled.&lt;br /&gt;
* Skill-tree nodes that aren&amp;#039;t ready yet use the placeholder pair &amp;lt;code&amp;gt;SpinningQuestion.gif;HoverSpinningQuestion.gif&amp;lt;/code&amp;gt;.&lt;br /&gt;
* Inside &amp;lt;code&amp;gt;content&amp;lt;/code&amp;gt;, bare &amp;lt;code&amp;gt;&amp;amp;lt;span&amp;amp;gt;&amp;lt;/code&amp;gt; tags are styled by the page CSS to highlight values; this is a convention, not a requirement.&lt;br /&gt;
* Escape apostrophes in &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; as needed in source (the trees use &amp;lt;code&amp;gt;&amp;amp;amp;#x27;&amp;lt;/code&amp;gt;) so they don&amp;#039;t interfere with wiki markup.&lt;br /&gt;
* Related: {{tl|InlineImage}} (static captioned image) and {{tl|DynamicGifDisplay}} (the hover-driven GIF panel these nodes feed).&lt;/div&gt;</summary>
		<author><name>Willow</name></author>
	</entry>
</feed>