User:Oswaldiscool/Sandbox3

This version automatically removes the scrollable timeline if the template is not being used on a year page, so it doesn't show up here. If the name of this page was "2000", it would show up.

This is done with the following code:

Or in layman's terms:

DON'T SHOW: If + 1 produces a math error and  isn't "Pre-1922"

SHOW: Neither of the above occurs.