Template:Sitelink/doc
Appearance
This is a documentation subpage for Template:Sitelink. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
{{Sitelink}}
will retrieve the foreign language article title (sitelink) given the Wikidata Qid or local article title. If none is supplied, it uses the current page's Qid.
Usage
{{Sitelink=|lang=|title=|linked=}}
{{Sitelink=|lang=|qid=|linked=}}
{{Sitelink=|lang=}}
{{Sitelink=|1|qid=|linked=}}
Examples
{{Sitelink|es|qid=Q43287}}
→ Imperio alemán{{Sitelink|es|qid=Q43287|linked=y}}
→ Imperio alemán{{Sitelink|qid=Q43287}}
→ German Empire{{Sitelink|hr|title=German Empire}}
→ Njemačko Carstvo{{Sitelink|hr|title=German Empire|linked=y}}
→ Njemačko Carstvo