User:Frietjes/addcheckforunknownparameters.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 70:
mytxt = '{' + '{#invoke:'
+ 'Check for unknown parameters|check|unknown=' + '{' + '{main other|['
+ '[Category:Pages using {' + '{subst:lcfirst:{' + '{subst:PAGENAME}' + '} '
+ '}' + '} with unknown parameters|_VALUE_{' + '{PAGENAME}' + '}]' + ']}' + '}|preview'
+ '}|preview=Page using [' + '[{' + '{subst:FULLPAGENAME}' + '}' + '} with unknown '
+ 'unknown parameter "_VALUE_"|ignoreblank=y';
for(var k=0; k<plist.length; ++k) {
mytxt = mytxt + "| " + plist[k] + " ";