Changes

Jump to navigation Jump to search
6 bytes removed ,  02:27, 20 December 2022
+data sort values for buffs
Line 2: Line 2:  
|-
 
|-
 
|[[File:{{{image|}}}|center]]
 
|[[File:{{{image|}}}|center]]
|{{#if:{{{name|}}} | [[{{{name|}}}]] | [[{{PAGENAME}}]] }}
+
|{{#if:{{{name|}}} | [[{{{name|}}}]] | }}
|{{{description|}}}
+
|{{#if:{{{description|}}} | {{{description|}}} | {{Description|{{{name|}}}}} }}
 
|{{{ingredients|}}}
 
|{{{ingredients|}}}
{{#if:{{{edibility|}}} | {{!}}data-sort-value="{{padleft:{{{edibility|}}}|4}}"{{!}}[[File:Energy.png|24px|link=]] {{#expr:ceil({{{edibility|}}}*2.5)}} | {{!}}style="text-align: center;"{{!}}N/A }}
+
{{#if:{{{edibility|}}} | {{!}}data-sort-value="{{padleft:{{{edibility|}}}|4}}"{{!}}[[File:Energy.png|24px|link=]] {{#expr:ceil({{{edibility|}}}*2.5)}}<br />[[File:Health.png|24px|link=]] {{#if:{{{health|}}}|{{{health|}}}|{{#expr:trunc(ceil({{{edibility|}}}*2.5)*0.45)}} }}| {{!}}style="text-align: center;"{{!}}N/A}}
{{#if:{{{edibility|}}} | {{!}}data-sort-value="{{padleft:{{{edibility|}}}|4}}"{{!}}[[File:Health.png|24px|link=]] {{#expr:trunc(ceil({{{edibility|}}}*2.5)*0.45)}} | {{!}}style="text-align: center;"{{!}}N/A }}
+
{{#if:{{{buff|}}} | {{!}}{{{buff|}}} | {{!}}data-sort-value="Z" style="text-align: center;"{{!}}N/A}}
{{#if:{{{buff|}}} | {{!}}{{{buff|}}} | {{!}}style="text-align: center;"{{!}}N/A}}
+
{{#if:{{{duration|}}} | {{!}}{{#if:{{{dsvduration|}}}|data-sort-value="{{{dsvduration|}}}"{{!}}|}} {{Duration|{{{duration|}}}}} | {{!}}data-sort-value="0" style="text-align: center;"{{!}}N/A}}
{{#if:{{{duration|}}} | {{!}}{{#if:{{{dsvduration|}}}|data-sort-value="{{{dsvduration|}}}"{{!}}|}} {{Duration|{{{duration|}}}}} | {{!}}style="text-align: center;"{{!}}N/A}}
   
|{{{recipe|}}}
 
|{{{recipe|}}}
 
|data-sort-value="{{padleft:{{{sellprice|}}}|4}}"{{!}}{{Price|{{{sellprice|}}}}}
 
|data-sort-value="{{padleft:{{{sellprice|}}}|4}}"{{!}}{{Price|{{{sellprice|}}}}}
 
|-</includeonly>
 
|-</includeonly>
 
<noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
 
<noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
105,667

edits

Navigation menu