User:Rewen/tooltips
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.
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
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)
Misc Tooltips
Enchantment Vendor List
For enchantments which are restricted based on vendor type.
- BASE: Template:Enchanttip?
- APP: Template:Contract - Undefined parameters. Use the names of races separated with <br> tags to produce a vertical list of vendor races.