Template:Tool: Difference between revisions
Jump to navigation
Jump to search
(Removed duration showing up when duration was zero. If maxammo is not set, the ammo (start/max) field will not show up. I'm assuming that a tool with startammo always has maxammo.) |
(Leading spaces are removed for #if) |
||
(4 intermediate revisions by one other user not shown) | |||
Line 6: | Line 6: | ||
|headerstyle = color:#000000; | |headerstyle = color:#000000; | ||
|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]] | |label2=[[Materials]] | ||
Line 17: | Line 14: | ||
|label3=[[Volume]] | |label3=[[Volume]] | ||
|data3={{{volume|0}}} | |data3={{Volume|{{{volume|0}}}}} | ||
|label4=[[Weight]] | |label4=[[Weight]] | ||
|data4={{ | |data4={{Weight|{{{weight|0}}}}} | ||
|header5=As a Tool | |header5=As a Tool | ||
Line 34: | Line 31: | ||
|label8=Duration | |label8=Duration | ||
|data8={{{drainturns|}}}{{#if:{{{drainturns|}}}|turns|}} | |data8={{{drainturns|}}} {{#if:{{{drainturns|}}}|turns|}} | ||
|label9={{#if:{{{charges_per_use|}}}|Charges per use|}} | |label9={{#if:{{{charges_per_use|}}}|Charges per use|}} |