တမ်းပလိတ်:URL
This template can be used to create a formatted external link. It formats the appearance of displayed URLs, while making them machine-readable as part of emitted microformat meta-data, inside templates such as infoboxes. Note: If you wish to display text instead of the URL (e.g. website instead of example.com), please do not use this template. Instead, consider using normal wiki markup or Template:Official website. Displaying text instead of the url will render the microformat data invalid. For web-based references, please see Wikipedia:Citation templates. Usage
URL with = character should use numbered parametersIf the URL contains an equals sign, as is common in a query string, the parameter {{URL}}
{{URL/sandbox}}
The template attempts to handle simple cases where a URL containing an equals sign is specified without the necessary The deprecated second parameter for the displayed text, if present in legacy uses, must also be explicitly numbered if the first parameter is explicitly numbered ( {{URL}}
{{URL/sandbox}}
ExamplesThe template displays an instructional message if there is no input: {{URL}}
{{URL/sandbox}}
The template wraps the output in {{URL}}
{{URL/sandbox}}
The use of http://, https://, a protocol-relative URL, or a different protocol is preserved in the URL but is not shown in the link text: {{URL}}
{{URL/sandbox}}
{{URL}}
{{URL/sandbox}}
{{URL}}
{{URL/sandbox}}
{{URL}}
{{URL/sandbox}}
{{URL}}
{{URL/sandbox}}
{{URL}}
{{URL/sandbox}}
If the path is only a slash ( {{URL}}
{{URL/sandbox}}
The template also adds <wbr/> before any displayed slashes ( {{URL}}
{{URL/sandbox}}
{{URL}}
{{URL/sandbox}}
{{URL}}
{{URL/sandbox}}
{{URL}}
{{URL/sandbox}}
Upper case in the domain name is preserved in the URL, but not in the link text (upper case in the path is not changed): {{URL}}
{{URL/sandbox}}
{{URL}}
{{URL/sandbox}}
{{URL}}
{{URL/sandbox}}
For a URL containing an equal sign ( {{URL}}
{{URL/sandbox}}
{{URL}}
{{URL/sandbox}}
The template currently supports an optional second parameter which is used as the link text, though its use is discouraged (see note): {{URL}}
{{URL/sandbox}}
{{URL}}
{{URL/sandbox}}
{{URL}}
{{URL/sandbox}}
The URL may be obtained from Wikidata as shown in this example for Audi (Q23317), where the property တမ်းပလိတ်:Prop contains https://www.audi.com: {{URL}}
{{URL/sandbox}}
MicroformatThe template wraps the displayed URL with a TemplateDataအောက်ပါအချက်အလက်များမှာ အင်္ဂလိပ်ဝီကီပီးဒီးယားရှိ ရုပ်မြင်တည်းဖြတ်သူ (VisualEditor) ကဲ့သို့သော ကိရိယာများကို မြန်မာဝီကီပီးဒီးယားတွင် အသုံးပြုလာနိုင်သည့် အနာဂတ်ကို ရည်ရွယ်၍ အင်္ဂလိပ်ဝီကီပီးဒီးယားရှိ တမ်းပလိတ်အချက်အလက်များ (TemplateData) စီမံကိန်းပုံစံရည်ရွယ်၍ မှတ်တမ်းမှတ်ရာ ပြုလုပ်ထားခြင်း ဖြစ်သည်။ ၎င်းကိရိယာများကို အသုံးမပြုသေးသည့်တိုင် ကွန်ပျူတာပရိုဂရမ်ရေးခြင်း (computer programming) နှင့် ပတ်သက်၍ အနည်းငယ်မျှသာ နားလည်သူများပင် ရှင်းရှင်းလင်းလင်းမြင်စေရန် အကျဉ်းချုပ်သဘော အသုံးပြုနိုင်သည်။
URL A template to display and format a URL, inside other tempates
Maintenance categoriesSee also
|
Portal di Ensiklopedia Dunia