Jump to content

Module:NUMBEROFSECTIONS/doc: Difference between revisions

From Wikipedia, the free encyclopedia
update per update
m Johnuniq moved page Module:NUMBEROF/doc to Module:NUMBEROFSECTIONS/doc without leaving a redirect: implement Template talk:NUMBEROF#Requested move 3 May 2020 a little early to allow final development of the separate NUMBEROF and NUMBEROFSECTIONS functions
(No difference)

Revision as of 03:35, 6 May 2020

Usage

sections
{{ #invoke:NUMBEROF | sections | page name [ # page name [ # ... ] ] | level = section level number(s) }}
  1. Multiple page names (at least one required) are the # delimited names of any Wikipedia pages (including namespaces).
  2. 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:NUMBEROF|sections|Wikipedia:Village pump (technical)|level=2}} produces 28
{{#invoke:NUMBEROF|sections|Wikipedia:Village pump (technical)#Wikipedia:Village pump (proposals)|level=2}} produces 40