TextPreviewCode

A magic missile is thrown at an enemy unit, stunning it and causing damage. |n|n|cffffcc00Level 1|r - Deals 100 damage. Stuns for 1.45 seconds. |n|cffffcc00Level 2|r - Deals 175 damage. Stuns for 1.55 seconds. |n|cffffcc00Level 3|r - Deals 250 damage. Stuns for 1.65 seconds. |n|cffffcc00Level 4|r - Deals 325 damage. Stuns for 1.75 seconds. |n|n|cff99ccffCooldown: |r 13/12/11/10 |n|n|cff99ccffManacost: |r 110/120/130/140


Guide

Spell names along with hotkey stored in "header" tip - no need to include that into tooltip.
There are 2 kind of tooltips: learning tip and ubertip. There are only one learning tip but ubertip count equal to number of levels spell has.
In order to see changes you have to remove focus from "text" window by clicking elsewhere. Be aware that preview may be misleading when Bold and Italic messed in "text".
Bold (Ctrl+B) will paint selected text in orange (active level).
Italic (Ctrl+I) will paint selected text in grey (inactive level).
Generated HEX-color should be used like "|cffHHEEXX text |r", where HHEEXX is hex value.
Имена заклинаний и хоткей записан в заголовке - не нужно его повторять в описании.
Есть 2 типа подсказок - для изучения и для использования. Для изучения всегда используется только одна подсказка, а для использования у каждого уровня есть своя.
Чтобы отобразить изменения, нужно кликнуть на втором или третьем окне (убрать фокус с первого). Предпросмотр может отображать смешение жирного и курсива неправильно - нужно быть внимательным!
Жирный (Ctrl+B) делает выделенный текст оранжевым (текущий уровень).
Курсив (Ctrl+I) делает выделенный текст серым (неактивный уровень).
Сгенерированный HEX-цвет нужно использовать в виде "|cffHHEEXXтекст|r", где HHEEXX - сгенерированный hex-цвет.

Examples