Forum:Template with section editing

I've been trying to design a template for an entire article, and I've come across that inevitable problem involving section editing, where the option to edit a section becomes basically useless since it only leads to the corresponding section in the template page itself. I'm well aware that I can replace ==Heading== with Heading to disable section editing, but I'd really like to keep it available. I thought I could add some code to the target article to manually mark out sections, but I've now reached a dead-end. Is there any possible way to make the section editing work? THB  → Talk ← 22:55, March 23, 2010 (UTC)