Module:Items/ComparisonTables: Difference between revisions

Removed nowrap on text for description
(Added Desert Gloves to overrides, added includeDescription option)
(Removed nowrap on text for description)
Line 205: Line 205:
       --If requested, add description
       --If requested, add description
       if includeDescription then
       if includeDescription then
         result = result..'\r\n|style="text-align:left;white-space:nowrap;padding:0 0.5em 0 0.5em;"|'
         result = result..'\r\n|style="text-align:left;padding:0 0.5em 0 0.5em;"|'
         result = result..(item.description ~= nil and item.description or '')
         result = result..(item.description ~= nil and item.description or '')
       end
       end
Line 234: Line 234:
       --If requested, add description
       --If requested, add description
       if includeDescription then
       if includeDescription then
         result = result..'\r\n|style="text-align:left;white-space:nowrap;padding:0 0.5em 0 0.5em;"|'
         result = result..'\r\n|style="text-align:left;padding:0 0.5em 0 0.5em;"|'
         result = result..(item.description ~= nil and item.description or '')
         result = result..(item.description ~= nil and item.description or '')
       end
       end