User:PHansen/Param
Appearance
{{#invoke:Sandbox/PHansen/Param|main}}
Module: en:Module:Sandbox/PHansen/Param
{{User:PHansen/Param | Author = Wikipedia | Title = Wikibook }}
Some text
- Parametre, arguments : Wikipedia:Lua#Using_arguments - Module:BananasArgs - Module:Arguments mw:Tutorial#Accessing_template_parameters - Help:Lua_for_beginners#Lua_program_structure:input -
local pframe = frame:getParent()
local config = frame.args -- arguments from the template definition
local args = pframe.args -- arguments from the page calling the template