Thread:Andrewds1021/@comment-45310000-20200414034500/@comment-9605025-20200414070613

In Template:ChapterName, you have a newline between your closing includeonly and your opening noinclude tags. Remove the newline and you should be good.