Template:Link-interwiki-pl
This template is currently being deleted. This template is being removed from the pages on which it is currently used, after which it will be deleted. Please check Wikipedia:Templates for discussion/Holding cell for any additional instructions. Please do not use it on any additional pages, but do not remove it from pages if it is under deletion review. The decision to delete this template was made following this discussion initiated on 23 September 2024 at Templates for discussion. Administrators: Please review this template's instructions at Wikipedia:Templates for discussion/Holding cell before proceeding with any action. |
to be translated from uk:template:link-interwiki/документація and pl:template:link-interwiki/opis
Składnia
[edit]{{link-interwiki|[tytuł artykułu]|Q=[identyfikator w Wikidanych]|tekst=[tekst wyświetlany (opcjonalnie)]}}
- lub
{{link-interwiki|1=[tytuł artykułu]|Q=[identyfikator w Wikidanych]|tekst=[tekst wyświetlany (opcjonalnie)]}}
Kolejność parametrów jest obojętna.
Usage
[edit]Szablon pozwala dodać tymczasowo link do różnych wersji językowych Wikipedii oraz do Wikidanych. Używa się go do tzw. czerwonych linków, czyli póki nie ma jeszcze artykułu w polskojęzycznej Wikipedii.
Jeśli określony artykuł nie istnieje w polskojęzycznej Wikipedii, to szablon ten celowo wyświetla czerwone łącze do brakującego artykułu, po którym następuje łącze do określonych artykułów w innych wersjach językowych i Wikidanych. Gdy artykuł powstanie, szablon wyświetli normalny link do niego.
Przykłady
[edit]{{link-interwiki|kapelusz Napoleona|Q=Q2956499}}
- daje tekst: kapelusz Napoleona
{{link-interwiki|kościół św. Maksymiliana Marii Kolbego w Kielcach|tekst=św. Maksymiliana Marii Kolbego|Q=Q104807205}}
{{link-interwiki|Moja dziewczyna (powieść)|tekst=Moja dziewczyna|Q=Q1262440}}
- daje tekst: Moja dziewczyna (powieść)
Po utworzeniu hasła w polskiej Wikipedii znika odnośnik interwiki i link wygląda oraz działa jak zwykły link wewnętrzny, np.:
w reżyserii {{link-interwiki|Kira Muratowa|tekst=Kiry Muratowej|Q=Q435805}}
- daje tekst: w reżyserii Kira Muratowa
Błędy
[edit]Błędy należy zgłaszać na stronie Wikipedia:Kawiarenka/Kwestie techniczne.
Parametry szablonu (strukturyzacja VE)
[edit]No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Tytuł artykułu w polskiej wersji językowej | 1 | Proponowany tytuł artykułu nieistniejącego w polskiej wersji językowej | String | required |
identyfikator w Wikidanych | Q | Identyfikator Wikidanych, skojarzony z linkowanym pojęciem | String | required |
tekst wyświetlany | tekst | Tekst wyświetlany w artykule. Gdy niewypełnione – przyjmuje taką wartość jak pierwszy parametr | String | optional |
Narzędzia
[edit]Dostępny jest gadżet, który ułatwia zamianę czerwonych linków na szablon link-interwiki. Można go aktywować w preferencjach (pozycja „⧼Gadget-wstaw-link-interwiki⧽”).
Podczas czytania artykułu, obok czerwonych linków pojawia się wtedy literka Q, którą można kliknąć w celu wywołania okienka dialogowego do wpisania identyfikatora Wikidanych.
Zobacz też
[edit]- [[:Kategoria:Strony z nieaktualną propozycją przetłumaczenia:{{{2}}}]] ([{{fullurl::Kategoria:Strony z nieaktualną propozycją przetłumaczenia:{{{2}}}|action=edit}} edit] | [[:Kategoria:Strony z nieaktualną propozycją przetłumaczenia talk:{{{2}}}|talk]] | [{{fullurl::Kategoria:Strony z nieaktualną propozycją przetłumaczenia:{{{2}}}|action=history}} history] | [{{fullurl:Special:Whatlinkshere/:Kategoria:Strony z nieaktualną propozycją przetłumaczenia:{{{2}}}}} links] | [{{fullurl::Kategoria:Strony z nieaktualną propozycją przetłumaczenia:{{{2}}}|action=watch}} watch] | logs)
- [[:Kategoria:Szablon link-interwiki z błędami wywołania:{{{2}}}]] ([{{fullurl::Kategoria:Szablon link-interwiki z błędami wywołania:{{{2}}}|action=edit}} edit] | [[:Kategoria:Szablon link-interwiki z błędami wywołania talk:{{{2}}}|talk]] | [{{fullurl::Kategoria:Szablon link-interwiki z błędami wywołania:{{{2}}}|action=history}} history] | [{{fullurl:Special:Whatlinkshere/:Kategoria:Szablon link-interwiki z błędami wywołania:{{{2}}}}} links] | [{{fullurl::Kategoria:Szablon link-interwiki z błędami wywołania:{{{2}}}|action=watch}} watch] | logs)
- gadżet wzbogacający ten szablon – gadżet wyświetla interaktywną listę wersji językowych artykułu (z linkami) po najechaniu na ikonkę Wikidanych. Pobiera dane na bieżąco z Wikidanych zamiast ograniczać się do jednej wersji. (domyślnie włączony)
- Pomoc:Interwiki