Difference between revisions of "Template:ITunes/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
m (Zyxw moved page Template:Itunes/doc to Template:ITunes/doc: match name of source iTunes and formatting of other iTunes template)
imported>Zyxw
(update examples)
Line 10: Line 10:
  
 
;Example
 
;Example
{{code|<nowiki>{{itunes|nz/album/sky-single/id573078473|Test track}}</nowiki>}} produces:
+
{{code|<nowiki>{{iTunes|nz/album/sky-single/id573078473|Test track}}</nowiki>}} produces:
{{itunes|nz/album/sky-single/id573078473|Test track}}
+
{{iTunes|nz/album/sky-single/id573078473|Test track}}
  
 
== See also ==
 
== See also ==

Revision as of 13:22, 17 March 2019

This template displays a link to an iTunes Preview page.

Usage

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

  • 1 should be all of the content after the "itunes.apple.com/" in a URL to an iTunes Preview page.
  • 2 is 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