Module:ShipInfobox: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 109:
function Infobox.Hardpoints( field, vars )
--
local u = field.Utility
if not isempty(field.Utility) then
local hplabel = lang:plural(tonumber(u), 'Hardpoint', 'Hardpoints')
local matroska = nil
Line 136 ⟶ 137:
table.insert(output, field.H .. 'x Huge ' .. hplabel)
end
return table.concat( output ) else return end
end
| |||