Template:AppleMusic/doc
This template is used to embed a demo player from Apple Music.
It currently supports parameters in links starting with https://music.apple.com/
.
Parameter description
- id (anonymous parameter) [Required]
- Purely digital. Available via the
/*******
at the end of the Apple Music album page address bar (Purely digital. Before the question mark, if there is one, or else at the end) - song
- Purely digital. Available at the
?i=*******
at the end of the Apple Music album page address bar (Purely digital. Located after the?i=
). - title
- Title can be filled with any content, suggest album name, etc; will be displayed when the mouse hovers over the external link.
- float
- The float type can be specified. If
left
, it will float left, ifright
, it will float right. If it is empty, or if it is filled with any other value, it will not float.
- area
- The region parameter. It is recommended to be filled in with
jp
,us
,cn
,hk
, ortw
. Music from other regions may not be embedded properly when the playlist is embedded in the article, and external links may not redirect correctly.
Examples
Song
{{AppleMusic|id=1506704333|song=1506704336}}
Album
{{AppleMusic|id=1506704333}}
Related templates
- {{Spotify}}