Module:documentation: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 15: Line 15:
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: 1em; border:1px solid #a8a8a8; background-color:#ecfcf4; clear:both;">'
ret = ret .. '\n<div style="padding-bottom:3px; border-bottom:1px solid #bfbfbf; margin-bottom:1ex;">'
ret = ret .. '\n<div style="padding-bottom:3px; border-bottom:1px solid #bfbfbf; margin-bottom:1ex;">'
ret = ret .. '\n<span style="font-size:125%; font-weight:bold;">[[File:TemplateDocumentation.svg|50px]] Template documentation</span>'
ret = ret .. '<span style="font-size:125%; font-weight:bold;">[[File:TemplateDocumentation.svg|50px]] Template documentation</span>'
ret = ret .. ' <span class="mw-editsection-like plainlinks">'
ret = ret .. ' <span class="mw-editsection-like plainlinks">'
ret = ret .. ' &#91;[[' .. doc.fullText .. '|view]]&#93;'
ret = ret .. ' &#91;[[' .. doc.fullText .. '|view]]&#93;'
Line 21: Line 21:
ret = ret .. ' &#91;[[Special:Purge/' .. title .. '|purge]]&#93;'
ret = ret .. ' &#91;[[Special:Purge/' .. title .. '|purge]]&#93;'
ret = ret .. '</span>'
ret = ret .. '</span>'
ret = ret .. '\n</div>\n' .. doc_content .. '\n</div>'
ret = ret .. '</div>\n' .. doc_content .. '\n</div>'
return ret
return ret
end
end


return export
return export

Navigation menu