[TEMPLATE] Progress Bar with extra text
WEAKAURA Updated Mar 21st 2017 User asakawa Views 544 Comments 0 Stars 1
Note: See the whole collection: https://wago.io/Vkp4i1tXf

This is a bare template for an Icon type aura with no trigger or conditions (you add those), but with an extra, fully customisable, text area added.

Display settings for this text area are found in the Actions > On Init > Custom area.

Within those settings there's two options for the actual text displayed. You can use the "Simple Text Output"; this works very similarly to the regular text box for icons in the Display tab, and accepts some of the usual placeholders (%s, %p, etc.). Alternatively, with the Simple Text Output left empty, you can use a "Custom Function" (positioned just below in the settings) for more complex or dynamic outputs.

NOTE: The extra text is actually sent via the Custom Text box in the Display settings. As long as the "%c" remains in that box you can add to it as you like without any issues. For example if you want the default icon text to show stacks then you would use "%c%s" or it could say "%cPepe" and the normal text would output "Pepe" while still sending the Alt Text. Just leave the "%c" in there somewhere.

If you want to use a Custom Function for the regular icon text this is fine too. just leave the first line of the custom function as it is and feel free to return whatever you like after that.
General UtilityNon-CombatDamage DealingHealingTankingPvE UtilityPvP Utility
[TEMPLATE] Icon with extra text area
WEAKAURA Updated Mar 21st 2017 User asakawa Views 1,047 Comments 2 Stars 5
(2 texts, 1icon...?)

Note: See the whole collection: https://wago.io/Vkp4i1tXf

This is a bare template for an Icon type aura with no trigger or conditions (you add those), but with an extra, fully customisable, text area added.

Display settings for this text area are found in the Actions > On Init > Custom area.

Within those settings there's two options for the actual text displayed. You can use the "Simple Text Output"; this works very similarly to the regular text box for icons in the Display tab, and accepts some of the usual placeholders (%s, %p, etc.). Alternatively, with the Simple Text Output left empty, you can use a "Custom Function" (positioned just below in the settings) for more complex or dynamic outputs.

NOTE: The extra text is actually sent via the Custom Text box in the Display settings. As long as the "%c" remains in that box you can add to it as you like without any issues. For example if you want the default icon text to show stacks then you would use "%c%s" or it could say "%cPepe" and the normal text would output "Pepe" while still sending the Alt Text. Just leave the "%c" in there somewhere.

If you want to use a Custom Function for the regular icon text this is fine too. just leave the first line of the custom function as it is and feel free to return whatever you like after that.

_________________________
Update (21/03/17): A few fixes. No longer requires reloads to reset anchors etc.
Update (13/12/16): Now supports rotation of the text.
Update (05/12/16): Now has simple text input (not just a custom function) and also supports placeholders (e.g. "%p", etc.)
General UtilityNon-CombatRaid LeadingDamage DealingHealingTanking2 more categories