Βοήθεια:Επέκταση:Linter/γυμνή-ετικέτα

From mediawiki.org
This page is a translated version of the page Help:Lint errors/stripped-tag and the translation is 22% complete.
Outdated translations are marked like this.

Το σφάλμα για γυμνή ετικέτα προκαλείται όταν μια ετικέτα ή σήμανση κώδικα wiki εισαγάγεται χωρίς τη συνδυασμένη ετικέτα της. Για παράδειγμα:

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

Εδώ, η ετικέτα κλεισίματος "</i>" είναι παρούσα, αλλά μια ετικέτα ανοίγματος "<i>" απουσιάζει. Αυτό μπορεί να διορθωθεί με την προσθήκη της ετικέτας ανοίγματος "<i>" μέσα στο πρότυπο ή με την αφαίρεση της ετικέτας κλεισίματος "</i>" από το πρότυπο. 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.

Δείτε επίσης