Module:NUMBEROFSECTIONS/doc: Difference between revisions
Appearance
Fred Gandt (talk | contribs) 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
![]() | This module is invoked by {{NUMBEROFSECTIONS}} and may be expanded to include any other NUMBEROFthings. |
sections
{{ #invoke:NUMBEROF | sections | 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
or5 3 4
equates to:
- sections with a level
3
( "===" ),4
( "====" ) or5
( "=====" ) heading.
- sections with a level
- Multiple page names (at least one required) are the
{{#invoke:NUMBEROF|sections|Wikipedia:Village pump (technical)|level=2}}
produces28
{{#invoke:NUMBEROF|sections|Wikipedia:Village pump (technical)#Wikipedia:Village pump (proposals)|level=2}}
produces40