Difference between revisions of "Template:ITunes"
Jump to navigation
Jump to search
imported>JJMC89 (Updating TFD template: discussion was relisted (XFDcloser)) |
imported>JJMC89 (switch type) |
||
| Line 1: | Line 1: | ||
| − | {{Template for discussion/dated|action=|page=ITunes|link=Wikipedia:Templates for discussion/Log/2019 April 28#Template:ITunes|help=off|bigbox={{#invoke:Noinclude|noinclude|text=yes}}}} | + | {{Template for discussion/dated|action=|page=ITunes|link=Wikipedia:Templates for discussion/Log/2019 April 28#Template:ITunes|help=off|bigbox={{#invoke:Noinclude|noinclude|text=yes}}|type=tiny}}{{#if: {{{1<includeonly>|</includeonly>}}} |
| − | {{#if: {{{1<includeonly>|</includeonly>}}} | ||
| [//itunes.apple.com/{{#if:1| {{{1}}} }} {{#if: {{{2<includeonly>|</includeonly>}}} | {{{2}}} | {{PAGENAMEBASE}} }}] on [[iTunes]] | | [//itunes.apple.com/{{#if:1| {{{1}}} }} {{#if: {{{2<includeonly>|</includeonly>}}} | {{{2}}} | {{PAGENAMEBASE}} }}] on [[iTunes]] | ||
Revision as of 22:07, 28 April 2019
Template:Template for discussion/dated{{{2}}} on iTunes
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 }}
- No parameters
* {{iTunes}}- Template:Template for discussion/dated{{iTunes}} template missing required parameter.
See also
| The above documentation is transcluded from Template:ITunes/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |