Module:Sandbox/BrandonXLF/1: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 39:
 
local function displayFloor(stationFloor, num)
local out = '<div>' style="display:.. grid;stationFloor.letter grid-template-columns:.. max-content 1fr;"'</div>'
out = out .. '<div>' .. stationFloor.letter .. '</div>'
out = out .. '<div>'
Line 49 ⟶ 47:
end
return out .. '</div></div>'
end
 
Line 105 ⟶ 103:
function p.main(frame)
local sortedArgs = processArgs(frame.args)
local out = '<div style="display: grid; grid-template-columns: max-content 1fr;">'
local out = ''
for i = 1, sortedArgs.max do
Line 111 ⟶ 109:
end
return out .. '</div>'
end