Help:Lint errors/fostered/pl

This page is a translated version of the page Help:Lint errors/fostered and the translation is 40% complete.
Outdated translations are marked like this.

Błąd fostered wskazuje na umieszczenie treści w strukturze tabeli, ale w miejscu, które nie umożliwia jej wyświetlenia. Treść musi być umieszczona w komórce tabeli, komórkach nagłówka lub opisie tabeli.

Treść umieszczona w innym miejscu kodu tabeli zostanie wyświetlona przed tabelą (stąd angielska nazwa "fostering"). Przykład poniżej.

Ilustracja przedstawiająca niewłaściwie umiejscowioną treść w znacznikach tworzących tabelę (po lewej) i sposób wyrenderowania tego przez przeglądarkę (po prawej)

Powyższy przykład pokazuje zrzuty ekranu artykułu w anglojęzycznej Wikipedii. Po lewej widoczny jest wikikod, w którym można zauważyć w tabeli pogrubiony nagłówek umieszczony bezpośrednio za znacznikiem wiersza tabeli (|-), ale nie umieszczony w komórce tabeli (|). Po prawej pokazany jest wyrenderowany w przeglądarce, gdzie umieszczony jest przed całą tabelą zamiast w środku i w zamierzonym miejscu. W tym przykładzie można domyślić się, że ten nagłówek miał faktycznie być przed tabelą, więc jego kod należy wyciągnąć z kodu tabeli. On the left that shows wikitext markup, you see the bold header inside the table after a table row (|-) but outside a table cell (|). On the right that shows the rendering in a browser, you see that the header actually shows up before the table rather than inside it. In this example, it is clear that the intent of the author is for the heading to be outside the table. So, the markup should be fixed to move the heading markup outside the table as well.

Jeżeli tekst ma być wyświetlany jako komórka tabeli, należy dodać przed nim |, jeżeli to komórka nagłówka to !, a nagłówek z tytułem tabeli poprzedzić |+.

Specyfikacja HTML5 nazywa to adopcją treści, ponieważ nagłówek przenoszony jest poza tabelę i jest "adoptowany" przez inny element HTML.

If your Wikipedia or other MediaWiki installation has been cleared of fostered content errors and a new one pops up, check the article's history and examine recent edits. Many edits that result in fostered content are misguided or malicious and should be reverted instead of modified.

Zobacz też