View Single Post
Old 02-01-2012, 02:08 AM   #3
KlausRegenbrecht began at the beginning.
Posts: 56
Karma: 10
Join Date: Nov 2011
Device: PRS-T1
Originally Posted by theducks View Post
If you feast your eyes on the Save to Template guide {rating||-}
Thank you for the answer, rating will show a number like this 2.0, but i want just the number like 2 or 3 (2, 3 stars) but if there are no stars i dont want the zero (o), if the field has no value, then the result should be an empty string, like {series} do.

01.02.2012 appendix:
i found a solution that works fine for me, with a helpfull hand of my friend Friedhelm:
{series:.10}{series_index:0>2s| | - }{title}, changing the title
{authors}{rating:.1| - |}, changing authors

All the books have no ratings, only the books i have read. With the rating at authors i can see with one view, which books are read already! 0=new book, 1 - 5 = already familiar.
Show this (0 - 5) at the end of a book-title, will sometimes be out of sight, if the titel is very long (with series and series-index in front)!

Last edited by KlausRegenbrecht; 02-01-2012 at 09:25 AM.
KlausRegenbrecht is offline   Reply With Quote