Template:NUMBEROFSECTIONS/doc

Usage
Use to get the number of sections of a specified level on a specified page or without specifying either parameter (see below), get the number of level 2 ( i.e. sections denoted by "==" ) sections on the page where called.

Parameters

 * Getting the number of sections on the page where placed
 * will transclude the number of level 2 sections in the page this is placed =
 * will transclude the number of level 3 sections in the page this is placed =


 * Getting the number of sections on other pages
 * will transclude the number of level 2 sections in Village pump (technical) =
 * will transclude the number of level 4 sections in Village pump (idea lab) =
 * will transclude the number of level 2 and 3 sections in Village pump (proposals) =


 * Arbitrary numbers of pages
 * State any number of  delimited pages to get the total number of named sections ( or the default 2s ) in those pages e.g.
 * will transclude the number of level 4 sections in Wikipedia:Village pump (proposals), (technical) and (idea lab).