Difference between revisions of "User:Rewen/tooltips"
Line 36: | Line 36: | ||
== 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. | ||
− | * '''BASE''': [[:Template:Mapmark]] | + | * '''BASE''': [[:Template:Mapmark|<nowiki>{{MapMark}}</nowiki>]] |
− | * '''APP''': [[:Template:Map]] - Undefined Parameters. First coordinate (measures vertical position) and second coordinate (measures horizontal position). | + | * '''APP''': [[:Template:Map|<nowiki>{{map}}</nowiki>]] - Undefined Parameters. First coordinate (measures vertical position) and second coordinate (measures horizontal position). |
* '''Example''': {{map|63471|52976}} | * '''Example''': {{map|63471|52976}} | ||
Revision as of 17:18, 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.
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: {{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.