Difference between revisions of "User:Rewen/Sandbox"

From Morloch Wiki
Jump to: navigation, search
Line 7: Line 7:
 
I added classes: "pwr-tooltip" and "map-tooltip".
 
I added classes: "pwr-tooltip" and "map-tooltip".
  
* The following has a Power tooltip: <span class="pwr-tooltip" style="cursor:pointer;" style="border-bottom: 1px dotted darkred;">Shadow Bolt</span>
+
* The following has a Power tooltip: <!--
* The following is a Map tooltip: <span class="map-tooltip" style="color: teal; border-bottom: 1px dotted teal;">'''10921, 60871'''<div class="tooltip-contents">{{mapmark|104|207}}</div></span>
+
 
 +
--><span class="pwr-tooltip" style="cursor:pointer;" style="border-bottom: 1px dotted darkred;">Shadow Bolt</span><!--
 +
 
 +
-->
 +
* The following is a Map tooltip: <!--
 +
 
 +
--><span class="map-tooltip" style="color: teal; border-bottom: 1px dotted teal;">'''10921, 60871'''<div class="tooltip-contents">{{mapmark|104|207}}</div></span>
 +
 
 +
 
 +
* The following is a Map tooltip with parsed elements: <!--
 +
 
 +
--><span class="map-tooltip" coord1="104" coord2="204" style="color: teal; border-bottom: 1px dotted teal;">'''10921, 60871'''<div class="tooltip-contents">{{mapmark|104|207}}</div></span>

Revision as of 15:12, 2 October 2017

Tooltips

Basic tooltips

Advanced tooltips
Tooltip content
<a href="http://www.google.com>Google!</a>

Custom Tooltips

I added classes: "pwr-tooltip" and "map-tooltip".

  • The following has a Power tooltip: Shadow Bolt
  • The following is a Map tooltip: 10921, 60871
    Map Marker

    Markedmap.png


  • The following is a Map tooltip with parsed elements: 10921, 60871
    Map Marker

    Markedmap.png