Template:Clothes: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
mNo edit summary
(Label 4 (Game seems to use Cup / Liter ratio of 4, re-editing to fit in-game values).)
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
|bodystyle = width: 190px; background:#CCFFCC; color:#006600; border-color: #99FF99;
|bodystyle = width: 230px; background:#CCFFBB; color:#006600; border-color: #88DDBB;
|titlestyle = text-align:center;
|titlestyle = text-align:center;
|labelstyle = color:#006600; background:#99FF99; padding-left:1em; padding-right:1em; text-align:right; font-weight: bold; white-space:nowrap;
|labelstyle = color:#006600; background:#88DDBB; padding-left:1em; padding-right:1em; text-align:right; font-weight: bold; white-space:nowrap;
|datastyle = background-color:#FFFFCC; width: 70%; color:black;
|datastyle = background-color:#FFFFBB; width: 70%; color:black;
|headerstyle = color:#006600;
|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


|label1=[[Materials]]
|label2=[[Materials]]
|data1={{lc:{{mtn|{{{mat1|null}}}}}}} {{#if: {{{mat2|}}} | {{#switch:{{lc:{{{mat2}}}}}|mnull=|null=|#default=/ {{lc:{{mtn|{{{mat2}}}}}}}}} }}
|data2={{lc:{{mtn|{{{mat1|null}}}}}}} {{#if: {{{mat2|}}} | {{#switch:{{lc:{{{mat2}}}}}|mnull=|null=|#default=/ {{lc:{{mtn|{{{mat2}}}}}}}}} }}


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


|label3=[[Volume]]
|label4=[[Volume]]
|data3=<span style="color:{{#ifexpr: {{{volume|0}}} > 0 |{{#ifexpr: {{{volume|0}}} > 2 |darkred|chocolate}}|green}}">{{{volume|0}}}</span>
|data4=<span style="color:{{#ifexpr: {{{volume|0}}} > 0 |{{#ifexpr: {{{volume|0}}} > 2 |darkred|chocolate}}|green}}">{{{volume|0}}} L or {{#expr:({{{volume|0}}}*1.0566887074) round 2 }} qt or {{#expr:({{{volume|0}}}*4) round 2 }} c</span>


|label4=[[Weight]]
|label5=[[Weight]]
|data4={{#ifexpr: ({{{weight|0}}}*0.001) < 1 | {{{weight|0}}} gr | {{materialtoweight|{{#expr:{{{weight|0}}}*0.001}}|2}} kg }}
|data5={{#ifexpr: ({{{weight|0}}}*0.001) < 1 | {{{weight|0}}} g | {{materialtoweight|{{#expr:({{{weight|0}}}*0.001) round 3 }}|2}} kg }} or {{#expr:({{{weight|0}}}/453.6) round 3 }} lbs


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


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


|label7=Coverage
|label8=Coverage
|data7={{{coverage|0}}}%
|data8={{{coverage|0}}}%


|label8=Covers
|label9=Covers
|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}}}}}}}
|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}}}}}}}


|header9=Protection
|header10=Protection


|label9=Bash Protect
|label10=Bash Protect
|data9={{bash_resist|{{{mat1|COTTON}}}|{{{mat2|NULL}}}|{{{thickness|1}}}}}
|data10={{bash_resist|{{{mat1|COTTON}}}|{{{mat2|NULL}}}|{{{thickness|1}}}}}


|label10=Cut Protect
|label11=Cut Protect
|data10={{cut_resist|{{{mat1|COTTON}}}|{{{mat2|NULL}}}|{{{thickness|1}}}}}
|data11={{cut_resist|{{{mat1|COTTON}}}|{{{mat2|NULL}}}|{{{thickness|1}}}}}


|label11=Envir Protect
|label12=Envir Protect
|data11=<span style="color:{{#ifexpr: {{{enviprotect|0}}} > 0 |green|{{#ifexpr: {{{enviprotect|0}}} < 0 |darkred|lightgray}}}}">{{{enviprotect|0}}}</span>
|data12=<span style="color:{{#ifexpr: {{{enviprotect|0}}} > 0 |green|{{#ifexpr: {{{enviprotect|0}}} < 0 |darkred|lightgray}}}}">{{{enviprotect|0}}}</span>


|label12=Acid Protect
|label13=Acid Protect
|data12={{acid_resist|{{{mat1|COTTON}}}|{{{mat2|NULL}}}}}
|data13={{acid_resist|{{{mat1|COTTON}}}|{{{mat2|NULL}}}}}


|header13=Other
|header14=Other


|label13=Price
|label14=Price
|data13={{#expr:{{{price|0}}}/10}} $
|data14={{#expr:{{{price|0}}}/10}} $


|label14=Flags
|label15=Flags
|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>|}}
|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>|}}


|header15=As a Weapon
|header16=As a Weapon


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


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


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


|label18=[[Weapon flags|Flags]]
|label19=[[Weapon flags|Flags]]
|data18={{{flags|}}}
|data19={{{flags|}}}


}}
}}
Line 74: Line 74:
{{quote|{{{description|A clothing item}}}}}
{{quote|{{{description|A clothing item}}}}}


<div style="font-family:Georgia, serif; background: #EBEBEB; color: dimgray; padding:2em; margin-left: 3em; margin-right: 20em; text-align:justify;">
<div style="font-family:Georgia, serif; background: #CBCBDB; color: black; padding:2em; margin-left: 3em; margin-right: 20em; text-align:justify;">
This is {{clothingweight|{{{weight|0}}}}} clothing item made of {{lc:{{mtn|{{{mat1|null}}}}}}}{{#if: {{{mat2|}}} | {{#switch:{{lc:{{{mat2}}}}}|mnull=|null=|#default=&nbsp;and {{lc:{{mtn|{{{mat2}}}}}}}}}}} which covers {{{coverage|0}}}% of {{lc:{{#if:{{{covers1|}}}|your {{{covers1}}}|no area in particular}}{{#if:{{{covers2|}}}|{{#if:{{{covers3|}}}|,|&nbsp;and}} {{{covers2}}}}}{{#if:{{{covers3|}}}|{{#if:{{{covers4|}}}|,|&nbsp;and}}  {{{covers3}}}}}{{#if:{{{covers4|}}}|{{#if:{{{covers5|}}}|,|&nbsp;and}}  {{{covers4}}}}}{{#if:{{{covers5|}}}|{{#if:{{{covers6|}}}|,|&nbsp;and}}  {{{covers5}}}}}{{#if:{{{covers6|}}}|{{#if:{{{covers7|}}}|,|&nbsp;and}}  {{{covers6}}}}}{{#if:{{{covers7|}}}|{{#if:{{{covers8|}}}|,|&nbsp;and}}  {{{covers7}}}}}{{#if:{{{covers8|}}}|&nbsp;and {{{covers8}}}}}}}, and which has {{clothingstorate|{{{storage|0}}}}} storage capacity. It {{clothingvolume|{{{volume|0}}}}},  {{clothingencumbrance|{{{encumber|0}}}}}, and will {{clothingwarmth|{{{warmth|0}}}|{{lc:{{{covers1|}}}}}|{{lc:{{{covers2|}}}}}|{{lc:{{{covers3|}}}}}|{{lc:{{{covers4|}}}}}|{{lc:{{{covers5|}}}}}|{{lc:{{{covers6|}}}}}|{{lc:{{{covers7|}}}}}|{{lc:{{{covers8|}}}}}}}.
This is {{clothingweight|{{{weight|0}}}}} clothing item made of {{lc:{{mtn|{{{mat1|null}}}}}}}{{#if: {{{mat2|}}} | {{#switch:{{lc:{{{mat2}}}}}|mnull=|null=|#default=&nbsp;and {{lc:{{mtn|{{{mat2}}}}}}}}}}}, which covers {{{coverage|0}}}% of {{lc:{{#if:{{{covers1|}}}|your {{{covers1}}}|no area in particular}}{{#if:{{{covers2|}}}|{{#if:{{{covers3|}}}|,|&nbsp;and}} {{{covers2}}}}}{{#if:{{{covers3|}}}|{{#if:{{{covers4|}}}|,|&nbsp;and}}  {{{covers3}}}}}{{#if:{{{covers4|}}}|{{#if:{{{covers5|}}}|,|&nbsp;and}}  {{{covers4}}}}}{{#if:{{{covers5|}}}|{{#if:{{{covers6|}}}|,|&nbsp;and}}  {{{covers5}}}}}{{#if:{{{covers6|}}}|{{#if:{{{covers7|}}}|,|&nbsp;and}}  {{{covers6}}}}}{{#if:{{{covers7|}}}|{{#if:{{{covers8|}}}|,|&nbsp;and}}  {{{covers7}}}}}{{#if:{{{covers8|}}}|&nbsp;and {{{covers8}}}}}}}, and which has {{clothingstorate|{{{storage|0}}}}} storage capacity. It {{clothingvolume|{{{volume|0}}}}},  {{clothingencumbrance|{{{encumber|0}}}}}, and will {{clothingwarmth|{{{warmth|0}}}|{{lc:{{{covers1|}}}}}|{{lc:{{{covers2|}}}}}|{{lc:{{{covers3|}}}}}|{{lc:{{{covers4|}}}}}|{{lc:{{{covers5|}}}}}|{{lc:{{{covers6|}}}}}|{{lc:{{{covers7|}}}}}|{{lc:{{{covers8|}}}}}}}.


It offers {{clothingbashcutprot|{{bash_resist|{{{mat1|COTTON}}}|{{{mat2|NULL}}}|{{{thickness|1}}}}}}} protection against bashing attacks and {{clothingbashcutprot|{{cut_resist|{{{mat1|COTTON}}}|{{{mat2|NULL}}}|{{{thickness|1}}}}}}} protection against cutting ones (that includes [[ammunition|bullets]]), while offering {{clothingenviprot|{{{enviprotect|0}}}}} protection from environmental hazards <!-- COMMENTING THIS OUT UNTIL I HAVE THE TIME AND HEART TO BANG MY HEAD AGAINST THIS {{clothingenviproteffects|{{{enviprotect|0}}}}}-->.
It offers {{clothingbashcutprot|{{bash_resist|{{{mat1|COTTON}}}|{{{mat2|NULL}}}|{{{thickness|1}}}}}}} protection against bashing attacks and {{clothingbashcutprot|{{cut_resist|{{{mat1|COTTON}}}|{{{mat2|NULL}}}|{{{thickness|1}}}}}}} protection against cutting ones (that includes [[ammunition|bullets]]), while offering {{clothingenviprot|{{{enviprotect|0}}}}} protection from environmental hazards<!-- COMMENTING THIS OUT UNTIL I HAVE THE TIME AND HEART TO BANG MY HEAD AGAINST THIS {{clothingenviproteffects|{{{enviprotect|0}}}}}-->.


It {{#if:{{{flag1|}}}|{{clothingflags|{{{flag1|}}}}}|has no extra particularities}}{{#if:{{{flag2|}}}|, {{clothingflags|{{{flag2|}}}}}}}{{#if:{{{flag3|}}}|, {{clothingflags|{{{flag3|}}}}}}}{{#if:{{{flag4|}}}|, {{clothingflags|{{{flag4|}}}}}}}{{#if:{{{flag5|}}}|, {{clothingflags|{{{flag5|}}}}}}}{{#if:{{{flag6|}}}|, {{clothingflags|{{{flag6|}}}}}}}.
It {{#if:{{{flag1|}}}|{{clothingflags|{{{flag1|}}}}}|has no extra particularities}}{{#if:{{{flag2|}}}|, {{clothingflags|{{{flag2|}}}}}}}{{#if:{{{flag3|}}}|, {{clothingflags|{{{flag3|}}}}}}}{{#if:{{{flag4|}}}|, {{clothingflags|{{{flag4|}}}}}}}{{#if:{{{flag5|}}}|, {{clothingflags|{{{flag5|}}}}}}}{{#if:{{{flag6|}}}|, {{clothingflags|{{{flag6|}}}}}}}.

Latest revision as of 21:22, 17 October 2021

/ Clothes
General
Materials unknown
Encumbrance 0
Volume 0 L or 0 qt or 0 c
Weight 0 g or 0 lbs
Warmth 0
Storage 0
Coverage 0%
Protection
Bash Protect 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.