Module:Arguments: திருத்தங்களுக்கு இடையிலான வேறுபாடு
உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
use an array to hold argument tables rather than firstArgs and secondArgs variables |
add options.frameOnly and options.parentOnly |
||
வரிசை 63:
-- which is how we avoid clashes between the frame/parent args and the Lua args.
local argTables = {}
if options.
table.insert(argTables, fargs)
elseif options.parentOnly then
table.insert(argTables, pargs)
elseif options.parentFirst then
table.insert(argTables, pargs)
table.insert(argTables, fargs)
| |||