Vorlage:Tooltip: Unterschied zwischen den Versionen

Aus NyanWiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „<includeonly><span class="explain" title="{{{2}}}">{{{1}}}</span></includeonly><noinclude>__NOTOC__ This template is used to create a tooltip over a particular…“)
 
Keine Bearbeitungszusammenfassung
 
Zeile 9: Zeile 9:
=== Example ===
=== Example ===
{|class=wikitable
{|class=wikitable
|<code><nowiki>{{Tooltip|iRO|International Ragnarok Online}}</nowiki></code>||{{Tooltip|iRO|International Ragnarok Online}}
|<code><nowiki>{{Tooltip|nRO|Nyan Ragnarok Online}}</nowiki></code>||{{Tooltip|nRO|Nyan Ragnarok Online}}
|-
|-
|<code><nowiki>{{Tooltip|iWDB|iRO Wiki Database}}</nowiki></code>||{{Tooltip|iWDB|iRO Wiki Database}}
|<code><nowiki>{{Tooltip|nDB|NyanDB}}</nowiki></code>||{{Tooltip|nDB|NyanDB}}
|}
|}



Aktuelle Version vom 14. Januar 2016, 15:37 Uhr

This template is used to create a tooltip over a particular text when the mouse is over it.

Usage

{{Tooltip|text|explanation}}
  • text is the target text to be used.
  • explanation is the tooltip text that describes the target text.

Example

{{Tooltip|nRO|Nyan Ragnarok Online}} nRO
{{Tooltip|nDB|NyanDB}} nDB

Notes

  • Using some characters like a quotation mark (") or an equal mark (=) in the 'explanation' parameter (the hidden text) will cause the template to display incorrectly. To display these characters, use the html entity quot (i.e. write & quot ; without the spaces) or alternatively put the second parameter in <nowiki> tags.