The official discord link if you wish to join the discord: https://discord.gg/j5RKwCvAFu

The background art comes from Cherylann1960.

Support the wiki on our official Ko-Fi page or Patreon page!

Template:Tool

From The Codex

Purpose

This template provides a bit of code that will display text with an tooltip.

Usage

To use this template to have just the basic functionality, type:
{{#vardefine:parameters|{{#vardefine:count16|0}}{{#vardefine:count15|0}}{{#vardefine:count14|0}}{{#vardefine:count13|0}}{{#vardefine:count12|0}}{{#vardefine:count11|0}}{{#vardefine:count10|0}}{{#vardefine:count9|0}}{{#vardefine:count8|0}}{{#vardefine:count7|0}}{{#vardefine:count6|0}}{{#vardefine:count5|0}}{{#vardefine:count4|0}}{{#vardefine:count3|0}}{{#vardefine:count2|0}}{{#vardefine:count1|1}}{{#vardefine:count|Expression error: Unrecognized punctuation character "{".}}{{#var:count}}}}{{#vardefine:content| }}    {{Tool{{#var:content}}}}

  • Tooltip — The tooltip you wish to have.

Additional options are available as well:
{{#vardefine:parameters|{{#vardefine:count16|0}}{{#vardefine:count15|0}}{{#vardefine:count14|0}}{{#vardefine:count13|0}}{{#vardefine:count12|0}}{{#vardefine:count11|0}}{{#vardefine:count10|0}}{{#vardefine:count9|0}}{{#vardefine:count8|0}}{{#vardefine:count7|0}}{{#vardefine:count6|0}}{{#vardefine:count5|0}}{{#vardefine:count4|0}}{{#vardefine:count3|1}}{{#vardefine:count2|1}}{{#vardefine:count1|1}}{{#vardefine:count|Expression error: Unrecognized punctuation character "{".}}{{#var:count}}}}{{#vardefine:content| }}    {{Tool{{#var:content}}}}

  • Tooltip — The tooltip you wish to have.
  • Display Text — Define a different text for the template to display. Defaults to an image of the Kokiri's Emerald.
  • Color — Optionally define a different color to use. Must be in HTML color format: either defined colors like Red, Blue, Yellow, etc. or hex codes with a sharp/pound symbol such as #00CC00. Defaults to LightBlue if not defined.

See Also

For a similar function also adds a question mark to the mouse pointer, see: Template:Exp.