Difference between revisions of "User:Rewen/tooltips"
Line 52: | Line 52: | ||
=== Enchantment Vendor List === | === Enchantment Vendor List === | ||
For enchantments which are restricted based on vendor type. | For enchantments which are restricted based on vendor type. | ||
− | * '''BASE''': [[:Template: | + | * '''BASE''': [[:Template:enchanttip|<nowiki>{{enchanttip}}</nowiki>]] |
* '''APP''': [[:Template:Contract|<nowiki>{{contract}}</nowiki>]] - Undefined parameters. Use the names of races separated with '''<nowiki><br></nowiki>''' tags to produce a vertical list of vendor races. | * '''APP''': [[:Template:Contract|<nowiki>{{contract}}</nowiki>]] - Undefined parameters. Use the names of races separated with '''<nowiki><br></nowiki>''' tags to produce a vertical list of vendor races. |
Revision as of 17:36, 15 February 2018
This page organizes all tool tips being used on 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.
Template markup is case sensitive. {{shadowbolt}} is not the same as {{ShadowBolt}}.
Contents
Item Tooltips
- BASE: {{weaptt}} - for weapons
- BASE: {{armortt}} - for armor
- BASE: {{runett}} - for runes
- APP: {{item}}
- Example:
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 | ||
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 | ||
Single Target Cold Damage and Stun Current Power Rank: Grand Master: (40) |
||
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)
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.