This module implements {{temp}}, {{paramref}} and {{wikitag}}....
template invocation, the function returns nil. The <span class="searchmatch">parser</span> will correctly <span class="searchmatch">parse</span> any wikitext given as <span class="searchmatch">template</span> arguments (such as subtemplates, arguments, tables...
"<span class="searchmatch">parser</span> variable" then <span class="searchmatch">parser</span>_variables[name] = output else <span class="searchmatch">templates</span>[name] = output end return output, subclass end function <span class="searchmatch">Template</span>...
<span class="searchmatch">template</span>_link = m_<span class="searchmatch">template</span>_<span class="searchmatch">parser</span>.<span class="searchmatch">template</span>Link local unpack = unpack or table.unpack -- Lua 5.2 compatibility local wikitag_link = m_<span class="searchmatch">template</span>_<span class="searchmatch">parser</span>.wikitagLink...
fullText local <span class="searchmatch">template</span>_memo = {} local <span class="searchmatch">template</span>_name_memo = {} local <span class="searchmatch">template</span>_prefixed_name_memo = {} local <span class="searchmatch">parser</span>_variable_memo = {} local <span class="searchmatch">parser</span>_function_memo...
function find_templates(...) find_<span class="searchmatch">templates</span> = require(<span class="searchmatch">template</span>_<span class="searchmatch">parser</span>_module).find_<span class="searchmatch">templates</span> return find_<span class="searchmatch">templates</span>(...) end local function full_link(...
uri_encode = mw.uri.encode mw.loadData = require local m_<span class="searchmatch">parser</span> = require("Module:<span class="searchmatch">parser</span>") local TAGS = { categorytree = true, ce = true, charinsert...
This module provides functions for finding and <span class="searchmatch">parsing</span> <span class="searchmatch">template</span> invocations found in wikitext, though it can also be used for other purposes. find_bracket(str...
other modules that deal with <span class="searchmatch">template</span> parameters or wikitext <span class="searchmatch">parsing</span> (e.g. for <span class="searchmatch">template</span> expansion). (The generated <span class="searchmatch">documentation</span> is located at the module...
value is a wikilink target to a <span class="searchmatch">documentation</span> page. <span class="searchmatch">parser</span>_function Specifies that the magic word can be used as a <span class="searchmatch">parser</span> function. In most cases, the value...