Module:SystemInfobox: Difference between revisions
Content deleted Content added
WIP |
m Fixed A Lavigny Duval vector link |
||
| (2 intermediate revisions by the same user not shown) | |||
Line 25:
if field.Value == "Archon Delaine" then
output = '[[File:Archon_Delaine_vector.svg|27px|link=]] ' .. '[[' .. field.Value .. ']]'
elseif field.Value == "
output = '[[File:
elseif field.Value == "
output = '[[File:
elseif field.Value == "
output = '[[File:Denton Patreus_vector.svg|27px|link=]] ' .. '[[' .. field.Value .. ']]'
elseif field.Value == "Edmund Mahon" then
output = '[[File:Edmund_Mahon_vector.svg|27px|link=]] ' .. '[[' .. field.Value .. ']]'
elseif field.Value == "Felicia Winters" then
output = '[[File:Felicia Winters_vector.svg|27px|link=]] ' .. '[[' .. field.Value .. ']]'
elseif field.Value == "Li Yong-Rui" then
output = '[[File:Li Yong Rui_vector.svg|27px|link=]] ' .. '[[' .. field.Value .. ']]'
elseif field.Value == "Simguru Pranav Antal" or field.Value == "Pranav Antal" then
output = '[[File:Pranav Antal_vector.svg|27px|link=]] ' .. '[[' .. field.Value .. ']]'
elseif field.Value == "Zachary Hudson" then
output = '[[File:Zachary Hudson_vector.svg|27px|link=]] ' .. '[[' .. field.Value .. ']]'
elseif field.Value == "Zemina Torval" then
output = '[[File:Zemina Torval_vector.svg|27px|link=]] ' .. '[[' .. field.Value .. ']]'
else
output =
end
return output
end
end
function Infobox.Quantify( field, vars )
local unit = field.Unit or ''
local value = field.Value or field.Default or '?'
if not HF.isempty(value) then
return value .. ' ' .. unit
end
end
| |||