Module:Sandbox/Szqecs/L-rail output: Difference between revisions
< Module:Sandbox | Szqecs
imported>Szqecs No edit summary |
(No difference)
|
Latest revision as of 09:55, 20 January 2018
Documentation for this module may be created at Module:Sandbox/Szqecs/L-rail output/doc
row = {
['start'] = '{| class="wikitable" ' .. style['table']
,['header'] = '\n|-'
.. '\n! ' .. style['header leftcell'] .. 'Preceding station'
.. '\n! ' .. style['header midcell'] .. '\[\[Kaohsiung Rapid Transit System\]\]'
.. '\n! ' .. style['header rightcell'] .. 'Following station'
,['body'] = '\n|-'
.. '\n| ' .. style['body leftcell'] .. left .. left_toward
.. '\n| ' .. style['body banner'] .. color .. '"|'
.. '\n| ' .. style['body midcell'] .. l_link
.. '\n| ' .. style['body banner'] .. color .. '"|'
.. '\n| ' .. style['body rightcell'] .. right .. right_toward
,['end'] = '\n|}'
}
position = {
['all'] = row['start'] .. row['header'] .. row['body'] .. row['end']
,['top'] = row['start'] .. row['header'] .. row['body']
,['mid'] = row['body']
,['bottom'] = row['body'] .. row['end']
,['header mid'] = row['header'] .. row['body']
,['header bottom'] = row['header'] .. row['body'] .. row['end']
}