Module:CharacterInfobox: Difference between revisions

Content deleted Content added
m Changed 19px to 35px; Added vectors to Allegiance
m Changed allegiance to 20px
Line 14:
if not HF.isempty(field.Value) then
if field.Value == "Alliance" then
output = '[[File:Alliance_vector.svg|35px20px|link=]] ' .. '[[' .. field.Value .. ']]'
elseif field.Value == "Empire" then
output = '[[File:Empire_vector.svg|35px20px|link=]] ' .. '[[' .. field.Value .. ']]'
elseif field.Value == "Federation" then
output = '[[File:Federation_vector.svg|35px20px|link=]] ' .. '[[' .. field.Value .. ']]'
elseif field.Value == "Independent" then
output = field.Value