Tag Archives: XVM 5.3.0 test 1

XVM 5.3.0 test 1 (WoT client 0.9.0)

What’s new in 5.3.0 test 1

MAJOR UPDATES
* new macros formatting (see readme-en.txt) {{name[%[flag][width][.prec]type][~suf][|def]}}
name – macro name
flag – “-” for left align, else right align
“0” for filling with leading zeros
width – minimum width
prec – maximum width for lines or number of digits after comma for numbers
type – type (s – string, d – decimal, f – float, …)
suf – suffix added at the end
def – default value, set when value is absent:
Details: http://en.wikipedia.org/wiki/Printf
For example:
{{name%-16.16s}} – cut names longer 10 chars, and fill names shorter 10 chars and align left
{{kb%4.01f~k|—-}} – width 4 chars, exactly 1 char after comma, align right
if kb==null, display “—-”
* config version increased to 5.1.0
Continue reading