Content deleted Content added
No edit summary |
No edit summary |
||
Line 550:
if line then
local default = data.lines._default or {}▼
if default and default.icon then▼
icon = mw.ustring.gsub(default.icon, '%%1', line_name)▼
end▼
local line_type = args[3] or args.type
if line_type then
Line 572 ⟶ 567:
if not icon then
icon = line.icon
▲ end
▲ local default = data.lines._default or {}
▲ if not icon and default and default.icon then
▲ icon = mw.ustring.gsub(default.icon, '%%1', line_name)
end
end
|