Module:Message box: திருத்தங்களுக்கு இடையிலான வேறுபாடு
உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
சி en:Module:Message_box இலிருந்து திருத்தங்கள் இறக்குமதி செய்யப்பட்டன |
imported>Ravidreams சி en:Module:Message_box இலிருந்து திருத்தம் இறக்குமதி செய்யப்பட்டன |
||
| (3 பயனர்களால் செய்யப்பட்ட 3 இடைப்பட்ட திருத்தங்கள் காட்டப்படவில்லை.) | |||
வரிசை 188:
-- Set text style.
self.textstyle = args.textstyle
-- Set image classes.
self.imageRightClass = args.imagerightclass or args.imageclass
self.imageLeftClass = args.imageleftclass or args.imageclass
-- Find if we are on the template page or not. This functionality is only
வரி 218 ⟶ 222:
local sect
if args.sect == '' then
sect = '
elseif type(args.sect) == 'string' then
sect = 'This ' .. args.sect
வரி 264 ⟶ 268:
local talkText
if self.isSmall then
local talkLink = talkArgIsTalkPage and talk or (talkTitle.prefixedText .. (talk == '#' and '' or '#') .. talk)
talkText = string.format('([[%s|talk]])', talkLink)
else
வரி 277 ⟶ 281:
else
talkText = string.format(
'%s the [[%s' .. (talk == '#' and '' or '#') .. '%s|talk page]].',
talkText,
talkTitle.prefixedText,
வரி 373 ⟶ 377:
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, 'Articles with invalid date parameter in template')
வரி 519 ⟶ 523:
imageLeftCell = imageLeftCell:tag('div'):addClass('mbox-image-div')
end
imageLeftCell
:addClass(self.imageLeftClass)
:wikitext(self.imageLeft or nil)
elseif self.imageEmptyCell then
-- Some message boxes define an empty cell if no image is specified, and
வரி 574 ⟶ 580:
end
imageRightCell
:addClass(self.imageRightClass)
:wikitext(self.imageRight or nil)
end
| |||