This is an old revision of this page, as edited by Fred Gandt(talk | contribs) at 10:05, 24 March 2016(to be expanded - pushing to module space early due to strange sandbox results). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.Revision as of 10:05, 24 March 2016 by Fred Gandt(talk | contribs)(to be expanded - pushing to module space early due to strange sandbox results)
This module is rated as ready for general use. It has reached a mature form and is thought to be relatively bug-free and ready for use wherever appropriate. It is ready to mention on help pages and other Wikipedia resources as an option for new users to learn. To reduce server load and bad output, it should be improved by sandbox testing rather than repeated trial-and-error editing.
This module is subject to page protection. It is a highly visible module in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing.
{{ #invoke:NUMBEROFSECTIONS|main| page name [ # page name [ # ... ] ] | level = section level number(s) }}
Multiple page names (at least one required) are the # delimited names of any Wikipedia pages (including namespaces).
section level(s)(required) is any group of numerals between 1 and 6 (inclusive) e.g.435 or 5 3 4 equates to:
sections with a level 3 ( "===" ), 4 ( "====" ) or 5 ( "=====" ) heading.
{{#invoke:NUMBEROFSECTIONS|main|Wikipedia:Village pump (technical)|level=2}} produces Script error: The function "main" does not exist.
{{#invoke:NUMBEROFSECTIONS|main|Wikipedia:Village pump (technical)#Wikipedia:Village pump (proposals)|level=2}} produces Script error: The function "main" does not exist.