Template:ReportListRow: Difference between revisions
From Avi's Drug Diary
Created page with "<includeonly> {{!}} [[{{{page}}}|{{PAGENAME:{{{page}}}}}]] {{!}} {{{category}}} {{!}} {{{substances}}} {{!}} {{{rating}}} {{!}} {{{duration}}} {{!-}} </includeonly>" |
Keep report list rows compact |
||
| (11 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><tr> | ||
<td>[[{{{page}}}|{{{title}}}]]</td> | |||
{{ | {{#if:{{{author|}}}|<td>{{{author}}}</td>}} | ||
{{ | <td>{{{category|}}}</td> | ||
{{ | <td>{{#replace:{{{substances|}}}|;|, }}</td> | ||
<td class="report-rating" style="white-space:nowrap;width:1%;text-align:left;letter-spacing:-0.06em">{{#switch:{{{rating|}}}|1=★☆☆☆☆|2=★★☆☆☆|3=★★★☆☆|4=★★★★☆|5=★★★★★|#default=—}}</td> | |||
<td>{{{duration|}}}</td> | |||
</includeonly> | </tr></includeonly> | ||