Template:Work interlanguage links/doc
This is a documentation subpage for Template:Work interlanguage links. It contains usage information, categories and other content that is not part of the original template page. |
Uses Lua: |
This template displays interlanguage links on works’ pages. It can handle the Wikisource-specific system of sitelinks spread across many Wikidata items according to work editions: it reads sitelinks from the current page’s item, its work item (specified using property P629 “edition or translation of”) and its all editions (specified using P747 “has edition or translation”). If it detects a conflict (more than one page is found on a particular monolingual Wikisource), it adds no interlanguage link for that language instead of picking an arbitrary one (but still adds interlanguage links for other languages).
Parameter | Description | Type | Status | |
---|---|---|---|---|
entity ID | entityId 1 | ID of the Wikidata item to use as the “current page”. Should not be used on actual work pages, only for testing. | Line | optional |