ແມ່ແບບ:Wikidata sitelink/doc
| ນີ້ແມ່ນໜ້າຍ່ອຍເອກະສານກຳກັບຂອງ ແມ່ແບບ:Wikidata sitelink ໃຊ້ໃນການຂຽນຄຳອະທິບາຍວິທີການໃຊ້ງານ ຈັດໝວດ ແລະ ເນື້ອຫາອື່ນໆ ທີ່ບໍ່ໄດ້ເປັນສ່ວນໜຶ່ງຂອງໜ້າແມ່ແບບຕົ້ນສະບັບ |
Usage
[ດັດແກ້]| ແມ່ແບບນີ້ໃຊ້ລູອາ |
This template gets the specified interlanguage link for the current article from Wikidata. If not found or a Wikidata item for the article does not exist, it will return an empty string. Use the |lang= parameter to specify an ISO 639-1 language code, and optionally, the |project= parameter if you want to get the link for a project other than Wikipedia. Note that the template will only return the page name, it does not automatically create a link.
Examples
[ດັດແກ້]- {{Wikidata sitelink|lang=de}}
- {{Wikidata sitelink|lang=de|project=wikiquote}}
TemplateData
[ດັດແກ້]This template gets the specified interlanguage link for the current article from Wikidata. If not found or a Wikidata item for the article does not exist, it will return an empty string.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| lang | lang | ISO 639-1 language code specifying the language you want to get the sitelink for.
| String | required |
| project | project | The project to get the sitelink for, if not Wikipedia.
| String | optional |