Module:documentation: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 12: Line 12:
error("Documentation page exists but content is nil")
error("Documentation page exists but content is nil")
end
end
return '\n<div class="documentation">\n<i>The following documentation is located at [[' .. doc.fullText .. ']]. <sup><span class="plainlinks"><nowiki>[</nowiki>[' .. doc:fullUrl{action="edit"} .. " edit]<nowiki>]</nowiki></span></sup></i>\n\n" .. doc:getContent() .. "\n</div>\n"
return '\n<div class="documentation">\n<i>The following documentation is located at [[' .. doc.fullText .. ']]. <sup><span class="plainlinks">\\[[' .. doc:fullUrl{action="edit"} .. " edit]\\]</span></sup></i>\n\n" .. doc:getContent() .. "\n</div>\n"
end
end


return export
return export

Navigation menu