Difference between revisions of "Template:ITunes/doc"
Jump to navigation
Jump to search
imported>Filmman3000 (→Parameters: I works for artists too) |
imported>Filmman3000 m (It works for artist as well I meant in previous edit) |
||
Line 11: | Line 11: | ||
The template accepts two parameters, but only the first is required. | The template accepts two parameters, but only the first is required. | ||
# <var>ID</var> should be all of the content after the "itunes.apple.com/" in a URL to an iTunes page. | # <var>ID</var> should be all of the content after the "itunes.apple.com/" in a URL to an iTunes page. | ||
− | # <var>TITLE</var> is optional and is the title of the work, the name of the artist or musical ensemble. If not provided, it defaults to {{tl|PAGENAMEBASE}}. | + | # <var>TITLE</var> is optional and is the title of the work, the name of the artist, or musical ensemble. If not provided, it defaults to {{tl|PAGENAMEBASE}}. |
== Examples == | == Examples == |
Latest revision as of 19:50, 8 August 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 page.
Contents
Usage
{{iTunes | ID }}
{{iTunes | ID | TITLE }}
Parameters
The template accepts two parameters, but only the first is required.
- ID should be all of the content after the "itunes.apple.com/" in a URL to an iTunes page.
- TITLE is optional and is the title of the work, the name of the artist, or musical ensemble. If not provided, it defaults to {{PAGENAMEBASE}}.
Examples
- One parameter
* {{iTunes | nz/album/sky-single/id573078473 }}
- Two parameters
* {{iTunes | nz/album/sky-single/id573078473 | Test track }}
- Test track on iTunes
- No parameters
* {{iTunes}}
- {{iTunes}} template missing required parameter.
See also