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: | Line 3: | ||
local p = {} |
local p = {} |
||
local templatestyles = ' |
local templatestyles = 'Module:Gallery/styles.css' |
||
local yesno = require('Module:Yesno') |
local yesno = require('Module:Yesno') |
||
Line 121: | Line 121: | ||
local trackstr = (#tracking > 0) and table.concat(tracking, '') or '' |
local trackstr = (#tracking > 0) and table.concat(tracking, '') or '' |
||
if #preview > 0 |
if #preview > 0 then |
||
trackstr = |
trackstr = require('Module:If preview')._warning({ |
||
⚫ | |||
:addClass('hatnote') |
|||
}) .. trackstr |
|||
:css('color','red') |
|||
:tag('strong'):wikitext('Warning:'):done() |
|||
⚫ | |||
end |
end |
||