Module:Check for unknown parameters/doc: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
m (→Regular expressions: clarify; there are some differencs) |
|||
Line 31: | Line 31: | ||
By default, the module ignores blank positional parameters. To include blank positional parameters in the tracking use {{para|showblankpositional|1}}. |
By default, the module ignores blank positional parameters. To include blank positional parameters in the tracking use {{para|showblankpositional|1}}. |
||
=== |
=== Lua patterns === |
||
This module supports regular |
This module supports [[:mw:Extension:Scribunto/Lua reference manual#Patterns|Lua patterns]] (similar to [[regular expression]]s), which are useful when there are many known parameters which use a systematic pattern. For example, [[template:infobox3cols]] uses |
||
<pre> |
<pre> |
||
| regexp1 = header[%d][%d]* |
| regexp1 = header[%d][%d]* |