Difference between revisions of "User:Rewen/tooltips"
Line 6: | Line 6: | ||
* '''BASE''': [[:Template:Runett|<nowiki>{{runett}}</nowiki>]] - for runes | * '''BASE''': [[:Template:Runett|<nowiki>{{runett}}</nowiki>]] - for runes | ||
* '''APP''': [[:Template:item|<nowiki>{{item}}</nowiki>]] | * '''APP''': [[:Template:item|<nowiki>{{item}}</nowiki>]] | ||
− | + | * '''Example''':<br> | |
These templates are used by nesting the base template inside the <nowiki>{{item}}</nowiki> template like so:<br> | These templates are used by nesting the base template inside the <nowiki>{{item}}</nowiki> template like so:<br> | ||
:<code><nowiki>{{item|Hand Axe|</nowiki><br><nowiki> | :<code><nowiki>{{item|Hand Axe|</nowiki><br><nowiki> | ||
Line 20: | Line 20: | ||
}}</nowiki><br><nowiki> | }}</nowiki><br><nowiki> | ||
}}</nowiki></code> | }}</nowiki></code> | ||
+ | * The above code procures this result: {{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 | ||
+ | }} | ||
+ | }} | ||
== Power Tooltips == | == Power Tooltips == |
Revision as of 17:16, 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: 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.