2,788
edits
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
return '\n<div style="margin-left:1em;">\n<i>This page has no documentation. Please <span class="plainlinks">[' .. doc:fullUrl{action="edit"} .. ' create it]</span>.</i>\n</div>\n' | return '\n<div style="margin-left:1em;">\n<i>This page has no documentation. Please <span class="plainlinks">[' .. doc:fullUrl{action="edit"} .. ' create it]</span>.</i>\n</div>\n' | ||
end | end | ||
local doc_content = | local doc_content = frame:expandTemplate{title=doc.fullText} | ||
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_content or "") .. "\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" .. | |||
end | end | ||
return export | return export |