Difference between revisions of "Template:ConsumableTable/row"
Jump to navigation
Jump to search
m (fix freshness for beverages with undefined Freshness) |
m |
||
| Line 36: | Line 36: | ||
}}<!-- | }}<!-- | ||
-->{{#if:{{#var:consumable table freshness}}| | -->{{#if:{{#var:consumable table freshness}}| | ||
{{!}}data-sort-value="{{#if:{{:{{{1}}}|Freshness}}|{{#ifeq: {{:{{{1}}}|Freshness}}|0|9999|{{:{{{1}}}|Freshness}}}}|0}}"{{!}}{{#if:{{:{{{1}}}|Freshness}}|{{#switch: {{#expr: ceil({{:{{{1}}}|Freshness}}/24) }}|0=inf|1=1 day|#default={{#expr: ceil({{:{{{1}}}|Freshness}}/24)}} days}}}} | {{!}}{{!}}data-sort-value="{{#if:{{:{{{1}}}|Freshness}}|{{#ifeq: {{:{{{1}}}|Freshness}}|0|9999|{{:{{{1}}}|Freshness}}}}|0}}"{{!}}{{#if:{{:{{{1}}}|Freshness}}|{{#switch: {{#expr: ceil({{:{{{1}}}|Freshness}}/24) }}|0=inf|1=1 day|#default={{#expr: ceil({{:{{{1}}}|Freshness}}/24)}} days}}}} | ||
}}<!-- | }}<!-- | ||
-->{{#if:{{#var:consumable table description}}| | -->{{#if:{{#var:consumable table description}}| | ||
Revision as of 16:43, 3 September 2025
This template has no documentation. If you know how to use this template, please add some.