Variation in multiple dimension #4722

This should not be a script tag, but part of the static files so that downstream templates need not re-invent.