Template:Chapter/doc

Sample
Note: The chapter links are generated automatically as long as the anchor field has a "1" in it and the episode field has a value in it.

Results in...