User:Rewen/tooltips

From Morloch Wiki
< User:Rewen
Revision as of 17:16, 15 February 2018 by Rewen (talk | contribs)
Jump to: navigation, search

Organized list of all tooltips being used in this wiki. Each tooltip consists of 2 templates and a block of CSS code. There is a BASE template and an APPLICATION template. The BASE template defines what the tool tip looks like. the APPLICATION template defines what the trigger looks like.

Item Tooltips

These templates are used by nesting the base template inside the {{item}} template like so:

{{item|Hand Axe|
{{weaptt|
|title=Hand Axe
|damage=One Hand Slashing Damage: 3 - 12
|class=Axe Class - Axe Mastery Subclass
|speed=Slow Attack Speed (45.0)
|skill=Axe 25
|dur=27
|wt=5
|cost=125
}}
}}
  • The above code procures this result:
Hand Axe

             
Hand Axe
 
One Hand Slashing Damage: 3 - 12
Axe Class - Axe Mastery Subclass
Slow Attack Speed (45.0)
 
Skill Requirement: Axe 25%
 
Durability: 27 of 27
Weight: 5
Cost:125
 

Power Tooltips

Map Tooltips

The map tooltip generates a map of Vorringia and places a pin in a spot defined by the template parameters.

  • BASE: Template:Mapmark
  • APP: Template:Map - Undefined Parameters. First coordinate (measures vertical position) and second coordinate (measures horizontal position).
  • Example: (63471, 52976
    Map Marker

    Markedmap.png

    )

Misc Tooltips

Enchantment Vendor List

For enchantments which are restricted based on vendor type.