「モジュール:If empty」の版間の差分

ナビゲーションに移動 検索に移動
1版 をインポートしました
mediawiki>ネイ
(+エラーカテゴリ)
(1版 をインポートしました)
2行目: 2行目:


function p.main(frame)
function p.main(frame)
local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:Ifempty', removeBlanks = false})
local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:If empty', removeBlanks = false})


-- For backwards compatibility reasons, the first 8 parameters can be unset instead of being blank,
-- For backwards compatibility reasons, the first 8 parameters can be unset instead of being blank,
20行目: 20行目:
-- This is a rather fragile, convoluted, hacky way to do it, but it ensures that this module's output won't be modified
-- This is a rather fragile, convoluted, hacky way to do it, but it ensures that this module's output won't be modified
-- by it.
-- by it.
frame:extensionTag('ref', '[[Category:テンプレート呼び出しエラーのあるページ/Template:Ifempty]]', {group = 'TrackingCategory'})
frame:extensionTag('ref', '[[Category:Instances of Template:If_empty missing arguments]]', {group = 'TrackingCategory'})
frame:extensionTag('references', '', {group = 'TrackingCategory'})
frame:extensionTag('references', '', {group = 'TrackingCategory'})
end
end

案内メニュー