arg in ext - bhsd-harry/wikiparser-node GitHub Wiki

⚠️ By default, this rule reports template arguments inside an extension tag as warnings. See also: Help:Lint errors/template-arg-in-extension-tag.

Examples

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

<poem>{{{1}}}</poem>
<gallery caption="{{{1}}}" />

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

{{#tag:poem|{{{1}}}}}

Options

Tag name

This rule can be configured for specific extension tags by providing an object with the tag name as the key and the severity as the value.

Examples of incorrect code for { "arg-in-ext": [ 0, { "ref": 2 } ] }:

<ref>{{{1}}}</ref>

Examples of correct code for { "arg-in-ext": [ 2, { "ref": 0 } ] }:

<ref>{{{1}}}</ref>
⚠️ **GitHub.com Fallback** ⚠️