Template:Food: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Make headers readable on DarkVector) |
||
| (7 intermediate revisions by 2 users 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:# | |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 | ||
| | |label2=[[Materials]] | ||
| | |data2={{lc:{{mtn|{{{mat1|null}}}}}}} {{#if: {{{mat2|}}} | {{#switch:{{lc:{{{mat2}}}}}|mnull=|null=|#default=/ {{lc:{{mtn|{{{mat2}}}}}}}}} }} | ||
| | |label3=[[Volume]] | ||
| | |data3={{Volume|{{{volume|0}}}}} | ||
| | |label4=[[Weight]] | ||
| | |data4={{Weight|{{{weight|0}}}}} | ||
|header5=As Food | |||
| | |label5=Portions | ||
|data5={{{charges|1}}} | |||
| | |label6=Container | ||
| | |data6={{{container|}}} | ||
| | |label7=Fresh for | ||
| | |data7={{{spoils|}}}{{#if:{{{spoils|}}}|hours|}} | ||
| | |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}}}/100}} $ | |||
| | |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>}}} | ||
}} | }} | ||