Template:Food: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(added item Id variable) |
||
| Line 10: | Line 10: | ||
|header1=General | |header1=General | ||
|label1=[[ | |label1=[[Guides|Item Browser]] | ||
|data1={{ | |data1={{#if:{{{id|}}}|[http://cdda-trunk.chezzo.com/{{{id|}}} {{#if:{{{id|}}}|{{{name|Browse}}}|Browse}}]|}} | ||
|label2=[[ | |label2=[[Materials]] | ||
|data2={{{ | |data2={{lc:{{mtn|{{{mat1|null}}}}}}} {{#if: {{{mat2|}}} | {{#switch:{{lc:{{{mat2}}}}}|mnull=|null=|#default=/ {{lc:{{mtn|{{{mat2}}}}}}}}} }} | ||
|label3=[[ | |label3=[[Volume]] | ||
|data3={{ | |data3={{{volume|0}}} | ||
|label4=[[Weight]] | |||
|data4={{#ifexpr: (({{{weight|0}}}*0.001)/100) < 1 | {{{weight|0}}} gr | {{#expr:({{{weight|0}}}*0.001)/100}} kg }} | |||
| | |header5=As Food | ||
| | |label5=Portions | ||
| | |data5={{{charges|1}}} | ||
| | |label6=Container | ||
| | |data6={{{container|}}} | ||
| | |label7=Fresh for | ||
| | |data7={{{spoils|0}}}h | ||
| | |label8=Quench Bonus | ||
| | |data8={{{quench|}}} | ||
| | |label9=Nutrition Bonus | ||
| | |data9={{{nutrition|}}} | ||
| | |header10=As a Drug | ||
| | |label10=Health Bonus | ||
| | |data10={{{health|}}} | ||
| | |label11=Stimulant Bonus | ||
| | |data11={{{stim|}}} | ||
| | |label12=Morale Bonus | ||
| | |data12={{{fun|}}} | ||
| | |label13=Add. Type | ||
| | |data13={{{addictiontype|}}} | ||
| | |label14=Addiction Bonus | ||
| | |data14={{{addiction|}}} | ||
|header15=Other | |||
| | |label15=Price | ||
|data15={{#expr:{{{price|0}}}/10}} $ | |||
| | |label16=Stack Size | ||
| | |data16={{{stack_size|}}} | ||
| | |label17=Use Action | ||
| | |data17={{{use_action|}}} | ||
| | |label18=Tool Needed | ||
| | |data18={{{tool|}}} | ||
| | |label19=Flags | ||
| | |data19={{#if:{{{flag1|}}}|<abbr title="{{foodflags|{{{flag1}}}}}">{{uc:{{{flag1}}}}}</abbr>|}}{{#if:{{{flag2|}}}|, <abbr title="{{foodflags|{{{flag2}}}}}">{{uc:{{{flag2}}}}}</abbr>|}}{{#if:{{{flag3|}}}|, <abbr title="{{foodflags|{{{flag3}}}}}">{{uc:{{{flag3}}}}}</abbr>|}}{{#if:{{{flag4|}}}|, <abbr title="{{foodflags|{{{flag4}}}}}">{{uc:{{{flag4}}}}}</abbr>|}}{{#if:{{{flag5|}}}|, <abbr title="{{foodflags|{{{flag5}}}}}">{{uc:{{{flag5}}}}}</abbr>|}}{{#if:{{{flag6|}}}|, <abbr title="{{foodflags|{{{flag6}}}}}">{{uc:{{{flag6}}}}}</abbr>|}} | ||
|header20=As a Melee Weapon | |||
| | |label20=Bash Dmg | ||
|data20={{{bash|0}}} | |||
| | |label21=Cut Dmg | ||
| | |data121={{{cut|0}}} | ||
| | |label22=To Hit | ||
|data22={{{tohit|<nowiki>+0</nowiki>}}} | |||
| | |||
}} | }} | ||