Template:Row/Items: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
No edit summary
(added some documentation.)
 
(2 intermediate revisions by 2 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|{{{4|}}}}}}|{{{COLOR|{{{5|}}}}}}|s=border:1px black solid}}</td><!--
--><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: {{{RAR|{{{2|}}}}}} |0|color:lightgray}}"> {{{RAR|{{{2|}}}}}} </td><!--
{{#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: {{{PRC|{{{3|}}}}}} |0|color:lightgray}}"> {{{PRC|{{{3|}}}}}} </td><!--


--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; text-align:left; font-size: 0.9em; line-height:100%"> {{lc:{{{MAT1|{{{6|}}}}}} {{#ifeq:{{{MAT2|{{{7|}}}}}}|MNULL||/ {{{MAT|{{{7|}}}}}}}}}} </td><!--
--><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; padding: 0.2em 0.5em; {{#ifeq: {{{VOL|{{{8|}}}}}} |0|color:darkblue;}}"> {{{VOL|{{{8|}}}}}} </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|{{{9|}}}}}} < 25 |color:darkgreen;}} {{#ifeq: {{{WGT|{{{9|}}}}}} |0|color:darkblue;}}"> {{{WGT|{{{9|}}}}}} </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|{{{10|}}}}}} > 0 |darkblue|{{#ifexpr: {{{DMG|{{{10|}}}}}} < 0 |darkred|lightgray}}}}"> {{{DMG|{{{10|}}}}}} </td><!--
{{#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|{{{11|}}}}}} > 0 |darkblue|{{#ifexpr: {{{CUT|{{{11|}}}}}} < 0 |darkred|lightgray}}}}"> {{{CUT|{{{11|}}}}}} </td><!--
{{#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|{{{12|}}}}}} > 0 |darkblue|{{#ifexpr: {{{HIT|{{{12|}}}}}} < 0 |darkred|lightgray}}}}"> {{{HIT|{{{12|}}}}}} </td><!--
{{#ifexpr: {{{HIT|{{{11|}}}}}} > 0 |darkblue|{{#ifexpr: {{{HIT|{{{11|}}}}}} < 0 |darkred|lightgray}}}}"> {{{HIT|{{{11|}}}}}} </td><!--
 
--><!--<td style="border: 1px solid #aaa; padding: 0.2em 0.5em; text-align:center; font-size: 0.9em; line-height:100%"><!--
butcher_factor:
{{#ifexpr: {{{CUT|{{{11|}}}}}} > 9 |{{#expr: {{{VOL|{{{8|}}}}}} * 5 - {{{WGT|{{{9|}}}}}} * 1.5 - {{{CUT|{{{11|}}}}}} }}|999}}
{{#ifexpr: {{{CUT|{{{11|}}}}}} < 21 |{{#expr: ( {{{VOL|{{{8|}}}}}} * 5 - {{{WGT|{{{9|}}}}}} * 1.5 - {{{CUT|{{{11|}}}}}} ) * 2 }}|0}}
--> {{TECtoname|{{{13|}}}}} </td><!--


--><td style="border: 1px solid #aaa; border-right-color: white; padding: 0.2em 0.5em; text-align:left"> {{{14|}}} </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.