Template:Row/Containers: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
No edit summary
(was it just that? Another stubborn attempt.)
 
(2 intermediate revisions by the same user 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"><!--
 
Sets all symbols as ), defined on page after PRC
-->
<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|{{{4|}}}}}}|s=border:1px black solid}} </td><!--


Name
--><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><!--


Rarity
--><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: {{{RAR|{{{2|}}}}}} |0|color:lightgray}}"> {{{RAR|{{{2|}}}}}} </td><!--


Price
--><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: {{{PRC|{{{3|}}}}}} |0|color:lightgray}}"> {{{PRC|{{{3|}}}}}} </td><!--


Materials
--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; text-align:left; {{#ifeq:{{{MAT1|{{{5|}}}}}}|COTTON|color:darkgreen;}} {{#ifeq:{{{MAT1|{{{5|}}}}}}|WOOL|color:darkgreen;}} {{#ifeq:{{{MAT2|{{{6|}}}}}}|COTTON|color:darkgreen;}} {{#ifeq:{{{MAT2|{{{6|}}}}}}|WOOL|color:darkgreen;}}"> {{lc:{{{MAT1|{{{5|}}}}}} {{#ifeq:{{{MAT2|{{{6|}}}}}}|MNULL||/ {{{MAT2|{{{6|}}}}}}}}}} </td><!--
--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; text-align:left; {{#ifeq:{{{MAT1|{{{5|}}}}}}|COTTON|color:darkgreen;}} {{#ifeq:{{{MAT1|{{{5|}}}}}}|WOOL|color:darkgreen;}} {{#ifeq:{{{MAT2|{{{6|}}}}}}|COTTON|color:darkgreen;}} {{#ifeq:{{{MAT2|{{{6|}}}}}}|WOOL|color:darkgreen;}}"> {{lc:{{{MAT1|{{{5|}}}}}} {{#ifeq:{{{MAT2|{{{6|}}}}}}|MNULL||/ {{{MAT2|{{{6|}}}}}}}}}} </td><!--


Volume
--><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: {{{VOL|{{{7|}}}}}} |0|color:darkblue}}">  {{{VOL|{{{7|}}}}}} </td><!--


Raw weight as given in JSON file
--><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|{{{8|}}}}}} </td><!--
{{#ifeq: {{{WGT|{{{8|}}}}}} |0|color:darkblue}}">  {{{WGT|{{{8|}}}}}} </td><!--


Bash damage (no containers do cut or pierce)
--><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: {{{DMG|{{{9|}}}}}} > 0 |darkblue|{{#ifexpr: {{{DMG|{{{9|}}}}}} < 0 |darkred|lightgray}}}}"> {{{DMG|{{{9|}}}}}} </td><!--


Accuracy bonus
--><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: {{{HIT|{{{10|}}}}}} > 0 |darkblue|{{#ifexpr: {{{HIT|{{{10|}}}}}} < 0 |darkred|lightgray}}}}"> {{{HIT|{{{10|}}}}}} </td><!--


How many individual servings of a comestible they can contain
--><td style="border: 1px solid #aaa; border-left-color: #333; padding: 0.2em 0.5em; white-space:nowrap; color:
{{#ifeq: {{{CAP|{{{11|}}}}}} |0|lightgray|darkblue}}"> {{{CAP|{{{11|}}}}}} </td><!--
Flags (needs work obviously)
--><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|{{{11|}}}}}} |0|lightgray|darkblue}}"> {{{STO|{{{11|}}}}}} </td>
{{#ifeq: {{{FLAGS|{{{12|}}}}}} |0|lightgray|darkblue}}"> {{{FLAGS|{{{12|}}}}}} </td><!--
 
-->
</tr></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
</tr></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 06:03, 13 October 2013