Module:MaterialInfobox: Difference between revisions
Content deleted Content added
m Added another CSS class |
Corrected Rare and Very Rare icons |
||
| (One intermediate revision by the same user not shown) | |||
Line 23:
if not HF.isempty(field.Grade) then
if field.Grade == 'Rare' or field.Grade == 'rare' then
output = '[[File:
elseif field.Grade == 'Very common' or field.Grade == 'Very Common' or field.Grade == 'very common' then
output = '[[File:Very common material.svg|35px|link=]] ' .. output
elseif field.Grade == 'Very rare' or field.Grade == 'Very Rare' or field.Grade == 'very rare' then
output = '[[File:
elseif field.Grade == 'Common' or field.Grade == 'common' then
output = '[[File:Common material.svg|35px|link=]] ' .. output
elseif field.Grade == 'Standard' or field.Grade == 'standard' then
output = '[[File:Standard_material.svg|35px|link=]] ' .. output
else
output = output
| |||