「モジュール:If empty」の版間の差分
ナビゲーションに移動
検索に移動
+エラーカテゴリ
mediawiki>Jackmcbarn (actually, only the first 8 need this check) |
mediawiki>ネイ (+エラーカテゴリ) |
||
2行目: | 2行目: | ||
function p.main(frame) | function p.main(frame) | ||
local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template: | local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:Ifempty', 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: | frame:extensionTag('ref', '[[Category:テンプレート呼び出しエラーのあるページ/Template:Ifempty]]', {group = 'TrackingCategory'}) | ||
frame:extensionTag('references', '', {group = 'TrackingCategory'}) | frame:extensionTag('references', '', {group = 'TrackingCategory'}) | ||
end | end |