Module:Antarctic Union: Difference between revisions
Jump to navigation
Jump to search
(Created page with "local p = {} --p stands for package local ministers = {"Gris_"} function p.minister( frame ) local arg = frame.args[1] if arg == "pm" then return ministers[1] end end return p") |
No edit summary |
||
Line 8: | Line 8: | ||
end | end | ||
end | end | ||
function p.ministerlink( frame ) | |||
local arg = frame.args[1] | |||
if arg == "pm" then | |||
return "[[Aurora:"..ministers[1].."|"..ministers[1].."]]" | |||
end | |||
end | |||
return p | return p |
Revision as of 16:39, 18 October 2023
This is module is to edit every page ASAP without manually editing all. I did this module because I was bored manually editing every AU page.
local p = {} --p stands for package
local ministers = {"Gris_"}
function p.minister( frame )
local arg = frame.args[1]
if arg == "pm" then
return ministers[1]
end
end
function p.ministerlink( frame )
local arg = frame.args[1]
if arg == "pm" then
return "[[Aurora:"..ministers[1].."|"..ministers[1].."]]"
end
end
return p