Help:Inserting music
Inserting audio into Moegirlpedia is easy.
If you think there is a problem with these plug-ins, please report it in the discussion board.
Contents
Apple Music
Insert syntax
{{AppleMusic|id=|song=|area=}}
Parameter explanation
- Required parameters
- id: album number (required)
- The pure number can be obtained through the last number
/*******
(pure number, if there is a question mark, it is before the question mark, otherwise it is at the end) in the address bar of the Apple Music album page.
- The pure number can be obtained through the last number
- Optional parameters
- song: song number
- The pure number can be obtained through the last
?i=*******
(pure number, located ?i=after) in the address bar of the Apple Music song page.
- If song specifies a pure number, it will try to embed only a single track in the album specified by id.
- The pure number can be obtained through the last
- area: area code
- Pure letters can be obtained through the first directory level after the domain name in the address bar of the Apple Music song page
/**/
(pure letters, located music.apple.comafter). The default is cn.
- Pure letters can be obtained through the first directory level after the domain name in the address bar of the Apple Music song page
- title: title
- The title can be filled with any content. It is recommended to fill in the album name, etc., which will be displayed when the mouse hovers the external link.
- float: floating type
- It can be specified. If it is
left
, it will float to the left. If it isright
, it will float to the right. If it is other values or it is empty, it will not float.
- It can be specified. If it is
Spotify
Insert syntax
{{Spotify|id=}}
Parameter explanation
- Required parameters
- id [required]
- Paste the page address directly:
https://open.spotify.com/album/********
.
- Paste the page address directly:
- width: player width
-
- Specifies the width, ranging from 250~640px.
- type
- Only
large
orcompact
can be entered. When set tolarge
, the height is width + 80px. When set tocompact
, the height is fixed to 80px. The default is large.
- Only
- title: title
- You can fill in any content. It is recommended to fill in the album name, etc., which will be displayed when the mouse is hovering over the Spotify icon.
- float: float style
- Specifies the floating style. If it is
left
, it will float to the left. If it isright
, it will float to the right. If it is other values or it is empty, it will not float.
- Specifies the floating style. If it is