no arg - bhsd-harry/wikiparser-node GitHub Wiki

no-arg

⚠️ By default, this rule reports template arguments in a non-template context as warnings.

Examples

Examples of incorrect code for { "no-arg": 2 }:

{{{Foo}}}

Examples of correct code for { "no-arg": 2 }:

<includeonly>{{{Foo}}}</includeonly>

Examples of correct code for transclusion:

// no-arg
var wikitext = '{{{Foo}}}';
assert.deepStrictEqual(Parser.parse(wikitext, true).lint(), []);