Help:Lint errors/stripped-tag/pl

From mediawiki.org
This page is a translated version of the page Help:Lint errors/stripped-tag and the translation is 11% complete.

The stripped tag error is triggered when a closing tag or wikitext markup is inserted without its opening tag. For example:

{{Small|This small text is not italic.</i>}}

Here, a closing "‎</i>" tag is present, but an opening "‎<i>" tag is missing. This can be fixed by addition of opening "‎<i>" tag inside a template or by removal of closing "‎</i>" tag in the template. So it should be like this (with correct tags):

{{Small|<i>This small text is not italic.</i>}}

This error can also appear in conjunction with a "missing end tag" error when there is a line break that is not supposed to be present, for example in the middle of a set of ‎<span>...‎</span> tags, or in a template that wraps a parameter in span tags. To fix both errors with a single edit, remove the line break or replace it with ‎<br />.

This error can sometimes appear when a table is not properly ended, either because it uses a template like {{col-end}} instead of |}, or because |} is missing entirely.

Zobacz też