Modul:Message box: Unterschied zwischen den Versionen
add a template link when generating the subst error message
(change pageTitle --> self.pageTitle) |
(add a template link when generating the subst error message) |
||
| Zeile 412: | Zeile 412: | ||
.addClass('error') | .addClass('error') | ||
.wikitext(format( | .wikitext(format( | ||
'Template <code>%s%s%s</code> has been incorrectly substituted.', | 'Template <code>%s[[Template:%s|%s]]%s</code> has been incorrectly substituted.', | ||
mw.text.nowiki('{{'), self.name, mw.text.nowiki('}}') | mw.text.nowiki('{{'), self.name, self.name, mw.text.nowiki('}}') | ||
)) | )) | ||
end | end | ||