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:Exp: Difference between revisions

From The Codex
GiverOfThePeace
GiverOfThePeace (talk | contribs) (Created page with "<includeonly><span class="explain" rel="tooltip" title="{{{1}}}" style="text-decoration: underline dotted;">{{{2|13px|link=|text-top}}}</span></includeonly><noinclude> {{Documentation}} Category:Formatting Templates </noinclude>")
 
 
Line 1: Line 1:
<includeonly><span class="explain" rel="tooltip" title="{{{1}}}" style="text-decoration: underline dotted;">{{{2|[[File:Triforce piece.png|13px|link=|text-top]]}}}</span></includeonly><noinclude>
<includeonly><span class="explain" rel="tooltip" title="{{{1}}}" style="text-decoration: underline dotted;">{{{2|[[File:Triforce piece.png|13px|link=|text-top]]}}}</span></includeonly><noinclude>
{{Documentation}}
{{DocumentationTabbers}}
[[Category:Formatting Templates]]
[[Category:Formatting Templates]]
</noinclude>
</noinclude>

Latest revision as of 19:51, 16 June 2023

Purpose

This template provides a bit of code that will display text with an explanatory Template:Dict.

Use this template sparingly and only for non-essential notes. A large portion of Zelda Wiki's readers are on mobile devices that cannot open tooltips. When applicable, use Exp Game instead.

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| }}    {{Exp{{#var:content}}}}

  • Explanation — The tooltip explanation 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|0}}{{#vardefine:count2|1}}{{#vardefine:count1|1}}{{#vardefine:count|Expression error: Unrecognized punctuation character "{".}}{{#var:count}}}}{{#vardefine:content| }}    {{Exp{{#var:content}}}}

  • Explanation — The tooltip explanation you wish to have. Due to a bug, the tooltip will not appear if it contains double quotes ("). Instead, use single quotes (') or the code &quot;.
  • Display Text — Define a different text for the template to display. Defaults to an image of the Triforce.

Examples

Script error: No such module "Documentation".

The above documentation is transcluded from Template:Exp/Documentation. (edit | history)