Difference between revisions of "Template:ITunes/doc"
Jump to navigation
Jump to search
imported>Knife-in-the-drawer (Added two categories) |
imported>Zyxw (add templates, update link) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- Categories | + | <!-- Categories go at the bottom of this page. --> |
| − | + | {{lowercase title}} | |
| + | This template displays a link to an [[iTunes|iTunes Preview]] page. | ||
| − | + | == Usage == | |
The template accepts two parameters, but only the first is required. | The template accepts two parameters, but only the first is required. | ||
* <code>1</code> should be all of the content after the "itunes.apple.com/" in a URL to an iTunes Preview page. | * <code>1</code> should be all of the content after the "itunes.apple.com/" in a URL to an iTunes Preview page. | ||
| − | * <code>2</code> is optional and is the title of the work. If not provided, it defaults to {{tl| | + | * <code>2</code> is optional and is the title of the work. If not provided, it defaults to {{tl|PAGENAMEBASE}}. |
;Example | ;Example | ||
| Line 12: | Line 13: | ||
{{itunes|nz/album/sky-single/id573078473|Test track}} | {{itunes|nz/album/sky-single/id573078473|Test track}} | ||
| − | + | == See also == | |
| − | *{{tl| | + | *{{tl|iTunes Preview App}} |
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
| − | <!-- categories | + | <!-- categories --> |
[[Category:Catalog lookup templates]] | [[Category:Catalog lookup templates]] | ||
[[Category:Music external link templates]] | [[Category:Music external link templates]] | ||
| − | + | }}</includeonly> | |
| − | |||
| − | |||
| − | |||
| − | </includeonly> | ||
Revision as of 13:18, 17 March 2019
| This is a documentation subpage for Template:ITunes. It contains usage information, categories and other content that is not part of the original template page. |
This template displays a link to an iTunes Preview page.
Usage
The template accepts two parameters, but only the first is required.
1should be all of the content after the "itunes.apple.com/" in a URL to an iTunes Preview page.2is optional and is the title of the work. If not provided, it defaults to {{PAGENAMEBASE}}.
- Example
{{itunes|nz/album/sky-single/id573078473|Test track}} produces:
Test track on iTunes
See also