Template:Switch by pattern/doc: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

30 May 2024

  • curprev 18:5118:51, 30 May 2024Harrystein talk contribs 4,596 bytes +4,596 Created page with "{{Documentation subpage}} {{Lua|Module:Switch by pattern}} Unlike Switch parser function, this template matches any part of the input string or any [https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Patterns Lua pattern] in the input string. It returns the first match, or all matches separated by the chosen separator. == Usage == <code><nowiki>{{Switch by pattern|_input= |patterns1|patterns2|patterns3|keyA=patternsA..."