Template:Tool: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
No edit summary
(Leading spaces are removed for #if)
 
(21 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{|- class="va-table" cellpadding="2" style="margin-left:20px; margin-bottom:15px; float:right; border-style:solid; border-color:black; border-width:1px; background-color:lightgray; width:200px"
{{Infobox
{{Infobox/Melee weapon
|bodystyle = width: 220px; background:#E6E6E6; color:#000000; border-color: #CFCFCF;
  |name={{{name|{{PAGENAME}}}}}
|titlestyle = text-align:center;
|glyph={{{glyph|/}}}
|labelstyle = color:#000000; background:#CFCFCF; padding-left:1em; padding-right:1em; text-align:right; font-weight: bold; white-space:nowrap;
|color={{{color|c_ltred}}}
|datastyle = background-color:#FFFFff; width: 70%;
|volume={{{volume|0}}}
|headerstyle = color:#000000;
|weight={{{weight|0}}}
 
|bash={{{bash|0}}}
|title={{igs|{{{glyph|/}}}|{{{color|c_ltred}}}}} {{{name|{{PAGENAME}}}}}<br/>{{#if:{{{id|}}}|{{Infobox/Itembrowser|id={{{id|}}}|name={{{name|}}} }} }}
|cut={{{cut|0}}}
   
|tohit={{{tohit|<nowiki>+0</nowiki>}}}
|header1=General
|rarity={{{rarity|0}}}
 
|price={{{price|0}}}
|label2=[[Materials]]
|mat1={{{mat1|none}}}
|data2={{lc:{{mtn|{{{mat1|null}}}}}}} {{#if: {{{mat2|}}} | {{#switch:{{lc:{{{mat2}}}}}|mnull=|null=|#default=/ {{lc:{{mtn|{{{mat2}}}}}}}}} }}
|mat2={{{mat2|MNULL}}}
 
|flag={{{flags|}}}
|label3=[[Volume]]
|func={{{func|}}}
|data3={{Volume|{{{volume|0}}}}}
 
|label4=[[Weight]]
|data4={{Weight|{{{weight|0}}}}}
 
|header5=As a Tool
 
|label5=Function
|data5={{{func|}}}
 
|label6=Ammo (start/max)
|data6={{#if:{{{maxammo|}}}|({{{startammo|0}}} / {{{maxammo|0}}})|}}
 
|label7=Ammo Type
|data7={{ATtoname1|{{{ammotype|NULL}}}}}
 
|label8=Duration
|data8={{{drainturns|}}} {{#if:{{{drainturns|}}}|turns|}}
 
|label9={{#if:{{{charges_per_use|}}}|Charges per use|}}
|data9={{#if:{{{charges_per_use|}}}|{{{charges_per_use|0}}}|}}
 
|header10=Other
 
|label10=Price
|data10={{#expr:{{{price|0}}}/100}} $
 
|label11=Use Action
|data11={{{use_action|}}}
 
|label12=Flags
|data12={{#if:{{{flag1|}}}|<abbr title="{{toolflags|{{{flag1}}}}}">{{uc:{{{flag1}}}}}</abbr>|}}{{#if:{{{flag2|}}}|, <abbr title="{{toolflags|{{{flag2}}}}}">{{uc:{{{flag2}}}}}</abbr>|}}{{#if:{{{flag3|}}}|, <abbr title="{{toolflags|{{{flag3}}}}}">{{uc:{{{flag3}}}}}</abbr>|}}{{#if:{{{flag4|}}}|, <abbr title="{{toolflags|{{{flag4}}}}}">{{uc:{{{flag4}}}}}</abbr>|}}{{#if:{{{flag5|}}}|, <abbr title="{{toolflags|{{{flag5}}}}}">{{uc:{{{flag5}}}}}</abbr>|}}{{#if:{{{flag6|}}}|, <abbr title="{{toolflags|{{{flag6}}}}}">{{uc:{{{flag6}}}}}</abbr>|}}
 
|header13=As a Melee Weapon
 
|label13=Bash Dmg
|data13={{{bash|0}}}
 
|label14=Cut Dmg
|data14={{{cut|0}}}
 
|label15=To Hit
|data15={{{tohit|<nowiki>+0</nowiki>}}}
 
|label16=Techniques
|data16={{#if:{{{technique1|}}}|<abbr title="{{techniquetodescr|{{{technique1}}}}}">{{uc:{{{technique1}}}}}</abbr>|}}{{#if:{{{technique2|}}}|, <abbr title="{{techniquetodescr|{{{technique2}}}}}">{{uc:{{{technique2}}}}}</abbr>|}}{{#if:{{{technique3|}}}|, <abbr title="{{techniquetodescr|{{{technique3}}}}}">{{uc:{{{technique3}}}}}</abbr>|}}{{#if:{{{technique4|}}}|, <abbr title="{{techniquetodescr|{{{technique4}}}}}">{{uc:{{{technique4}}}}}</abbr>|}}{{#if:{{{technique5|}}}|, <abbr title="{{techniquetodescr|{{{technique5}}}}}">{{uc:{{{technique5}}}}}</abbr>|}}{{#if:{{{technique6|}}}|, <abbr title="{{techniquetodescr|{{{technique6}}}}}">{{uc:{{{technique6}}}}}</abbr>|}}
 
}}
}}
|- style=""
__NOTOC__
|
{{#if: {{{description_on|}}}|Inactive:<br />}}{{quote|{{{description|A tool.}}}}}{{#if: {{{description_on|}}}|Active:<br />}}{{#if: {{{description_on|}}}|{{quote|{{{description_on|}}}}} }}
{{Infobox/Tool
 
|startammo={{{startammo|0}}}
|maxammo={{{maxammo|0}}}
|ammotype={{{ammotype|AT_NULL}}}
|drainturns={{{drainturns|0}}}
}}
|}


<noinclude>
<noinclude>
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

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.