Template Margins

Jump to: navigation, search

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:

  1. around 10px when the template is called immediately after a section heading <H#>
  2. around -10px when the template is called after wikitext

So far it looks like a toss up as to which occurs most often. Thoughts?

Kruhly (talk)23:57, 27 December 2007

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

Kruhly (talk)23:08, 18 January 2008