Module:Documentation: Difference between revisions

m
no edit summary
(Fix a typo; Don't show "How to use documentation" on Template:Documentation)
mNo edit summary
Line 45: Line 45:
docContainer:tag("div"):addClass("documentation-content"):wikitext("\n" .. content .. "\n"):done()
docContainer:tag("div"):addClass("documentation-content"):wikitext("\n" .. content .. "\n"):done()
local footer = " ([[Template:Documentation|How to use documentation?]])"
local footer = " ([[Template:Documentation|How does this work?]])"
if currentPage.fullText == "Template:Documentation" then footer = "" end
if currentPage.fullText == "Template:Documentation" then footer = "" end
if args.content then
if args.content then
420

edits