Difference between revisions of "Template:ITunes"

From blackwiki
Jump to navigation Jump to search
imported>JJMC89
(switch type)
imported>Plastikspork
(TFD closed as no consensus (XFDcloser))
 
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}}|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]]

Latest revision as of 00:02, 9 May 2019

{{{2}}} on iTunes

Template documentation[view] [edit] [history] [purge]

This template displays a link to an iTunes page.

Usage

{{iTunes | ID }}
{{iTunes | ID | TITLE }}

Parameters

The template accepts two parameters, but only the first is required.

  1. ID should be all of the content after the "itunes.apple.com/" in a URL to an iTunes page.
  2. 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}}
  • {{iTunes}} template missing required parameter.

See also