Warning: is_readable(): open_basedir restriction in effect. File(/gitinfo/info.json) is not within the allowed path(s): (/www/wwwroot/wiki.guguwo.top/:/tmp/) in /www/wwwroot/wiki.guguwo.top/includes/utils/GitInfo.php on line 177
模板:APlayer/doc:修订间差异 - 咕咕窝wiki

模板:APlayer/doc:修订间差异

来自咕咕窝wiki
(创建页面,内容为“你可以在这调用aplayer插入音频 {{APlayer | lrc = 3 // 歌词类型(可选) | audios = * https://example.com/song1.mp3 * https://example.com/song2.mp3 | titles = * 歌曲1 * 歌曲2 | artists = * 艺术家1 * 艺术家2 }}”)
 
无编辑摘要
 
(未显示同一用户的1个中间版本)
第1行: 第1行:
你可以在这调用aplayer插入音频
你可以使用这个模板调用aplayer向条目中插入音频
== 用法 ==
<pre>
{{APlayer
{{APlayer
  | lrc = 3  // 歌词类型(可选)
| 实例ID(必填)
  | audios =
| 曲目名称
  * https://example.com/song1.mp3
| 艺术家
  * https://example.com/song2.mp3
| 音频URL(必填)
  | titles =
| 封面URL
  * 歌曲1
| LRC歌词
  * 歌曲2
}}
  | artists =
</pre>
  * 艺术家1
=== 例子 ===
  * 艺术家2
<pre>
  }}
{{APlayer
|123
|"Summer Vibes"
|Kevin MacLeod
|https://example.com/audio.mp3
|https://example.com/cover.jpg
|[00:00.00]歌词示例
}}
</pre>

2025年3月16日 (日) 05:45的最新版本

你可以使用这个模板调用aplayer向条目中插入音频

用法[编辑源代码]

{{APlayer
| 实例ID(必填)
| 曲目名称
| 艺术家
| 音频URL(必填)
| 封面URL
| LRC歌词
}}

例子[编辑源代码]

{{APlayer
|123
|"Summer Vibes"
|Kevin MacLeod
|https://example.com/audio.mp3
|https://example.com/cover.jpg
|[00:00.00]歌词示例
}}