Bản mẫu:Trang web chính thức/doc
|
Đây là một trang con tài liệu sử dụng bản mẫu dành cho Bản mẫu:Trang web chính thức (xem bản mẫu tại trang đó). |
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[sửa]
Unnamed parameters:
{{Trang web chính thức | URL }}
{{Trang web chính thức | URL | NAME }}
Named parameters:
{{Trang web chính thức | url = URL }}
{{Trang web chính thức | url = URL | name = NAME }}
{{Trang web chính thức}}
{{Trang web chính thức | name = NAME }}
Examples[sửa]
One parameter[sửa]
Usage:
* {{Trang web chính thức | http://www.tompetty.com/ }}
* {{Trang web chính thức | url = http://www.tompetty.com/ }}
Output:
Two parameters[sửa]
Usage:
* {{Trang web chính thức | http://www.tompetty.com/ | Tom Petty's official website }}
* {{Trang web chính thức | url = http://www.tompetty.com/ | name = Tom Petty's official website }}
Output:
No URL in template or Wikidata[sửa]
Usage:
* {{Trang web chính thức}}
Output:
- Bản mẫu {{Website chính thức}} thiếu URL và không có trong Wikidata.