This template takes a Wikidata entity number as an unnamed parameter and provides a link to the corresponding article on the Simple English Wikipedia, or its Wi
| This template uses Lua: |
This template takes a Wikidata entity number as an unnamed parameter and provides a link to the corresponding article on the Simple English Wikipedia, or its Wikidata entity depending on whether the article exists or not.
If the corresponding article exists then a direct link to the article is given (piped to the label on Wikidata).
{{Wikidata fallback link|Q2076202}} → York
If the corresponding article does not exist on the Simple English Wikipedia, then a red link is displayed, followed by a link to its item on Wikidata.
{{Wikidata fallback link|Q1897508}} → Opius danielssoni
{{Wikidata fallback link|Q31692001}} → Phu Khong
To suppress the link to Wikidata use |wd=off, e.g.
{{Wikidata fallback link|Q31692001|wd=off}} → Phu Khong
If the corresponding article does not exist on the Simple English Wikipedia but there is a different article at the item's label, then to avoid confusion, the label is not linked.
{{Wikidata fallback link|Q2542189}} → Ali
{{Wikidata fallback link|Q18977043}} → Bult
Per WP:SELFRED, if the corresponding article exists but is a redirect to the current page, the label is not linked when the |r=1 parameter is supplied. If the |r=1 parameter is not supplied, the self-redirect is linked as usual.
Example: See Template:Wikidata fallback link/testcases#Article exists but is a redirect to the current page
If there is no English label defined on Wikidata, then just a link to the Wikidata item is displayed. To fix this, please add a label to the Wikidata item.
{{Wikidata fallback link|Q2212427}} →
{{Wikidata fallback link|Q59208468}} →
The OOjs UI pen icon can be used instead of the [Wikidata] link.
{{Wikidata fallback link|Q2076202|wd=icon}} → Opius danielssoni Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.