View source for Module:Arguments
From Halopedia, the Halo wiki
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
local utils = require( 'Module:Utils' )
local arguments = {}
function arguments.preprocess( frame, args )
-- TODO: Complete error messages, make sure that in the preprocessed version, the keys for numbered args are still numbered
local parent = frame:getParent()
local valid = {}
local required = {}
local recommended = {}
local deprecated = {}
for i, v in ipairs( args.valid or {} ) do
local vl = mw.ustring.lower( tostring( v ) )
valid[ vl ] = true
end
for i, v in ipairs( args.required or {} ) do
000
1:0
Template used on this page:
Return to Module:Arguments.