Modül:Şablon derleyici
require('strict');
local error_msg = '|_template= missing or empty';
------------------------------------------------------------------------------------
scan through tbl looking for value; return true if found, false else
local function is_in_table (tbl, value) for k, v in pairs (tbl) do if v == value then return true end end return false;
end
--------------------------------------------------------------------------------
adds parameter name and its value to args table according to the state of boolean list argument; kv pair for
template execution; k=v string for template listing. local function add_parameter (k, v, args, list) if list then table. insert( args, table.