模板:Official/doc

Chhiùng Wikipedia lòi

模板介紹[kói ngièn-sṳ́-mâ]

本模板用于在条目中添加官方网站的連結,它是规范的书写格式,请注意格式。

使用方法[kói ngièn-sṳ́-mâ]

代码 结果
{{Official website}} Official website (URL must be on Wikidata)
{{Official website|example.org}} 模板:Official website
{{Official website|www.example.org}} 模板:Official website
{{Official website|//www.example.org}} 模板:Official website
{{Official website|http://www.example.org/}} 模板:Official website
{{Official website|https://www.example.org/}} 模板:Official website
{{Official website|1=http://www.example.org/?action=view}} 模板:Official website
{{Official website|http://www.example.org|name=Example}} 模板:Official website
{{Official website|example.org|mobile=http://m.example.org}} 模板:Official website
{{Official website|mobile=http://m.example.org|URL=example.org}} 模板:Official website
{{Official website|example.org|format=flash}} 模板:Official website

模板數據[kói ngièn-sṳ́-mâ]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

TemplateData for Official

本模板用于在条目中添加官方网站的連結。

模板參數

參數描述類型狀態
網址1

需要連結的網址

字串必填
顯示文字name

連結要顯示的文字,若不指定將會顯示預設的「官方網站」

預設
官方網站
字串非必填
行動版網址mobile

如果該網站為了行動裝置設有不同的網址,請將之填入此處

字串非必填
需要Flashformat

如果該網站需要Adobe Flash Player才能顯示,請在本項參數填入「flash」

字串非必填

重定向[kói ngièn-sṳ́-mâ]

參見[kói ngièn-sṳ́-mâ]