Template:Row/Containers: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
mNo edit summary
(was it just that? Another stubborn attempt.)
 
(9 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 solid white; padding: 0.1em 0.2em 0.1em 0; font: 150% monospace"> <b style="border:1px black solid; background-color:black; color:{{colors|{{{COLOR|{{{4|}}}}}}}};">[</b> </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><!--
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><!--


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


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


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|{{{6|}}}}}} |0|color:darkblue}}">  {{{VOL|{{{6|}}}}}} </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|{{{7|}}}}}} |0|color:darkblue}}">  {{{WGT|{{{7|}}}}}} </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|{{{8|}}}}}} > 0 |darkblue|{{#ifexpr: {{{DMG|{{{8|}}}}}} < 0 |darkred|lightgray}}}}"> {{{DMG|{{{8|}}}}}} </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|{{{9|}}}}}} > 0 |darkblue|{{#ifexpr: {{{HIT|{{{9|}}}}}} < 0 |darkred|lightgray}}}}"> {{{HIT|{{{9|}}}}}} </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|{{{10|}}}}}} |0|lightgray|darkblue}}"> {{{STO|{{{10|}}}}}} </td><!--
{{#ifeq: {{{FLAGS|{{{12|}}}}}} |0|lightgray|darkblue}}"> {{{FLAGS|{{{12|}}}}}} </td><!--


--><td style="border: 1px solid #aaa; border-right-color: white; padding: 0.2em 0.5em; text-align:left"> {{{18|}}} </td>
-->
</tr></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
</tr></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 06:03, 13 October 2013