Module:Infobox: Difference between revisions
m Better CSS for mobile resolution |
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 | ||