Template:Row/Clothing: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
mNo edit summary
(added param names)
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: {{{rarity}}} |0|color:lightgray}}"> {{{rarity}}} </td><!--


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


--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; text-align:left; {{#switch:{{lc:{{{5|}}}}}|cotton|leather|fur|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; text-align:left; {{#switch:{{lc:{{{5|}}}}}|cotton|leather|fur|wool=color:darkgreen;}}"> {{lc:{{{mat1}}} {{#ifeq:{{lc:{{{mat2}}}}}|null||/ {{{mat2}}}}}}} </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|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}}">  {{{WGT|{{#expr: {{{8|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}}} </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}}} </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}}} </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|{{{5|cotton}}}|{{{6|null}}}|{{{thickness|1}}}}} </td><!--
Line 31: Line 31:
--><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|{{{5|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}}} </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}}} </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: {{{STO|{{{16|}}}}}} |0|lightgray|darkblue}}"> {{{STO|{{{16|}}}}}} </td><!--


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


   |#default={{{COVERS|{{{17|}}}}}}
   |#default={{{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>

Revision as of 10:44, 3 October 2013