User:Rewen/Sandbox: Difference between revisions

From Morloch Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:
* The following is a Map 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="map-tooltip" style="color: teal; border-bottom: 1px dotted teal;">'''42360, 45700'''<div class="tooltip-contents">{{mapmark|104|207}}</div></span>




* The following is a Map tooltip with parsed elements: <!--
* 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'''</span>
--><span class="map-tooltip" coord1="144.56" coord2="169.82" style="color: teal; border-bottom: 1px dotted teal;">'''42360, 45700'''</span>


* Another Try: <span class="advanced-tooltip" style="color: teal; border-bottom: 1px dotted teal;">'''10921, 60871'''<div class="tooltip-contents">{{mapmark|104|207}}</div></span>
* Another Try: <span class="advanced-tooltip" style="color: teal; border-bottom: 1px dotted teal;">'''42360, 45700'''<div class="tooltip-contents">{{mapmark|144.56|169.82}}</div></span>

Revision as of 15:17, 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: 42360, 45700
    Map Marker


  • The following is a Map tooltip with parsed elements: 42360, 45700
  • Another Try: 42360, 45700
    Map Marker