Template:AppleMusic/doc

From Moegirlpedia
< Template:AppleMusic
Revision as of 23:38, 9 November 2023 by LiaMinina (talk | contribs) (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>....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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, if right, 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, or tw. 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