Difference between revisions of "Template:ITunes/doc"

From blackwiki
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 and interwikis go at the bottom of this page. -->
+
<!-- Categories go at the bottom of this page. -->
Provides a link to an [[iTunes|iTunes Preview]] page.
+
{{lowercase title}}
 +
This template displays a link to an [[iTunes|iTunes Preview]] page.
  
===Usage===
+
== 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|BASEPAGENAME}}.
+
* <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===
+
== See also ==
*{{tl|ITunes Preview App}}
+
*{{tl|iTunes Preview App}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
<!-- categories and interwiki links -->
+
<!-- categories -->
 
[[Category:Catalog lookup templates]]
 
[[Category:Catalog lookup templates]]
 
[[Category:Music external link templates]]
 
[[Category:Music external link templates]]
</includeonly>
+
}}</includeonly>
 
 
<includeonly>
 
[[sl:Template:Itunes]]
 
</includeonly>
 

Revision as of 13:18, 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