Template:Clothes: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
mNo edit summary
(added item Id variable)
Line 10: Line 10:
|header1=General
|header1=General


|label1=[[Materials]]
|label1=[[Guides|Item Browser]]
|data1={{lc:{{mtn|{{{mat1|null}}}}}}} {{#if: {{{mat2|}}} | {{#switch:{{lc:{{{mat2}}}}}|mnull=|null=|#default=/ {{lc:{{mtn|{{{mat2}}}}}}}}} }}
|data1={{#if:{{{id|}}}|[http://cdda-trunk.chezzo.com/{{{id|}}} {{#if:{{{id|}}}|{{{name|Browse}}}|Browse}}]|}}


|label2=[[Encumbrance]]
|label2=[[Materials]]
|data2=<span style="color:{{#ifexpr: {{{encumber|0}}} > 0 |{{#ifexpr: {{{encumber|0}}} > 1 |darkred|chocolate}}|green}}">{{{encumber|0}}}</span>
|data2={{lc:{{mtn|{{{mat1|null}}}}}}} {{#if: {{{mat2|}}} | {{#switch:{{lc:{{{mat2}}}}}|mnull=|null=|#default=/ {{lc:{{mtn|{{{mat2}}}}}}}}} }}


|label3=[[Volume]]
|label3=[[Encumbrance]]
|data3=<span style="color:{{#ifexpr: {{{volume|0}}} > 0 |{{#ifexpr: {{{volume|0}}} > 2 |darkred|chocolate}}|green}}">{{{volume|0}}}</span>
|data3=<span style="color:{{#ifexpr: {{{encumber|0}}} > 0 |{{#ifexpr: {{{encumber|0}}} > 1 |darkred|chocolate}}|green}}">{{{encumber|0}}}</span>


|label4=[[Weight]]
|label4=[[Volume]]
|data4={{#ifexpr: ({{{weight|0}}}*0.001) < 1 | {{{weight|0}}} gr | {{materialtoweight|{{#expr:{{{weight|0}}}*0.001}}|2}} kg }}
|data4=<span style="color:{{#ifexpr: {{{volume|0}}} > 0 |{{#ifexpr: {{{volume|0}}} > 2 |darkred|chocolate}}|green}}">{{{volume|0}}}</span>


|label5=Warmth
|label5=[[Weight]]
|data5=<span style="color:{{#ifexpr: {{{warmth|0}}} > 0 |green|{{#ifexpr: {{{warmth|0}}} < 0 |darkred|lightgray}}}}">{{{warmth|0}}}</span>
|data5={{#ifexpr: ({{{weight|0}}}*0.001) < 1 | {{{weight|0}}} gr | {{materialtoweight|{{#expr:{{{weight|0}}}*0.001}}|2}} kg }}


|label6=Storage
|label6=Warmth
|data6=<span style="color:{{#ifexpr: {{{storage|0}}} > 0 |green|{{#ifexpr: {{{storage|0}}} < 0 |darkred|lightgray}}}}">{{{storage|0}}}</span>
|data6=<span style="color:{{#ifexpr: {{{warmth|0}}} > 0 |green|{{#ifexpr: {{{warmth|0}}} < 0 |darkred|lightgray}}}}">{{{warmth|0}}}</span>


|label7=Coverage
|label7=Storage
|data7={{{coverage|0}}}%
|data7=<span style="color:{{#ifexpr: {{{storage|0}}} > 0 |green|{{#ifexpr: {{{storage|0}}} < 0 |darkred|lightgray}}}}">{{{storage|0}}}</span>


|label8=Covers
|label8=Coverage
|data8={{lc:{{#if:{{{covers1|}}}|{{{covers1}}}}}{{#if:{{{covers2|}}}|, {{{covers2}}}}}{{#if:{{{covers3|}}}|, {{{covers3}}}}}{{#if:{{{covers4|}}}|, {{{covers4}}}}}{{#if:{{{covers5|}}}|, {{{covers5}}}}}{{#if:{{{covers6|}}}|, {{{covers6}}}}}{{#if:{{{covers7|}}}|, {{{covers7}}}}}{{#if:{{{covers8|}}}|, {{{covers8}}}}}}}
|data8={{{coverage|0}}}%


|header9=Protection
|label9=Covers
|data9={{lc:{{#if:{{{covers1|}}}|{{{covers1}}}}}{{#if:{{{covers2|}}}|, {{{covers2}}}}}{{#if:{{{covers3|}}}|, {{{covers3}}}}}{{#if:{{{covers4|}}}|, {{{covers4}}}}}{{#if:{{{covers5|}}}|, {{{covers5}}}}}{{#if:{{{covers6|}}}|, {{{covers6}}}}}{{#if:{{{covers7|}}}|, {{{covers7}}}}}{{#if:{{{covers8|}}}|, {{{covers8}}}}}}}


|label9=Bash Protect
|header10=Protection
|data9={{bash_resist|{{{mat1|COTTON}}}|{{{mat2|NULL}}}|{{{thickness|1}}}}}


|label10=Cut Protect
|label10Bash Protect
|data10={{cut_resist|{{{mat1|COTTON}}}|{{{mat2|NULL}}}|{{{thickness|1}}}}}
|data10={{bash_resist|{{{mat1|COTTON}}}|{{{mat2|NULL}}}|{{{thickness|1}}}}}


|label11=Envir Protect
|label11=Cut Protect
|data11=<span style="color:{{#ifexpr: {{{enviprotect|0}}} > 0 |green|{{#ifexpr: {{{enviprotect|0}}} < 0 |darkred|lightgray}}}}">{{{enviprotect|0}}}</span>
|data11={{cut_resist|{{{mat1|COTTON}}}|{{{mat2|NULL}}}|{{{thickness|1}}}}}


|label12=Acid Protect
|label12=Envir Protect
|data12={{acid_resist|{{{mat1|COTTON}}}|{{{mat2|NULL}}}}}
|data12=<span style="color:{{#ifexpr: {{{enviprotect|0}}} > 0 |green|{{#ifexpr: {{{enviprotect|0}}} < 0 |darkred|lightgray}}}}">{{{enviprotect|0}}}</span>


|header13=Other
|label13=Acid Protect
|data13={{acid_resist|{{{mat1|COTTON}}}|{{{mat2|NULL}}}}}


|label13=Price
|header14=Other
|data13={{#expr:{{{price|0}}}/10}} $


|label14=Flags
|label14=Price
|data14={{#if:{{{flag1|}}}|<abbr title="{{clothingflags|{{{flag1}}}}}">{{uc:{{{flag1}}}}}</abbr>|}}{{#if:{{{flag2|}}}|, <abbr title="{{clothingflags|{{{flag2}}}}}">{{uc:{{{flag2}}}}}</abbr>|}}{{#if:{{{flag3|}}}|, <abbr title="{{clothingflags|{{{flag3}}}}}">{{uc:{{{flag3}}}}}</abbr>|}}{{#if:{{{flag4|}}}|, <abbr title="{{clothingflags|{{{flag4}}}}}">{{uc:{{{flag4}}}}}</abbr>|}}{{#if:{{{flag5|}}}|, <abbr title="{{clothingflags|{{{flag5}}}}}">{{uc:{{{flag5}}}}}</abbr>|}}{{#if:{{{flag6|}}}|, <abbr title="{{clothingflags|{{{flag6}}}}}">{{uc:{{{flag6}}}}}</abbr>|}}
|data14={{#expr:{{{price|0}}}/10}} $


|header15=As a Weapon
|label15=Flags
|data15={{#if:{{{flag1|}}}|<abbr title="{{clothingflags|{{{flag1}}}}}">{{uc:{{{flag1}}}}}</abbr>|}}{{#if:{{{flag2|}}}|, <abbr title="{{clothingflags|{{{flag2}}}}}">{{uc:{{{flag2}}}}}</abbr>|}}{{#if:{{{flag3|}}}|, <abbr title="{{clothingflags|{{{flag3}}}}}">{{uc:{{{flag3}}}}}</abbr>|}}{{#if:{{{flag4|}}}|, <abbr title="{{clothingflags|{{{flag4}}}}}">{{uc:{{{flag4}}}}}</abbr>|}}{{#if:{{{flag5|}}}|, <abbr title="{{clothingflags|{{{flag5}}}}}">{{uc:{{{flag5}}}}}</abbr>|}}{{#if:{{{flag6|}}}|, <abbr title="{{clothingflags|{{{flag6}}}}}">{{uc:{{{flag6}}}}}</abbr>|}}


|label15=Bash Dmg
|header16=As a Weapon
|data15=<span style="color:{{#ifexpr: {{{bash|0}}} > 0 |green|{{#ifexpr: {{{bash|0}}} < 0 |darkred|lightgray}}}}">{{{bash|0}}}</span>


|label16=Cut Dmg
|label16=Bash Dmg
|data16=<span style="color:{{#ifexpr: {{{cut|0}}} > 0 |green|{{#ifexpr: {{{cut|0}}} < 0 |darkred|lightgray}}}}">{{{cut|0}}}</span>
|data16=<span style="color:{{#ifexpr: {{{bash|0}}} > 0 |green|{{#ifexpr: {{{bash|0}}} < 0 |darkred|lightgray}}}}">{{{bash|0}}}</span>


|label17=To Hit
|label17=Cut Dmg
|data17=<span style="color:{{#ifexpr: {{{tohit|0}}} > 0 |green|{{#ifexpr: {{{tohit|0}}} < 0 |darkred|lightgray}}}}">{{{tohit|<nowiki>+0</nowiki>}}}</span>
|data17=<span style="color:{{#ifexpr: {{{cut|0}}} > 0 |green|{{#ifexpr: {{{cut|0}}} < 0 |darkred|lightgray}}}}">{{{cut|0}}}</span>


|label18=[[Weapon flags|Flags]]
|label18=To Hit
|data18={{{flags|}}}
|data18=<span style="color:{{#ifexpr: {{{tohit|0}}} > 0 |green|{{#ifexpr: {{{tohit|0}}} < 0 |darkred|lightgray}}}}">{{{tohit|<nowiki>+0</nowiki>}}}</span>
 
|label19=[[Weapon flags|Flags]]
|data19={{{flags|}}}


}}
}}

Revision as of 08:39, 17 June 2015

/ Clothes
General
Materials unknown
Encumbrance 0
Volume 0
Weight 0 gr
Warmth 0
Storage 0
Coverage 0%
Protection
1.5
Cut Protect 1.5
Envir Protect 0
Acid Protect 9
Other
Price 0 $
As a Weapon
Bash Dmg 0
Cut Dmg 0
To Hit +0
 A clothing item 

This is a weightless clothing item made of unknown which covers 0% of no area in particular, and which has no storage capacity. It doesn't occupy any significant space, doesn't encumber you at all, and will not warm you at all.

It offers extremely low protection against bashing attacks and extremely low protection against cutting ones (that includes bullets), while offering no protection from environmental hazards .

It has no extra particularities.

This clothing item can not be repaired, fitted nor reinforced.