Module:NUMBEROFSECTIONS/doc: Difference between revisions
Appearance
Content deleted Content added
Fred Gandt (talk | contribs) m tls --> tl |
Fred Gandt (talk | contribs) reduced rating to alpha - planned improvement after sleep |
||
Line 1: | Line 1: | ||
{{Module rating | |
{{Module rating |alpha}} |
||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
||
== Usage == |
== Usage == |
Revision as of 16:44, 24 March 2016
Usage
![]() | This module is invoked by {{NUMBEROFSECTIONS}} and may be expanded to include any other NUMBEROFthings. |
sections
{{#invoke:NUMBEROF|sections|page name|section level(s)}}
- page name (required) is the name of any Wikipedia page (including namespace).
- section level(s) (required) is any group of numerals between 2 and 6 (inclusive) e.g.
435
or5 3 4
equates to:
- sections with a level
3
( "===" ),4
( "====" ) or5
( "=====" ) heading.
- sections with a level
{{#invoke:NUMBEROF|sections|Wikipedia:Village pump (technical)|2}}
produces28