ထႅမ်းပလဵတ်ႉ:Wikidata URL
Appearance
လွင်ႈၸႂ်ႉတိုဝ်း
[မႄးထတ်းငဝ်ႈငႃႇ]Converts URLs from Wikidata of the format http:// to http:// so that they can be used to generate external links.
{{Wikidata URL|1=URL}}
{{Wikidata URL|P=Wikidata ID or title of URL property|from=Wikidata ID of source entity}}
- Parameter
|1=
, URL, is optional. If included, the specified URL will be converted to http://, and all other parameters will be ignored. - Parameter
|P=
, if specified, is the ID or name of the property that contains the URL. If it is not specified, it defaults to (P856). - Parameter
|from=
, if specified, is the ID of the Wikidata entity to fetch the URL property from. If it is not specified, it defaults to the current page.
တူဝ်ယၢင်ႇ
[မႄးထတ်းငဝ်ႈငႃႇ]{{Wikidata URL|1={{#property:P1630|from=p830}}}}
→ https://eol.org/pages/$1
{{Wikidata URL|P=formatter URL|from=P830}}
→ Failed to render property formatter URL: formatter URL property not found.
{{Wikidata URL|P=P1630|from=P830}}
→ https://eol.org/pages/$1
{{Wikidata URL|from=Q328}}
→ https://en.wikipedia.org/
{{Wikidata URL}}
(when placed on https://en.wikipedia.org/wiki/English_Wikipedia) → https://en.wikipedia.org/
{{Wikidata URL|1={{#property:P1630|from=p830}}|P=P856|from=Q328}}
→ https://eol.org/pages/$1 (|P=
and |from=
are ignored)
တူၺ်းပႃး
[မႄးထတ်းငဝ်ႈငႃႇ]- {{wikidata}}. If
|from=
is set, then the output of this template is identical to{{wikidata|property|raw|fromEntity|P856}}
- {{Wikidata ID line}}
- {{Wikidata property link}}
- {{Wikidata entity link}}
- Meta:Wikidata/Notes/Inclusion syntax v0.4
ၽိုၼ်ၵႅမ်မိုဝ်းလၢႆးၸႂ်ႉတိုဝ်း (documentation)တီႈၽၢႆႇၼိူဝ်ၼႆႉ လုၵ်ႉတီႈ ထႅမ်းပလဵတ်ႉ:Wikidata URL/doc သေ ၶၢႆႉသႂ်ႇၶဝ်ႈ (ႁဵတ်း transclude ဝႆႉၶႃႈဢေႃႈ။ (မႄးထတ်း | ပိုၼ်း) ၽူႈၸိူဝ်းမႄးထတ်းၶဝ် ၸၢင်ႈၸၢမ်းတူၺ်းလႆႈ ၸိူဝ်းပဵၼ်ၼႃႈလိၵ်ႈ sandbox (သၢင်ႈ | ငဝ်းမိူၼ်) လႄႈ testcases (သၢင်ႈ) ႁင်း ထႅမ်းပလဵတ်ႉဢၼ်ၼႆႉ လႆႈယူႇၶႃႈ။ သႂ်ႇပိူင်ထၢၼ်ႈ ၵႃႈတီႈ ၼႃႈလိၵ်ႈၽႄ /doc လႄႈ။ ၼႃႈလိၵ်ႈၽႄ ႁင်း ထႅမ်းပလဵတ်ႉ ဢၼ်ၼႆႉ။. |