Quote:
Originally Posted by theducks
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.
Klaus
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)!