Module:Dochead: Difference between revisions
Undo revision 215310 by Ganaram inukshuk (talk) Tag: Undo |
mNo edit summary |
||
| Line 65: | Line 65: | ||
else | else | ||
result = string.format( | result = string.format( | ||
"This module has a template that is currently missing or does not use this module. ([[Special:EditPage/Template:%s|edit template]])", | "This module has a corresopnding template that is currently missing or does not use this module. ([[Special:EditPage/Template:%s|edit template]])", | ||
corr_template | corr_template | ||
) | ) | ||
| Line 152: | Line 152: | ||
elseif has_module and not is_module_invoked then | elseif has_module and not is_module_invoked then | ||
result = string.format( | result = string.format( | ||
"This template has a Lua module [[Module:%s]] | "This template has a corresponding Lua module [[Module:%s]] that it does not use.", | ||
corr_module | corr_module | ||
) | ) | ||
| Line 170: | Line 170: | ||
elseif has_module and not is_module_invoked then | elseif has_module and not is_module_invoked then | ||
result = string.format( | result = string.format( | ||
"This metatemplate has a Lua module [[Module:%s]] | "This metatemplate has a corresponding Lua module [[Module:%s]] that it does not use.", | ||
corr_module | corr_module | ||
) | ) | ||
| Line 189: | Line 189: | ||
elseif has_module and header ~= "" and not is_module_invoked then | elseif has_module and header ~= "" and not is_module_invoked then | ||
result = string.format( | result = string.format( | ||
"%s. This template has a Lua module [[Module:%s]] | "%s. This template has a corresponding Lua module [[Module:%s]] that it does not use.", | ||
header, | header, | ||
corr_module | corr_module | ||
| Line 200: | Line 200: | ||
elseif has_module and header == "" and not is_module_invoked then | elseif has_module and header == "" and not is_module_invoked then | ||
result = string.format( | result = string.format( | ||
"This template has a Lua module [[Module:%s]] | "This template has a corresponding Lua module [[Module:%s]] that it does not use.", | ||
corr_module | corr_module | ||
) | ) | ||