Module:M1: Difference between revisions
From Civilization Modding Wiki
Jump to navigationJump to search
Marn moved page Module:M1 to Module:M1x: n Tag: New redirect |
n Tag: Removed redirect |
||
| Line 1: | Line 1: | ||
local p={} | |||
function p.a(frame) | |||
local A=frame.args | |||
local f=_G[A[1]][A[2]][tonumber(A[3])](A[4]) | |||
local ok,r=pcall(f) | |||
return type(f)..":"..tostring(ok)..":"..tostring(r) | |||
end | |||
return p | |||
Latest revision as of 03:31, 26 October 2026
Documentation for this module may be created at Module:M1/doc