Difference between revisions of "User:Rewen/tooltips"

From Morloch Wiki
Jump to: navigation, search
Line 34: Line 34:
  
 
== Power Tooltips ==
 
== Power Tooltips ==
 +
A tooltip for a castable power found in the game.
 +
* '''BASE''': [[:Template:Powertt|<nowiki>{{powertt}}</nowiki>]]
 +
* '''APP''': The application templates for powers have a separate template for each since these will be linked many places throughout the wiki. To link to a power, simply use its name without any spaces.
 +
* '''Example''': To link to the Assassin power Shadow Bolt, one would simply enter <nowiki>{{ShadowBolt}}</nowiki> (case sensitive), which would produce the following: {{ShadowBolt}}
 +
 
== Map Tooltips ==
 
== Map Tooltips ==
 
The map tooltip generates a map of Vorringia and places a pin in a spot defined by the template parameters.
 
The map tooltip generates a map of Vorringia and places a pin in a spot defined by the template parameters.

Revision as of 17:24, 15 February 2018

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

A tooltip for a castable power found in the game.

  • BASE: {{powertt}}
  • APP: The application templates for powers have a separate template for each since these will be linked many places throughout the wiki. To link to a power, simply use its name without any spaces.
  • Example: To link to the Assassin power Shadow Bolt, one would simply enter {{ShadowBolt}} (case sensitive), which would produce the following:
Shadow Bolt

             
Shadow Bolt
 
Single Target Cold Damage and Stun

Current Power Rank: Grand Master: (40)
Attack Rating 1000
Cold Damage 100 - 200
Target is Stunned
Duration: 3.00 seconds
Mana Cost: 40
Prerequisites: Level 10, Skill: Shadowmastery 15

 

Map Tooltips

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

  • BASE: {{MapMark}}
  • APP: {{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.

  • BASE: {{EnchantTip}}
  • APP: {{contract}} - Undefined parameters. Use the names of races separated with <br> tags to produce a vertical list of vendor races.