Translations:Extension:Labeled Section Transclusion/38/en

You can also transclude from the first occurrence of $section1 (excluding the heading of $section2 itself) until it reaches the next occurrence of $section3. Note that $section4 acts as a stop point so the transclusion doesn't contain the content of $section5.