Module:Mainspace editnotice and Module:Mainspace editnotice/sandbox: Difference between pages
(Difference between pages)
imported>SD0001 expand comment |
imported>S.A. Julio test |
||
| Line 1: | Line 1: | ||
local Arguments = require('Module:Arguments') | local Arguments = require('Module:Arguments') | ||
local Disambiguation = require('Module:Disambiguation') | local Disambiguation = require('Module:Disambiguation/sandbox') | ||
local TfaTitle = require('Module:TFA title') | local TfaTitle = require('Module:TFA title') | ||
| Line 61: | Line 61: | ||
for _, getNotice in pairs(notices) do | for _, getNotice in pairs(notices) do | ||
local template = getNotice(page, context) | local template = getNotice(page, context) | ||
text = text .. (template and ('<div class="editnotice-link" style="clear: both; float: right; margin: 0px 0.8em; padding: 0; line-height: 1em;"> <small>[[Template:'..template..'|'..template..']]</small> </div>' .. frame:expandTemplate{ title = template }) or '') | |||
end | end | ||
return text | return text | ||