Template:Exp: Difference between revisions
Jump to navigation
Jump to search
PhantomCaleb (talk | contribs) (replacing inline style with stylesheet - deprecating custom color param as this won't work well with theming in the future) |
PhantomCaleb (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><templatestyles src="Template:Exp/Styles.css"/><span class="explain | <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
# | Input | Output | Categories 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)