Templat:Tv.com episode/doc: Perbedaan antara revisi
Tampilan
Konten dihapus Konten ditambahkan
Tiktomoro memindahkan halaman Templat:Tv.com episode/doc ke Templat:Tv.com episodes/doc: Kesalahan memeberikan judul |
Tidak ada ringkasan suntingan |
||
Baris 1: | Baris 1: | ||
{{Documentation subpage}} |
|||
⚫ | |||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
|||
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' menampilkan sebuah tautan ke halaman [[TV.com]] untuk sebuah episode serial televisi. |
|||
== Pemakaian == |
|||
Satu parameter: |
|||
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | ''ID'' }}</code> |
|||
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= ''ID'' }}</code> |
|||
Dua parameter: |
|||
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | ''ID'' | ''TITLE'' }}</code> |
|||
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= ''ID'' | title= ''TITLE'' }}</code> |
|||
== Data templat == |
|||
{{TemplateDataHeader}} |
|||
<templatedata> |
|||
{ |
|||
"description": "This template displays an external link to a TV.com page for a television series episode.", |
|||
"params": { |
|||
"1": { |
|||
"label": "ID", |
|||
"aliases": [ "id" ], |
|||
"description": "ID string used in the URL.", |
|||
"type": "string", |
|||
"required": true |
|||
}, |
|||
"2": { |
|||
"label": "Title", |
|||
"aliases": [ "title" ], |
|||
"description": "Title displayed in the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation.", |
|||
"type": "string", |
|||
"required": false |
|||
} |
|||
} |
|||
} |
|||
</templatedata> |
|||
== Contoh == |
|||
Contoh-contoh berikut tautan ke halaman untuk ''[[Cheers]]'' episode "[[One for the Road (Cheers)|One for the Road]]": |
|||
: <code><nowiki>http://</nowiki>www.tv.com/shows/{{Highlight|cheers/one-for-the-road-14345}}/</code> |
|||
=== Satu parameter === |
|||
Pemakaian: |
|||
: <code>{{((}}{{BASEPAGENAME}} {{!}} cheers/one-for-the-road-14345 {{))}}</code> |
|||
: <code>{{((}}{{BASEPAGENAME}} {{!}} id= cheers/one-for-the-road-14345 {{))}}</code> |
|||
Hasil: |
|||
: {{{{BASEPAGENAME}} | cheers/one-for-the-road-14345 }} |
|||
: {{{{BASEPAGENAME}} | id= cheers/one-for-the-road-14345 }} |
|||
=== Dua parameter === |
|||
Pemakaian: |
|||
: <code>{{((}}{{BASEPAGENAME}} {{!}} cheers/one-for-the-road-14345 {{!}} One for the Road {{))}}</code> |
|||
: <code>{{((}}{{BASEPAGENAME}} {{!}} id= cheers/one-for-the-road-14345 {{!}} title= One for the Road {{))}}</code> |
|||
Hasil: |
|||
: {{{{BASEPAGENAME}} | cheers/one-for-the-road-14345 | One for the Road }} |
|||
: {{{{BASEPAGENAME}} | id= cheers/one-for-the-road-14345 | title= One for the Road }} |
|||
== Lihat juga == |
|||
* {{tl|Tv.com show}} |
|||
* {{tl|Tv.com movie}} |
|||
* {{tl|Tv.com anthology}} |
|||
⚫ | |||
Hidden tracking categories: |
|||
* [[:Category:Tv.com template using numeric id]] |
|||
* [[:Category:Tv.com template with unexpected input]] |
|||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | |
|||
<!--Categories below this line, please; interwikis at Wikidata--> |
|||
[[Category:Television external link templates]] |
|||
}}</includeonly> |
Revisi terkini sejak 23 Februari 2016 07.27
Templat:Tv.com episode menampilkan sebuah tautan ke halaman TV.com untuk sebuah episode serial televisi.
Pemakaian
[sunting sumber]Satu parameter:
{{Tv.com episode | ID }}
{{Tv.com episode | id= ID }}
Dua parameter:
{{Tv.com episode | ID | TITLE }}
{{Tv.com episode | id= ID | title= TITLE }}
Data templat
[sunting sumber]Ini dokumennya TemplateData untuk template ini digunakan oleh VisualEditor dan alat lainnya; lihat laporan penggunaan parameter bulanan untuk templat ini.
TemplateData untuk Tv.com episode
This template displays an external link to a TV.com page for a television series episode.
Parameter | Keterangan | Jenis | Status | |
---|---|---|---|---|
ID | 1 id | ID string used in the URL. | Kata | wajib diisi |
Title | 2 title | Title displayed in the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation. | Kata | opsional |
Contoh
[sunting sumber]Contoh-contoh berikut tautan ke halaman untuk Cheers episode "One for the Road":
http://www.tv.com/shows/cheers/one-for-the-road-14345/
Satu parameter
[sunting sumber]Pemakaian:
{{Tv.com episode | cheers/one-for-the-road-14345 }}
{{Tv.com episode | id= cheers/one-for-the-road-14345 }}
Hasil:
Dua parameter
[sunting sumber]Pemakaian:
{{Tv.com episode | cheers/one-for-the-road-14345 | One for the Road }}
{{Tv.com episode | id= cheers/one-for-the-road-14345 | title= One for the Road }}
Hasil:
Lihat juga
[sunting sumber]- {{Tv.com show}}
- {{Tv.com movie}}
- {{Tv.com anthology}}
- {{Tv.com episodes}}
Hidden tracking categories: