Template:Row/Clothing: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><tr id="{{anchorencode:{{{NAME|{{{1}}}}}}}}" style="text-align:right">
<includeonly><tr id="{{anchorencode:{{{name}}}}}" style="text-align:right">
<td style="border: 1px dashed white; padding: 0.1em 0.2em 0.1em 0; text-align:right">{{igs|[|{{{COLOR|{{{4|}}}}}}|s=border:1px black solid}} </td><!--
<td style="border: 1px dashed white; padding: 0.1em 0.2em 0.1em 0; text-align:right">{{igs|[|{{{color}}}|s=border:1px black solid}} </td><!--


--><td style="border: 1px solid #aaa; border-left-color: white; padding: 0.2em 0.5em 0.2em 0.2em; text-align:left" > [[{{{NAME|{{{1}}}}}}]] </td><!--
--><td style="border: 1px solid #aaa; border-left-color: white; padding: 0.2em 0.5em 0.2em 0.2em; text-align:left" > [[{{{name}}}]] </td><!--


--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em;
--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em;
{{#ifeq: {{{RAR|{{{2|}}}}}} |0|color:lightgray}}"> {{{RAR|{{{2|}}}}}} </td><!--
{{#ifeq: {{{price|0}}} |0|color:lightgray}}"> {{{price}}} </td><!--


--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em;
--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; text-align:left; {{#switch:{{lc:{{{mat1|}}}}}|cotton|leather|fur|wool=color:darkgreen;}}"> {{lc:{{{mat1}}} {{#ifeq:{{lc:{{{mat2}}}}}|null||/ {{{mat2}}}}}}} </td><!--
{{#ifeq: {{{PRC|{{{3|}}}}}} |0|color:lightgray}}"> {{{PRC|{{{3|}}}}}} </td><!--
 
--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; text-align:left; {{#switch:{{lc:{{{5|}}}}}|cotton|leather|wool=color:darkgreen;}}"> {{lc:{{{MAT1|{{{5|}}}}}} {{#ifeq:{{lc:{{{MAT2|{{{6|}}}}}}}}|null||/ {{{MAT2|{{{6|}}}}}}}}}} </td><!--


--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em;
--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em;
{{#ifeq: {{{VOL|{{{7|}}}}}} |0|color:darkblue}}">  {{{VOL|{{{7|}}}}}} </td><!--
{{#ifeq: {{{volume|0}}} |0|color:darkblue}}">  {{{volume}}} </td><!--


--><td style="border: 1px solid #aaa; border-right-color: #333; padding: 0.2em 0.5em;
--><td style="border: 1px solid #aaa; border-right-color: #333; padding: 0.2em 0.5em;
{{#ifeq: {{{WGT|{{{8|}}}}}} |0|color:darkblue}}">  {{{WGT|{{#expr: {{{8|0}}}*0.001}}}}} </td><!--
{{#ifeq: {{{weight}}} |0|color:darkblue}}">  {{#expr: {{{weight|0}}}*0.001}}</td><!--


--><td style="border: 1px solid #aaa; border-left-color: #333; padding: 0.2em 0.5em; white-space:nowrap; color:
--><td style="border: 1px solid #aaa; border-left-color: #333; padding: 0.2em 0.5em; white-space:nowrap; color:
{{#ifexpr: {{{DMG|{{{9|}}}}}} > 0 |darkblue|{{#ifexpr: {{{DMG|{{{9|}}}}}} < 0 |darkred|lightgray}}}}"> {{{DMG|{{{9|}}}}}} </td><!--
{{#ifexpr: {{{bashdmg|}}} > 0 |darkblue|{{#ifexpr: {{{bashdmg|}}} < 0 |darkred|lightgray}}}}"> {{{bashdmg|0}}} </td><!--
 
--><td style="border: 1px solid #aaa; border-left-color: #333; padding: 0.2em 0.5em; white-space:nowrap; color:
{{#ifexpr: {{{cutdmg|}}} > 0 |darkblue|{{#ifexpr: {{{cutdmg|}}} < 0 |darkred|lightgray}}}}"> {{{cutdmg|0}}} </td><!--


--><td style="border: 1px solid #aaa; border-right-color: #333; padding: 0.2em 0.5em; white-space:nowrap; color:
--><td style="border: 1px solid #aaa; border-right-color: #333; padding: 0.2em 0.5em; white-space:nowrap; color:
{{#ifexpr: {{{HIT|{{{10|}}}}}} > 0 |darkblue|{{#ifexpr: {{{HIT|{{{10|}}}}}} < 0 |darkred|lightgray}}}}"> {{{HIT|{{{10|}}}}}} </td><!--
{{#ifexpr: {{{tohit|}}} > 0 |darkblue|{{#ifexpr: {{{tohit|}}} < 0 |darkred|lightgray}}}}"> {{{tohit|0}}} </td><!--


--><td style="border: 1px solid #aaa; border-left-color: #333; padding: 0.2em 0.5em; white-space:nowrap; color:
--><td style="border: 1px solid #aaa; border-left-color: #333; padding: 0.2em 0.5em; white-space:nowrap; color:
{{#ifexpr: {{{ENC|{{{11|}}}}}} > 0 |chocolate|{{#ifexpr: {{{ENC|{{{11|}}}}}} < 0 |darkblue|lightgray}}}}"> {{{ENC|{{{11|}}}}}} </td><!--
{{#ifexpr: {{{encumbrance|}}} > 0 |chocolate|{{#ifexpr: {{{encumbrance|}}} < 0 |darkblue|lightgray}}}}"> {{{encumbrance|0}}} </td><!--


--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em;"> {{bash_resist|{{{5|cotton}}}|{{{6|null}}}|{{{thickness|1}}}}} </td><!--
--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em;"> {{bash_resist|{{{mat1|cotton}}}|{{{6|null}}}|{{{thickness|1}}}}} </td><!--


--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em;"> {{cut_resist|{{{5|cotton}}}|{{{6|null}}}|{{{thickness|1}}}}} </td><!--
--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em;"> {{cut_resist|{{{mat1|cotton}}}|{{{6|null}}}|{{{thickness|1}}}}} </td><!--


--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; {{#ifeq: {{{ENV|{{{14|}}}}}} |0|color:lightgray}}"> {{{ENV|{{{14|}}}}}} </td><!--
--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; {{#ifeq: {{{enviprotect|}}} |0|color:lightgray}}"> {{{enviprotect|0}}} </td><!--


--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; {{#ifeq: {{{WRM|{{{15|}}}}}} |0|color:lightgray}}"> {{{WRM|{{{15|}}}}}} </td><!--
--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; {{#ifeq: {{{warmth|}}} |0|color:lightgray}}"> {{{warmth|0}}} </td><!--


--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; color:
--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; color:
{{#ifeq: {{{STO|{{{16|}}}}}} |0|lightgray|darkblue}}"> {{{STO|{{{16|}}}}}} </td><!--
{{#ifeq: {{{storage|}}} |0|lightgray|darkblue}}"> {{{storage|0}}} </td><!--
 
-->{{#if:{{{covers|}}}|<td style="border: 1px solid #aaa; padding: 0.2em 0.5em; text-align:left"> {{#switch:{{lc:{{{COVERS|{{{17|}}}}}}}}
  |0 = slotless
  |mfb(bp_torso) = torso
  |mfb(bp_legs)  = legs


  |#default={{{COVERS|{{{17|}}}}}}
--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; text-align:left">{{lc:{{{cover|}}}}}</td><!--
}} </td>}}<!--


--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em;"> {{{coverage|0}}}% </td><!--
--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em;"> {{{coverage|0}}}% </td><!--
--></tr></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
--></tr></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 12:26, 3 October 2013