တမ်းပလိတ်:Official website

ဝီကီပီးဒီးယား မှ

တရားဝင် ဝက်ဘ်ဆိုဒ်

Documentation icon တမ်းပလိတ်မှတ်တမ်းလက်စွဲ[ကြည့်ရှု] [တည်းဖြတ်] [ရာဇဝင်] [ရှင်းသန့်]

The purpose of this template is to provide a standard format for labeling links to the official website of an article's main topic.

Usage[ပြင်ဆင်ရန်]

Basic usage[ပြင်ဆင်ရန်]

This template can be used without specifying any parameters, if the "official website" Property (P856) is set in the respective article's Wikidata record. Just add {{official website}} to the article's External links section. If on Wikidata more than one official website is given, the entry tagged with the language being English is automatically preferred.

Advanced usage[ပြင်ဆင်ရန်]

Four parameters are available:

Some URLs that contain special characters, such as & or =, will break the template. The solution is to prepend the URL with 1=

Examples[ပြင်ဆင်ရန်]

URL in template[ပြင်ဆင်ရန်]

To the right of each example is the displayed output. Below each example is the actual output including <span>...</span> tags.

{{Official website}}

တရားဝင် ဝက်ဘ်ဆိုဒ်

{{Official website/sandbox}}

Error: expandTemplate: template "Official website/sandbox" does not exist

{{Official website}}

တရားဝင် ဝက်ဘ်ဆိုဒ်

{{Official website/sandbox}}

Error: expandTemplate: template "Official website/sandbox" does not exist

{{Official website}}

တရားဝင် ဝက်ဘ်ဆိုဒ်

{{Official website/sandbox}}

Error: expandTemplate: template "Official website/sandbox" does not exist

{{Official website}}

တရားဝင် ဝက်ဘ်ဆိုဒ်

{{Official website/sandbox}}

Error: expandTemplate: template "Official website/sandbox" does not exist

{{Official website}}

တရားဝင် ဝက်ဘ်ဆိုဒ်

{{Official website/sandbox}}

Error: expandTemplate: template "Official website/sandbox" does not exist

{{Official website}}

တရားဝင် ဝက်ဘ်ဆိုဒ်

{{Official website/sandbox}}

Error: expandTemplate: template "Official website/sandbox" does not exist

{{Official website}}

တရားဝင် ဝက်ဘ်ဆိုဒ်

{{Official website/sandbox}}

Error: expandTemplate: template "Official website/sandbox" does not exist

{{Official website}}

တရားဝင် ဝက်ဘ်ဆိုဒ်

{{Official website/sandbox}}

Error: expandTemplate: template "Official website/sandbox" does not exist

{{Official website}}

တရားဝင် ဝက်ဘ်ဆိုဒ်

{{Official website/sandbox}}

Error: expandTemplate: template "Official website/sandbox" does not exist

URL in Wikidata[ပြင်ဆင်ရန်]

Usage in the article Amazon (company):

  • {{Official website}}တရားဝင် ဝက်ဘ်ဆိုဒ် Edit this at Wikidata
    <span class="official-website"><span class="url">[https://www.amazon.com Official website]</span></span> [[File:OOjs UI icon edit-ltr-progressive.svg |frameless |text-top |10px |alt=Edit this at Wikidata |link=https://www.wikidata.org/wiki/Q3884#P856|Edit this at Wikidata]]

Note: If Wikidata holds two or more values, in different languages, the website in English will be used.

No URL in template or Wikidata[ပြင်ဆင်ရန်]

Usage on any page without a URL in Wikidata property တရားဝင် ဝက်ဘ်ဆိုက် (P856):

{{Official website}}

တရားဝင် ဝက်ဘ်ဆိုဒ်

{{Official website/sandbox}}

Error: expandTemplate: template "Official website/sandbox" does not exist

TemplateData[ပြင်ဆင်ရန်]

အောက်ပါအချက်အလက်များမှာ အင်္ဂလိပ်ဝီကီပီးဒီးယားရှိ ရုပ်မြင်တည်းဖြတ်သူ (VisualEditor) ကဲ့သို့သော ကိရိယာများကို မြန်မာဝီကီပီးဒီးယားတွင် အသုံးပြုလာနိုင်သည့် အနာဂတ်ကို ရည်ရွယ်၍ အင်္ဂလိပ်ဝီကီပီးဒီးယားရှိ တမ်းပလိတ်အချက်အလက်များ (TemplateData) စီမံကိန်းပုံစံရည်ရွယ်၍ မှတ်တမ်းမှတ်ရာ ပြုလုပ်ထားခြင်း ဖြစ်သည်။ ၎င်းကိရိယာများကို အသုံးမပြုသေးသည့်တိုင် ကွန်ပျူတာပရိုဂရမ်ရေးခြင်း (computer programming) နှင့် ပတ်သက်၍ အနည်းငယ်မျှသာ နားလည်သူများပင် ရှင်းရှင်းလင်းလင်းမြင်စေရန် အကျဉ်းချုပ်သဘော အသုံးပြုနိုင်သည်။

Official website

The purpose of this template is to provide a standard format for labeling links to official websites.

တမ်းပလိတ် ပါရာမီတာများ[တမ်းပလိတ် ဒေတာကို တည်းဖြတ်ရန်]

ပါရာမီတာဖော်ပြချက်အမျိုးအစားအခြေအနေ
url1 url URL

The url that the template will link to. This is required unless the URL is available from Wikidata.

နဂိုအတိုင်း
Wikidata property P856
ဥပမာ
https://example.com
URLထည့်လိုပါက
Textname 2

The text the URL will display. This should usually be left to the default. However, this parameter may be provided when there is another webpage that could reasonably understood as the official website and needs to be distinguished from this link.

နဂိုအတိုင်း
Official website
ဥပမာ
Publisher's website
Stringထည့်လိုပါက
Mobile Websitemobile

If the website has a different 'official website' for mobile devices this website can be listed here

ဥပမာ
https://m.example.com
Stringထည့်လိုပါက
Requires Flashformat

If the website requires Adobe Flash Player software to be displayed, set this parameters value to 'flash'

ဥပမာ
flash
Stringထည့်လိုပါက

Tracking categories[ပြင်ဆင်ရန်]

One of the following categories may be added to articles using this template (via Module:Official website):

See also[ပြင်ဆင်ရန်]

  • {{Official URL}} – For inserting the official link itself as opposed to its name. Useful for Infoboxes.