It is called "meter" in modern poetry. There are four kinds of modern poetry: seven rhymes, seven quatrains, five rhymes and five quatrains, and each kind is divided into four kinds: entering rhyme, not entering rhyme, starting together, puckering up and sixteen kinds of meter.
There are more than 1000 commonly used words, each of which has a name called "epigraph", such as "Manjianghong". Some epigrams have only one format, which is called "freeze frame"; Some epigrams have one or more other "variants" besides being specific. The metrical pattern of words is called "word spectrum".
People often say "out of line" and "out of line" come from poetic terms.
The meter of poetry is too complicated to enumerate here. You can read related books, such as Wang Li's poetry meter, King James Dictionary, White Elephant Dictionary, Long Yusheng's poetry meter of Tang and Song Dynasties, and so on.