Module:Solar eclipse/sandbox: Difference between revisions

Content deleted Content added
testing previous/next section (wip)
testing previous/next section (part 2)
Line 159:
local nextLink = createLink(args['next'], 'solar eclipse')
local belowstr = ifnotempty(prevLink .. nextLink,
string.format('<div style="displaywidth:flex;100%%"><div justify-contentclass="noprint" style="float:space-between;left">%s</div><div class="noprint" style="float:right">%s →</div></div>', prevLink, nextLink),
prevLink, nextLink),
'')
 
Line 169 ⟶ 170:
["abovestyle"] = "padding-bottom:0.25em; background:" .. bgcolor .. "; line-height:1.2em; text-align:center; font-size:115%;",
["below"] = belowstr,
["belowstyle"] = "text-align:center; font-size:90%; padding-top:0.5em;",
------------------ Images and maps ------------------
["image"] = InfoboxImage(args['image']),