Template:Exp: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search
(replacing inline style with stylesheet - deprecating custom color param as this won't work well with theming in the future)
No edit summary
Line 1: Line 1:
<includeonly><templatestyles src="Template:Exp/Styles.css"/><span class="explain" rel="tooltip" title="{{#invoke:String|Escape|{{{1}}}}}">{{{2|[[File:Triforce piece.png|13px|link=|text-top]]}}}</span>{{#if:{{{3|}}}|{{#invoke:Error|Warn|Custom colors are no longer supported as they may be incompatible with future color schemes.}}[[Category:{{Deprecated Parameters}}]]}}</includeonly><noinclude>
<includeonly><templatestyles src="Template:Exp/Styles.css"/><span class="explain {{Tooltip}}" title="{{#invoke:String|Escape|{{{1}}}}}">{{{2|[[File:Triforce piece.png|13px|link=|text-top]]}}}</span>{{#if:{{{3|}}}|{{#invoke:Error|Warn|Custom colors are no longer supported as they may be incompatible with future color schemes.}}[[Category:{{Deprecated Parameters}}]]}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
[[Category:Formatting Templates]]
[[Category:Formatting Templates]]
</noinclude>
</noinclude>

Revision as of 13:59, 13 November 2022


Purpose

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

When applicable, use Exp Game instead.

Usage

{{Exp|<tooltip>|<displayText>}}
  • tooltip — The tooltip explanation you wish to have.
  • displayText — Define a different text for the template to display. Defaults to an image of the Triforce.

Examples

#InputOutputCategories added
1{{Exp|Master Mode only}}
2{{Exp|west in wii version|east}} east
3{{Exp|This name is derived from Japanese text.|Gūma|#e44b1f}} Gūma
The above documentation is transcluded from Template:Exp/Documentation. (edit | history)