Module:Sandbox/Habst/TFRRS (2)
< Module:Sandbox | Habst
-- This is a note.
local p = {} -- Use unexplained code as is.
function p.TFRRS(frame) -- This section is the core of the module. 'Name2' is a name of your choice. The same name needs to be referred to when the module is used.
-- The next five lines are mostly for convenience only and can be used as is for your module. The output conditions start on line 20.
local pf = frame:getParent().args -- This line allows template parameters to be used in this code easily. The equal sign is used to define variables. 'pf' can be replaced with a word of your choice.
return pf
end
return p