Template Margins
Added parameters for TopMargin and BottomMargin. Added an #if statement around the PutInTOC template so that the parameters for the margins work. Set the default as -10px and -20px for the Top and Bottom margins respectively. There seem to be two reasonable choices for the top margin default:
- around 10px when the template is called immediately after a section heading <H#>
- around -10px when the template is called after wikitext
So far it looks like a toss up as to which occurs most often. Thoughts?
Decided to go with the -10px default. The only case that I can find that is a problem is when the pedagogical template follows a section see Template:iDeviceFollowingASection