Module:Sandbox/サンムル/Var
< Module:Sandbox | サンムル
跳到导航
跳到搜索
return { _get = function(frame) local args = require("Module:Arguments").getArgs(frame) return frame:callParserFunction("#var", args.name or args[1] or "", args.default or args[2] or "") end, _getfinal = function(frame) local args = require("Module:Arguments").getArgs(frame) return frame:callParserFunction("#var_final", args.name or args[1] or "", args.default or args[2] or "") end, define = function(frame) local args = require("Module:Arguments").getArgs(frame) return frame:callParserFunction("#vardefine", args.name or args[1] or "", args.value or args[2] or "") end, defineecho = function(frame) local args = require("Module:Arguments").getArgs(frame) return frame:callParserFunction("#vardefineecho", args.name or args[1] or "", args.value or args[2] or "") end, exists = function(frame) local args = require("Module:Arguments").getArgs(frame) return frame:callParserFunction("#varexists", args.name or args[1] or "", args.tvalue or args[2] or "", args.fvalue or args[3] or "") end }