×
新規記事を作成
ここにページのタイトルを記入:
We currently have 2 articles on 政治ボールwiki 日本語版. Type your article name above or click on one of the titles below and start writing!



    政治ボールwiki 日本語版

    このモジュールについての説明文ページを モジュール:Code/doc に作成できます

    local p = {};
    
    function p.Template(frame)
    	local args = require('Module:Arguments').getArgs(frame, {parentOnly = true})	--引数取得
    	local function args2tbl(str, k, v)
    		local num = string.match(k, '%d*$')
    		num = (num == '') and 1 or tonumber(num)
    		h[str][num] = h[str][num] or {}
    		if k == str then
    			h[str][1][1] = v
    		elseif string.match(k, str .. '%d+') then
    			h[str][num][1] = v
    		elseif string.find(k, 'style') then
    			if string.match(k, 'style$') then
    				h[str]['style'] = v
    			else
    				h[str][num]['style'] = v
    			end
    		elseif string.find(k, 'rowclass') then
    			if string.match(k, 'rowclass$') then
    				h[str]['rowclass'] = v
    			else
    				h[str][num]['rowclass'] = v
    			end
    		elseif string.match(k, 'class$') then
    			h[str]['class'] = v
    		end
    	end
    
    p.Template = function( frame )
    	local str = "<code>as!</code>"
    	
    	return str
    	
    end
    
    end
    return p