Template:Row/Items: Difference between revisions
Jump to navigation
Jump to search
(fixed symbol display) |
(added some documentation.) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><tr id="{{anchorencode:{{{NAME|{{{1}}}}}}}}" style="text-align:right"><!-- | <includeonly><tr id="{{anchorencode:{{{NAME|{{{1}}}}}}}}" style="text-align:right"><!-- | ||
--><td style="border: 1px dashed white; padding: 0.1em 0.2em 0.1em 0; text-align:right">{{igs|{{{SYM|{{{ | --><td style="border: 1px dashed white; padding: 0.1em 0.2em 0.1em 0; text-align:right">{{igs|{{{SYM|{{{3|}}}}}}|{{{COLOR|{{{4|}}}}}}|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|{{{1}}}}}}]] </td><!-- | ||
--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; | --><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; | ||
{{#ifeq: {{{ | {{#ifeq: {{{PRC|{{{2|}}}}}} |0|color:lightgray}}"> {{{PRC|{{{2|}}}}}} </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; font-size: 0.9em; line-height:100%"> {{lc:{{{MAT1|{{{5|}}}}}} {{#ifeq:{{{MAT2|{{{6|}}}}}}|MNULL||/ {{{MAT|{{{6|}}}}}}}}}} </td><!-- | ||
{{#ifeq: {{{ | |||
--><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><!-- | ||
--><td style="border: 1px solid #aaa; border-right-color: #333; padding: 0.2em 0.5em; {{#ifexpr: {{{WGT|{{{8|}}}}}} < 25 |color:darkgreen;}} {{#ifeq: {{{WGT|{{{8|}}}}}} |0|color:darkblue;}}"> {{{WGT|{{{8|}}}}}} </td><!-- | |||
--><td style="border: 1px solid #aaa; border-right-color: #333; padding: 0.2em 0.5em; {{#ifexpr: {{{WGT|{{{ | |||
--><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|{{{ | {{#ifexpr: {{{DMG|{{{9|}}}}}} > 0 |darkblue|{{#ifexpr: {{{DMG|{{{9|}}}}}} < 0 |darkred|lightgray}}}}"> {{{DMG|{{{9|}}}}}} </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: | ||
{{#ifexpr: {{{CUT|{{{ | {{#ifexpr: {{{CUT|{{{10|}}}}}} > 0 |darkblue|{{#ifexpr: {{{CUT|{{{10|}}}}}} < 0 |darkred|lightgray}}}}"> {{{CUT|{{{10|}}}}}} </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: | ||
{{#ifexpr: {{{HIT|{{{ | {{#ifexpr: {{{HIT|{{{11|}}}}}} > 0 |darkblue|{{#ifexpr: {{{HIT|{{{11|}}}}}} < 0 |darkred|lightgray}}}}"> {{{HIT|{{{11|}}}}}} </td><!-- | ||
--> | --></tr></includeonly><noinclude>'''Arguments:''' name, price, symbol, color, material1, material2, volume, weight, damage, cut, hit. | ||
</tr></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude> | [[Category:Templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 22:19, 15 January 2018
Arguments: name, price, symbol, color, material1, material2, volume, weight, damage, cut, hit.