ਸਮੱਗਰੀ 'ਤੇ ਜਾਓ

ਫਰਮਾ:Wikidata sitelink/doc

ਵਿਕੀਪੀਡੀਆ, ਇੱਕ ਆਜ਼ਾਦ ਵਿਸ਼ਵਕੋਸ਼ ਤੋਂ

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.

See also Template:Interwiki extra for automatically adding links to other languages from a Wikidata item.

Examples

[ਸੋਧੋ]

Note: On Template:Wikidata sitelink/doc, the result of these examples is empty, as the page is not connected to a Wikidata item. You can see nonempty results when the documentation is transcluded on Template:Wikidata sitelink.

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.

ਫਰਮੇ ਦੇ ਮਾਪਦੰਡ

This template prefers inline formatting of parameters.

ਮਾਪਦੰਡਵੇਰਵਾਕਿਸਮਦਰਜਾ
langlang

ISO 639-1 language code specifying the language you want to get the sitelink for.

ਮਿਸਾਲ
de
ਸਤਰਲੋੜੀਂਦਾ ਏ
projectproject

The project to get the sitelink for, if not Wikipedia.

ਮੂਲ ਰੂਪ
wiki
ਮਿਸਾਲ
wikiquote
ਸਤਰਚੋਣਵਾਂ