Module:Step vis: Difference between revisions

ArrowHead294 (talk | contribs)
+Yesno module
ArrowHead294 (talk | contribs)
mNo edit summary
Line 43: Line 43:
  removing the last 8 characters representing it, between indices -1 and -9
  removing the last 8 characters representing it, between indices -1 and -9
- This removes the double centre border at the end if the second-to-last and last steps are both 0
- This removes the double centre border at the end if the second-to-last and last steps are both 0
- In debugging mode, the HTML entities themselves are displayed, so the index is -13 instead of -9
]]--
]]--
step_visualization = (debug_mode == true and string.sub(step_visualization, 1, -13) or string.sub(step_visualization, 1, -9))
step_visualization = string.sub(step_visualization, 1, (debug_mode == true and -13 or -9))
end
end
current_step_vis = double_border_right
current_step_vis = double_border_right