Module:Sports table: Difference between revisions

Content deleted Content added
Undid revision 648651329 by CRwikiCA (talk)
From sandbox, proper formatting when template_name empty
Line 116:
end
 
-- Get VTE button text (but only for non-empty text)
local template_name = Args['template_name'] or ''
local VTE_text = ''
if template_name~='' then
VTE_text = frame:expandTemplate{ title = 'navbar', args = { mini=1, style='float:right', template_name} }
end