Modul:Message box: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan |
Tidak ada ringkasan suntingan Tag: Suntingan perangkat seluler Suntingan peramban seluler Suntingan seluler lanjutan |
||
Baris 216:
local sect
if args.sect == '' then
sect = '
elseif type(args.sect) == 'string' then
sect = '
end
local issue = args.issue
Baris 263:
if self.isSmall then
local talkLink = talkArgIsTalkPage and talk or (talkTitle.prefixedText .. '#' .. talk)
talkText = string.format('([[%s|
else
talkText = '
if talkArgIsTalkPage then
talkText = string.format(
Baris 275:
else
talkText = string.format(
'%s the [[%s#%s|halaman pembicaraan]].',
talkText,
talkTitle.prefixedText,
Baris 328:
and (cfg.imageSmallSize or '30x30px')
or '40x40px'
self.imageLeft = string.format('[[
or 'Imbox notice.png', imageSize)
end
Baris 353:
local nums = {}
for _, prefix in ipairs{'cat', '
args[prefix .. '1'] = args[prefix]
nums = union(nums, getArgNums(args, prefix))
Baris 361:
local date = args.date
date = type(date) == 'string' and date
local preposition = '
for _, num in ipairs(nums) do
local mainCat = args['cat' .. tostring(num)]
or args['
local allCat = args['all' .. tostring(num)]
mainCat = type(mainCat) == 'string' and mainCat
Baris 371:
local catTitle = string.format('%s %s %s', mainCat, preposition, date)
self:addCat(0, catTitle)
catTitle = getTitleObject('
if not catTitle or not catTitle.exists then
self:addCat(0, '
end
elseif mainCat and (not date or date == '') then
Baris 433:
end
if self.isSubstituted then
self:addCat('all', 'Halaman dengan
end
end
Baris 454:
end
-- Convert category tables to strings and pass them through
-- [[
return require('Modul:Category handler')._main{
main = table.concat(self.categories[0] or {}),
Baris 472:
:addClass('error')
:wikitext(string.format(
'
mw.text.nowiki('{{'), self.name, self.name, mw.text.nowiki('}}')
))
Baris 590:
:addClass('mbox-invalid-type')
:wikitext(string.format(
'
self.type or ''
))
Baris 624:
return function (frame)
if not getArgs then
getArgs = require('
end
return t.main(k, getArgs(frame, {trim = false, removeBlanks = false}))
|