Template:Row/Clothing1: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(15 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 | --><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><!-- | ||
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; | --><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;"> {{{ | --><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"> | --><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; padding: 0.2em 0.5em; white-space:nowrap; color: | --><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; white-space:nowrap; color: | ||
Line 41: | Line 41: | ||
{{#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; 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> |