Difference between revisions of "Template:AppleMusic/doc"
(Created page with "This template is used to embed a demo player from Apple Music. It currently supports parameters in links starting with <code><nowiki>https://music.apple.com/</nowiki></code>....") |
(Changed playlist) |
||
Line 19: | Line 19: | ||
'''Song''' | '''Song''' | ||
− | <code><nowiki>{{AppleMusic|id= | + | <code><nowiki>{{AppleMusic|id=1561524454|song=1561524761}}</nowiki></code> |
− | {{AppleMusic|id= | + | {{AppleMusic|id=1561524454|song=1561524761}} |
'''Album''' | '''Album''' | ||
− | <code><nowiki>{{AppleMusic|id= | + | <code><nowiki>{{AppleMusic|id=1561524454}}</nowiki></code> |
{{AppleMusic|id=1506704333}} | {{AppleMusic|id=1506704333}} |
Revision as of 23:49, 9 November 2023
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=1561524454|song=1561524761}}
Album
{{AppleMusic|id=1561524454}}
Related templates
- {{Spotify}}