释义 |
- Usage
{{Module rating|alpha}} Usage {{important|This module is invoked by {{tl|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 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 {{NUMBEROFSECTIONS|Wikipedia:Village pump (technical)}} {{#invoke:NUMBEROF|sections|Wikipedia:Village pump (technical)#Wikipedia:Village pump (proposals)|level=2}} produces {{NUMBEROFSECTIONS|Wikipedia:Village pump (technical)#Wikipedia:Village pump (proposals)}} {{#ifeq:{{SUBPAGENAME}}|sandbox | | }} |