WoW:MACRO metashowtooltip: Difference between revisions

m
Move page script moved page MACRO metashowtooltip to WoW:MACRO metashowtooltip without leaving a redirect
(Creation)
 
m (Move page script moved page MACRO metashowtooltip to WoW:MACRO metashowtooltip without leaving a redirect)
 
(4 intermediate revisions by 3 users not shown)
Line 7: Line 7:
  #showtooltip BagId slot  <--Shows an item by bag slot
  #showtooltip BagId slot  <--Shows an item by bag slot
  #showtooltip InvSlot    <--Shows an item by inventory slot
  #showtooltip InvSlot    <--Shows an item by inventory slot
#showtooltip            <--Shows tooltip dynamically (See Notes)


== Aliases ==
== Aliases ==
Line 21: Line 22:


== Notes ==
== Notes ==
:In order for this to work, you must select the "?" icon.
 
:If you don't know the spell, don't have the item, or the position you specified on your character or bag is empty, the button will show the default "?" icon.
*You don't have to choose the question mark icon ("?") for this to work; however, if you don't, the icon will not dynamically change based on the conditions set within the macro text and the icon will instead be the one you chose until such time as you change it manually.
:Other data affecting the button's appearance will be pulled from this as well, such as the green border around equipped items, the number of items you have, the number of reagents for the specified spell you have, etc...
*The tooltip will dynamically change based on the conditions set within the macro text regardless of which icon you chose when you created the macro.
:The click action of the button will not be affected by this, you still need to use slash commands to make the button do something.
*If you don't know the spell, don't have the item, or the position you specified on your character or bag is empty, the button will show the "?" icon (unless you didn't choose the "?" - see first note).
:Any successive metacommands to define the icon or tooltip will be ignored
*Other data affecting the button's appearance will be pulled from this as well, such as the green border around equipped items, the number of items you have, the number of reagents for the specified spell you have, etc...
:If the icon was already specified by a previous [[MACRO metashow|#show]], then this command is ignored entirely.
*The click action of the button will not be affected by this, you still need to use slash commands to make the button do something.
:The default tooltip text is the name of the macro.
*Any successive metacommands to define the icon or tooltip will be ignored
:Omitting arguments to this metacommand will have no effect.  By default, the UI will pull information from [[MACRO cast|/cast]], [[MACRO castsequence|/castsequence]], [[MACRO castrandom|/castrandom]], [[MACRO use|/use]], [[MACRO userandom|/userandom]], [[MACRO equip|/equip]], or [[MACRO equipslot|/equipslot]].
*If the icon was already specified by a previous [[MACRO metashow|#show]], then this command is ignored entirely, including tooltips (the tooltip always shows the name of the macro).
*The default tooltip text is the name of the macro.
*Omitting arguments to this metacommand will allow the UI will pull information from [[MACRO cast|/cast]], [[MACRO castsequence|/castsequence]], [[MACRO castrandom|/castrandom]], [[MACRO use|/use]], [[MACRO userandom|/userandom]], [[MACRO equip|/equip]], or [[MACRO equipslot|/equipslot]].
Anonymous user