Changes between Version 1 and Version 2 of GUI_-_Text_Renderer
- Timestamp:
- Nov 16, 2014, 3:18:35 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GUI_-_Text_Renderer
v1 v2 21 21 Note that just because it's called an icon, doesn't mean it has to be small. Icons can be large images between two paragraphs, a horizontal dividing bar, whatever. 22 22 23 To use an icon (declared in <setup.xml>; see [wiki:GUI_-_Custom_Objects#icon icon]) in text, use a ''[icon= <icon.name>]'' tag in the appropriate text. For example:23 To use an icon (declared in <setup.xml>; see [wiki:GUI_-_Custom_Objects#icon icon]) in text, use a ''[icon="<icon.name>"]'' tag in the appropriate text. For example: 24 24 25 25 {{{ 26 <object type="text">Here �s the [icon=smiley] I told you about.</object>26 <object type="text">Here's the [icon="smiley"] I told you about.</object> 27 27 }}} 28 28 … … 30 30 31 31 {{{ 32 object.caption = "Here �s the [icon=smiley] I told you about."32 object.caption = "Here's the [icon=\"smiley\"] I told you about."; 33 33 }}} 34 34 … … 38 38 39 39 {{{ 40 object.caption = "Here �s the [icon="smiley" displace="-4 0"] I told you about."40 object.caption = "Here's the [icon=\"smiley\" displace=\"-4 0\"] I told you about."; 41 41 }}} 42 42 … … 46 46 47 47 {{{ 48 object.caption = "Here's some[imgleft= "ragnarok"] text that will be [imgright="smiley"]surrounded by images"48 object.caption = "Here's some[imgleft=\"ragnarok\"] text that will be [imgright=\"smiley\"]surrounded by images"; 49 49 }}} 50 50