5,326
回編集
(ページの作成:「local p = {} local function setProperty(dataStore) -- メイン空間のみ if not mw.title.getCurrentTitle().namespace == 0 then return true; end if not mw.smw then return true; end local result = mw.smw.set( dataStore ) if result == true then -- everything ok else -- error message to be found in result.error end end local function test(frame) local args = frame.args --local args = require( 'Module:Argum…」) |
細編集の要約なし |
||
90行目: | 90行目: | ||
function p.main(frame) | function p.main(frame) | ||
local args = require( 'Module:Arguments' ).getArgs( frame, { wrappers = 'Template:メンバー情報', removeBlanks = false, parentFirst = true }); | local args = require( 'Module:Arguments' ).getArgs( frame, { wrappers = 'Template:メンバー情報', removeBlanks = false, parentFirst = true }); | ||
local dataStore = {} | |||
-- 選抜回数 | -- 選抜回数 | ||
dataStore["選抜回数"] = {} | dataStore["選抜回数"] = {} |