Template:Food: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
m (Changed pricing to now work like the json files. (aka 100 is 1$).)
(Make headers readable on DarkVector)
 
(3 intermediate revisions by one other user not shown)
Line 4: Line 4:
|labelstyle = color:#000000; background:#CFCFCF; padding-left:1em; padding-right:1em; text-align:right; font-weight: bold; white-space:nowrap;
|labelstyle = color:#000000; background:#CFCFCF; padding-left:1em; padding-right:1em; text-align:right; font-weight: bold; white-space:nowrap;
|datastyle = background-color:#FFFFff; width: 70%;
|datastyle = background-color:#FFFFff; width: 70%;
|headerstyle = color:#000000;
|headerstyle = color:#999999;


|title={{igs|{{{glyph|/}}}|{{{color|c_ltred}}}}} {{{name|{{PAGENAME}}}}}
|title={{igs|{{{glyph|/}}}|{{{color|c_ltred}}}}} {{{name|{{PAGENAME}}}}}<br/>{{#if:{{{id|}}}|{{Infobox/Itembrowser|id={{{id|}}}|name={{{name|}}} }} }}
   
   
|header1=General
|header1=General
|label1=[[Guides|Item Browser]]
|data1={{#if:{{{id|}}}|[http://cdda-trunk.chezzo.com/{{{id|}}} {{#if:{{{id|}}}|{{{name|Browse}}}|Browse}}]|}}


|label2=[[Materials]]
|label2=[[Materials]]
Line 17: Line 14:


|label3=[[Volume]]
|label3=[[Volume]]
|data3={{{volume|0}}}
|data3={{Volume|{{{volume|0}}}}}


|label4=[[Weight]]
|label4=[[Weight]]
|data4={{#ifexpr: (({{{weight|0}}}*0.001)/100) < 1 | {{{weight|0}}} gr | {{#expr:({{{weight|0}}}*0.001)/100}} kg }}
|data4={{Weight|{{{weight|0}}}}}


|header5=As Food
|header5=As Food
Line 31: Line 28:


|label7=Fresh for
|label7=Fresh for
|data7={{{spoils|0}}}h
|data7={{{spoils|}}}{{#if:{{{spoils|}}}|hours|}}


|label8=Quench Bonus
|label8=Quench Bonus

Latest revision as of 19:19, 21 February 2021

/ Food
General
Materials unknown
Volume 0 liters
Weight 0 lbs or 0 g
As Food
Portions 1
As a Drug
Other
Price 0 $
As a Melee Weapon
Bash Dmg 0
To Hit +0
 A food item