Template:XTimelineWidth

{{#vardefine:w|{{#expr: {{{1}}} * {{xTimelineLineWidth}} / 800 round 0 }} {{#ifexpr: {{#var:w}} < 1 | 1 | {{#ifexpr: {{{1}}} > 800 | {{xTimelineLineWidth}} | {{#var:w}}}}}}