Module:Sports table: Difference between revisions

Content deleted Content added
Move football subfunction to WDL for better generalization
Copy from sandbox, allow no problems with empty template name
Line 116:
end
 
-- Get VTE button text (but only for non-empty text)
local template_name = Args['template_name']
local VTE_text = ''
if template_name and not template_name=='' then
VTE_text = frame:expandTemplate{ title = 'navbar', args = { mini=1, style='float:right', template_name} }
end