Template:Row/Clothing1: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(16 intermediate revisions by the same user not shown)
Line 5: Line 5:


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


--><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><!--
--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; text-align:left; {{#switch:{{lc:{{{mat1|}}}}}|cotton|leather|fur|wool=color:darkgreen;}}{{#switch:{{lc:{{{mat1|}}}}}|kevlar|plastic|iron|steel=color:chocolate;}}"> {{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: {{{volume|0}}} |0|color:darkblue}}">  {{{volume}}} </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; padding: 0.2em 0.5em;
{{#ifeq: {{{weight}}} |0|color:darkblue}}">  {{#expr: {{{weight|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; padding: 0.2em 0.5em; white-space:nowrap; color:
{{#ifexpr: {{{encumber|}}} > 0 |chocolate|{{#ifexpr: {{{encumber|}}} < 0 |darkblue|lightgray}}}}"> {{{encumber|0}}} </td><!--
{{#ifexpr: {{{encumber|}}} > 0 |chocolate|{{#ifexpr: {{{encumber|}}} < 0 |darkblue|lightgray}}}}"> {{{encumber|0}}} </td><!--


Line 29: Line 29:
{{#ifeq: {{{storage|}}} |0|lightgray|darkblue}}"> {{{storage|0}}} </td><!--
{{#ifeq: {{{storage|}}} |0|lightgray|darkblue}}"> {{{storage|0}}} </td><!--


--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; text-align:left">{{lc:{{#if:{{{covers1|}}}|{{{covers1}}}|slotless}}{{#if:{{{covers2|}}}|, {{{covers2}}}}}{{#if:{{{covers3|}}}|, {{{covers3}}}}}{{#if:{{{covers4|}}}|, {{{covers4}}}}}{{#if:{{{covers5|}}}|, {{{covers5}}}}}{{#if:{{{covers6|}}}|, {{{covers6}}}}}}}</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><!--
--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; text-align:left">{{lc:{{#if:{{{covers1|}}}|{{{covers1}}}|nothing}}{{#if:{{{covers2|}}}|, {{{covers2}}}}}{{#if:{{{covers3|}}}|, {{{covers3}}}}}{{#if:{{{covers4|}}}|, {{{covers4}}}}}{{#if:{{{covers5|}}}|, {{{covers5}}}}}{{#if:{{{covers6|}}}|, {{{covers6}}}}}{{#if:{{{covers7|}}}|, {{{covers7}}}}}{{#if:{{{covers8|}}}|, {{{covers8}}}}}}}</td><!--


--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; text-align:left">{{uc:{{#if:{{{flag1|}}}|{{{flag1}}}|}}{{#if:{{{flag2|}}}|, {{{flag2}}}}}{{#if:{{{flag3|}}}|, {{{flag3}}}}}{{#if:{{{flag4|}}}|, {{{flag4}}}}}{{#if:{{{flag5|}}}|, {{{flag5}}}}}{{#if:{{{flag6|}}}|, {{{flag6}}}}}}}</td><!--
--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; text-align:left; font-size: 0.8em;">{{#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>|}}</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; padding: 0.2em 0.5em; white-space:nowrap; color:
{{#ifexpr: {{{bash|}}} > 0 |darkblue|{{#ifexpr: {{{bash|}}} < 0 |darkred|lightgray}}}}"> {{{bash|0}}} </td><!--
{{#ifexpr: {{{bash|}}} > 0 |darkblue|{{#ifexpr: {{{bash|}}} < 0 |darkred|lightgray}}}}"> {{{bash|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; padding: 0.2em 0.5em; white-space:nowrap; color:
{{#ifexpr: {{{cut|}}} > 0 |darkblue|{{#ifexpr: {{{cut|}}} < 0 |darkred|lightgray}}}}"> {{{cut|0}}} </td><!--
{{#ifexpr: {{{cut|}}} > 0 |darkblue|{{#ifexpr: {{{cut|}}} < 0 |darkred|lightgray}}}}"> {{{cut|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: white; padding: 0.2em 0.5em; white-space:nowrap; color:
{{#ifexpr: {{{tohit|}}} > 0 |darkblue|{{#ifexpr: {{{tohit|}}} < 0 |darkred|lightgray}}}}"> {{{tohit|0}}} </td><!--
{{#ifexpr: {{{tohit|}}} > 0 |darkblue|{{#ifexpr: {{{tohit|}}} < 0 |darkred|lightgray}}}}"> {{{tohit|0}}} </td><!--


--></tr></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
--></tr></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 08:21, 7 October 2013