Template:Tooltip/doc: Difference between revisions

From Olentangy Park Wiki
Jump to navigation Jump to search
Updated example
mNo edit summary
Line 5: Line 5:
'''text''' - The visible text
'''text''' - The visible text


'''tooltip''' - The text in the tool tip
'''tooltip''' - The text in the tooltip


== Example ==
== Example ==

Revision as of 22:46, 14 June 2025

Use

Use this template for extra info such as currency conversion and inflation context.

text - The visible text

tooltip - The text in the tooltip

Example

{{{text}}}{{{tooltip}}}

So the following code:

The cost was {{Tooltip |text = $4|tooltip = $50 in 2025 dollars}}.

Looks like:

The cost was $4$50 in 2025 dollars.

Copyable Base Code

{{Tooltip |text = |tooltip = }}