User Tools

Site Tools


columns_ui:config:item_details_titleformatting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
columns_ui:config:item_details_titleformatting [2008/12/07 17:46] musicmusiccolumns_ui:config:item_details_titleformatting [2012/11/04 17:44] (current) – old revision restored musicmusic
Line 1: Line 1:
 ====== Item details title formatting reference ====== ====== Item details title formatting reference ======
- 
-TODO Placeholder article - not finished 
  
 ===== Functions ===== ===== Functions =====
Line 7: Line 5:
 ==== $set_font ==== ==== $set_font ====
  
-Changes the font for proceeding characters outputted by the title format script.+Changes the font used for subsequent text.
  
 === Syntax === === Syntax ===
Line 16: Line 14:
  
 ^ Name ^ Type ^ ^ Name ^ Type ^
-| bold   | boolean ^ +| bold   | boolean | 
-| italic | boolean ^ +| italic | boolean | 
-| underline | boolean ^+| underline | boolean 
 + 
 +You can store the output of $set_font using $put/$puts to enable you to easily recall the font later using $get.
  
 === Examples === === Examples ===
  
-  $set_font(Segoe UI,12,bold;italic;+== Setting the font to Segoe UI 12 pt, bold, italic (short form) == 
-  $set_font(Segoe UI,12,bold=true;italic=true;) //Alternate form+$set_font(Segoe UI,12,bold;italic;
 +== Setting the font to Segoe UI 12 pt, bold, italic (full form) == 
 +$set_font(Segoe UI,12,bold=true;italic=true;) 
 +== Storing fonts for repeated/later use == 
 +<code tagz> 
 +$puts(labelfont,$set_font(Segoe UI,12,bold;italic;)) 
 + 
 +$get(labelfont)Artist$reset_font() %artist% 
 +$crlf() 
 +$get(labelfont)Title$reset_font() %title% 
 +</code>  
  
-==== $restore_font ====+==== $reset_font ====
  
-Restores the font to the default panel font for proceeding characters outputted by the title format script.+Restores the font for subsequent text to the default panel font.
  
 === Syntax === === Syntax ===
  
-$restore_font()+$reset_font()
  
columns_ui/config/item_details_titleformatting.1228671976.txt.gz · Last modified: 2008/12/07 17:46 by musicmusic