Довідка:Lint errors/stripped-tag

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

Помилка stripped tag (непарний тег) виникає коли закриваючий тег або вікітекстова розмітка вставлена без його відкриваючого тегу. Наприклад:

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

Тут присутній закриваючий тег «‎</i>», але відсутній початковий тег «‎<i>». Це можна виправити шляхом додавання відкриваючого тегу «‎<i>» всередині шаблону або видаленням закриваючого тегу «‎</i>» у шаблоні. Тож має бути так (з правильними тегами):

{{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.

Див. також