Content deleted Content added
BrandonXLF (talk | contribs) |
m Reverted edits by 201.162.168.35 (talk) (HG) (3.4.13) |
||
(10 intermediate revisions by 9 users not shown) | |||
Line 1:
{{Used in system}}
{{Module rating|p}}
{{cascade-protected template|page=module}}
{{Lua|Module:If preview|noprotcat=yes}}
Line 32 ⟶ 33:
* Unnamed (positional) parameters can be added too: <code>|1|2|arg1|arg2|...</code>.
* [[:mw:Extension:Scribunto/Lua reference manual#Patterns|Lua patterns]] (similar to [[regular expression]]s) usage with parameters is also supported (such as: {{para|regexp1|header[%d]+}}, {{para|regexp2|date[1-9]}}, {{para|regexp3|data[%d]+[abc]?}}). This is useful when there are many known parameters which use a systematic pattern.
* {{para|unknown}} – what happens when an
* {{para|preview}} – the text to be displayed when in preview mode and an unknown parameter is used.
* The <code>_VALUE_</code> keyword, if used, will be changed to the name of the parameter. This is useful for either sorting the entries in a tracking category, or for provide more explicit information.
|