Module:Infobox: Difference between revisions

Plumtree (talk | contribs)
m Better CSS for mobile resolution
Plumtree (talk | contribs)
m Properly centering the title in mobile version
Line 15: Line 15:
'">\n' ..
'">\n' ..
'{| width="100%" style="border-collapse: collapse;"\n' ..
'{| width="100%" style="border-collapse: collapse;"\n' ..
'|+ style="font-weight: bold" | '
'|+ style="font-weight: bold; text-align: center;" | '
local has_adjacent = (prev_link and #prev_link > 0) or (next_link and #next_link > 0)
local has_adjacent = (prev_link and #prev_link > 0) or (next_link and #next_link > 0)
if has_adjacent then
if has_adjacent then