1st No. is the first number displayed representing the base value.
2
2nd No. is the second number displayed representing the object value.
dec
This is the number of decimal places to round the percentage change to.
pre
This adds a prefix to the first and second numbers.
pre1
This adds a prefix to the first number.
pre2
This adds a prefix to the second number.
suf
This adds a suffix to the first and second numbers.
suf1
This adds a suffix to the first number.
suf2
This adds a suffix to the second number.
sort
This adds or removes the {{nts}}-compatible sort key from the first two cells. The default is only to add this if a prefix or suffix is used (i.e. only if needed).
italics
This can either have the value of on or off. italics=on makes the output italic. The default is italics=off.
bold
This can either have the value of on or off. bolds=on makes the output bold. The default is bold=off.
invert
This can either have the value of on or off. invert=on switches the base and object values in the calculation of percentage change. The default is invert=off.
align
This adjusts the alignment of text in cells. align=center and align=left aligns the text to the centre and left respectively. The default is align=right.
rowspan
This adjust the row span of cells. The default is rowspan=1.
bgcolour
This adjusts the background colour of cells. The default is bgcolour=inherit (inherits this value from the table).
disp
This controls what is output. disp=out produces the percentage change only (and thus align, rowspan and bgcolour do not work with disp=out). The default is disp=row which produces three cells in a table row.
Examples
The following sortable tables illustrate the use of this template.