Module:NUMBEROFSECTIONS/doc: Difference between revisions
From Kenshi Wiki
More actions
Created page with "{{doc sub}} {{Module rating|protected}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> == Usage == {{important|This module is invoked by {{tl|NUMBEROFSECTIONS}}}} ; <code>sections</code> : <code><nowiki>{{</nowiki> #invoke:NUMBEROFSECTIONS|main| page name ''[ # page name [ # ... <nowiki>] ]</nowiki>'' | level = section level number(s) }}</code> :# Multiple ''page name''s <small>'''(at le..." |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{doc sub}} | {{doc sub}} | ||
<!-- 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 == | ||
Line 14: | Line 13: | ||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
[[Category:Modules]] | |||
}}</includeonly> | }}</includeonly><noinclude> | ||
[[Category:Module documents]] | |||
</noinclude> |
Latest revision as of 01:35, 10 March 2025
This is a documentation subpage for Module:NUMBEROFSECTIONS. It may contain usage information, categories and other content that is not part of the original module page. |
Usage
This module is invoked by {{NUMBEROFSECTIONS}} |
sections
{{ #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
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:NUMBEROFSECTIONS|main|Wikipedia:Village pump (technical)|level=2}}
produces0
{{#invoke:NUMBEROFSECTIONS|main|Wikipedia:Village pump (technical)#Wikipedia:Village pump (proposals)|level=2}}
produces0