View source for Module:Xpsoc
MyWikiBiz, Author Your Legacy — Friday April 04, 2025
Jump to navigationJump to searchYou do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
-- This module implements {{xpsoc}}.
local mTemplateInvocation = require('Module:Template invocation')
local p = {}
function p._main(args, frame)
frame = frame or mw.getCurrentFrame()
-- Get the invocation arguments.
local name = args[1]
if not name then
error('no template name passed to xpsoc', 2)
end
local invArgs = {}
for k, v in pairs(args) do
if k ~= 1 then
if type(k) == 'number' then
invArgs[k - 1] = v
else
local num = k:match('^n([1-9][0-9]*)$')
000
1:0
Templates used on this page:
Return to Module:Xpsoc.