Template:Tool: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
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
|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)) < 1 | {{{weight|0}}} gr | {{#expr:({{{weight|0}}}*0.001)}} kg }}
|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|}}

Latest revision as of 01:44, 28 April 2021

/ Tool
General
Materials unknown
Volume 0 liters
Weight 0 lbs or 0 g
As a Tool
Ammo Type none
Other
Price 0 $
As a Melee Weapon
Bash Dmg 0
Cut Dmg 0
To Hit +0
 A tool.