2,788
edits
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
or mw.title.new(title .. "/documentation") | or mw.title.new(title .. "/documentation") | ||
if not doc.exists then | if not doc.exists then | ||
local ret = '\n<div class="documentation">' | local ret = '\n<div class="documentation" style="margin:1em 0 0; padding: 1em; border:1px solid #a8a8a8; background-color:#ecfcf4; clear:both;">' | ||
ret = ret .. "\n'''This page has no documentation.'''" | ret = ret .. "\n'''This page has no documentation.'''" | ||
ret = ret .. '\nPlease <span class="plainlinks">[' .. doc:fullUrl{action="edit"} .. ' create it]</span>.' | ret = ret .. '\n\nPlease <span class="plainlinks">[' .. doc:fullUrl{action="edit"} .. ' create it]</span>.' | ||
return ret .. '\n</div>\n' | return ret .. '\n</div>\n' | ||
end | end |