This implements {{Horizontal timeline}} and is intended to be called from there. Full documentation is available there too.