Module:Dochead: Difference between revisions

Ganaram inukshuk (talk | contribs)
quick and dirty fix to add none header back
ArrowHead294 (talk | contribs)
m Spelling fix
Line 74: Line 74:
else
else
result = string.format(
result = string.format(
"This module has a corresopnding template that is currently missing or does not use this module. ([[Special:EditPage/Template:%s|edit template]])",
"This module has a corresponding template that is currently missing or does not use this module. ([[Special:EditPage/Template:%s|edit template]])",
corr_template:gsub("/doc$", "")
corr_template:gsub("/doc$", "")
)
)
Line 92: Line 92:
if has_template then
if has_template then
result = string.format(
result = string.format(
"This module should not be invoked directly; use its corresponding instead: [[Template:%s]].",
"This module should not be invoked directly; use its corresponding template instead: [[Template:%s]].",
corr_template:gsub("/doc$", "")
corr_template:gsub("/doc$", "")
)
)