Module:documentation: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
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" style="margin:1em 0 0; padding: 1em; border:1px solid #a8a8a8; background-color:#ecfcf4; clear:both;">'
local ret = '\n<div class="documentation" style="margin:1em 0 0; padding: .5em; border:1px solid #a8a8a8; background-color:#ecfcf4; clear:both;">'
ret = ret .. "\n'''This template has no documentation.'''"
ret = ret .. "\n'''This template has no documentation.'''"
ret = ret .. '\n\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>.'

Navigation menu