Difference between revisions of "User:Rewen/tooltips"

From Morloch Wiki
Jump to: navigation, search
 
Line 2: Line 2:
  
 
== Item Tooltips ==
 
== Item Tooltips ==
* '''BASE''': [[:Template:Weaptt?]] - for weapons
+
* '''BASE''': [[:Template:Weaptt|<nowiki>{{weaptt}}</nowiki>]] - for weapons
* '''BASE''': [[:Template:Armortt?]] - for armor
+
* '''BASE''': [[:Template:Armortt|<nowiki>{{armortt}}</nowiki>]] - for armor
* '''BASE''': [[:Template:Runett]] - for runes
+
* '''BASE''': [[:Template:Runett|<nowiki>{{runett}}</nowiki>]] - for runes
* '''APP''': [[:Template:item]]
+
* '''APP''': [[:Template:item|<nowiki>{{item}}</nowiki>]]
 +
 
 +
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>
 +
{{weaptt|</nowiki><br><nowiki>
 +
|title=Hand Axe</nowiki><br><nowiki>
 +
|damage=One Hand Slashing Damage: 3 - 12</nowiki><br><nowiki>
 +
|class=Axe Class - Axe Mastery Subclass</nowiki><br><nowiki>
 +
|speed=Slow Attack Speed (45.0)</nowiki><br><nowiki>
 +
|skill=Axe 25</nowiki><br><nowiki>
 +
|dur=27</nowiki><br><nowiki>
 +
|wt=5</nowiki><br><nowiki>
 +
|cost=125</nowiki><br><nowiki>
 +
}}</nowiki><br><nowiki>
 +
}}</nowiki></code>
  
 
== Power Tooltips ==
 
== Power Tooltips ==

Revision as of 17:12, 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
}}
}}

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
    Map Marker

    Markedmap.png

    )

Misc Tooltips

Enchantment Vendor List

For enchantments which are restricted based on vendor type.