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

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

Template:Tool

From The Codex
Revision as of 19:50, 16 June 2023 by GiverOfThePeace (talk | contribs) (Created page with "<span class="tooltip" title="{{{1}}}" style="color:{{{3|LightBlue}}}">{{{2|25px|link=|text-top}}}</span><noinclude> ==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:<br> {{NoWikiTemp|Normal|Tooltip}} * '''''Tooltip''''' — The tooltip you wish to have. Additional options are available as well: <br> {{No...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.