Module:Gallery: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(removed non-semantic dl dd elements (invalid HTML5))
(use if preview, move to module version (someone bug me about hist merging the template namespace templatestyles page)
Line 3:
local p = {}
 
local templatestyles = 'TemplateModule:Gallery/styles.css'
local yesno = require('Module:Yesno')
 
Line 121:
 
local trackstr = (#tracking > 0) and table.concat(tracking, '') or ''
if #preview > 0 and frame:preprocess( "{{REVISIONID}}" ) == "" then
trackstr = tostring(mw.html.createrequire('divModule:If preview')._warning({
:wikitext('Unknown parameters: ' .. table.concat(preview, '; '))) .. '.'
:addClass('hatnote')
}) .. trackstr
:css('color','red')
:tag('strong'):wikitext('Warning:'):done()
:wikitext('Unknown parameters: ' .. table.concat(preview, '; ')))
end