Template:Work interlanguage links

From Wikisource
Jump to navigation Jump to search
Template documentation

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).

[Edit template data]

Template parameters

This template has custom formatting.

entity IDentityId 1

ID of the Wikidata item to use as the “current page”. Should not be used on actual work pages, only for testing.