Module:Adjacent stations/sandbox: Difference between revisions

Content deleted Content added
hide icon if style
Tag: Reverted
sync with live
Line 204:
if args[v]['system'] then -- Header row
local stop_noun = data[v]['header stop noun'] or i18n[lang]['stop_noun']
mw.logObject(data[v])
table.insert(wikitable, table.concat({'\n|-',
'\n!', style['header cell'], i18n[lang]['preceding'](stop_noun),
'\n!', style['header midcell'], (data[v]['system style'] and data[v]['system style'] or table.concat({(data[v]['system icon'] and data[v]['system icon'] .. ' ' or ''), (data[v]['system title'] or ('[['.. args[v]['system'] ..']]'))})),
'\n!', style['header cell'], i18n[lang]['following'](stop_noun)
}))