跳转到内容
打开/关闭菜单
  • 451 条目
  • 806 文件
  • 22 用户
  • 9167 编辑
Blockland Wiki
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:Infobox Songs:修订间差异

来自Blockland Wiki
ETTW​(留言 | 贡献)
创建页面,内容为“<infobox> <title source="title"> <default>{{PAGENAME}}</default> </title> <header>封面</header> <image source="image"/> <header>歌曲文件</header> <data source="song_file"> <label>歌曲文件</label> </data> <header>基本信息</header> <data source="artist"> <label>艺术家</label> </data> <data source="song_name"> <label>歌曲名称</label> </data> <data source="relea…”
 
ETTW​(留言 | 贡献)
无编辑摘要
 
(未显示同一用户的4个中间版本)
第1行: 第1行:
<infobox>
<includeonly>
    <title source="title">
{{Infobox
        <default>{{PAGENAME}}</default>
| name = {{{song_name|{{PAGENAME}}}}}
    </title>
| bodyclass = ve-infobox-song
    <header>封面</header>
| above = <span style="display:inline-block; line-height:1.2; font-size:120%; font-weight:bold;">
    <image source="image"/>
{{{song_name|{{PAGENAME}}}}}
    <header>歌曲文件</header>
{{#if:{{{artist|}}}|<br><span style="font-size:small; font-weight:normal;">{{{artist}}}</span>}}
    <data source="song_file">
</span>
        <label>歌曲文件</label>
| abovestyle = background-color: #f4c430; color: black; text-align: center;
    </data>
 
    <header>基本信息</header>
<!-- 封面图片 -->
    <data source="artist">
| image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|250px]]}}
        <label>艺术家</label>
| caption1 = 封面
    </data>
 
    <data source="song_name">
<!-- 歌曲文件(音频播放器或下载链接) -->
        <label>歌曲名称</label>
| header2 = 歌曲文件
    </data>
| data2 = {{{song_file|}}}
    <data source="release_date">
| headerstyle2 = background-color:#f0f0f0; text-align:center;
        <label>发行日期</label>
 
    </data>
<!-- 基本信息 -->
    <data source="genre">
| header3 = 基本信息
        <label>音乐类型</label>
| headerstyle3 = background-color:#f0f0f0; text-align:center;
    </data>
 
    <data source="length">
| label4 = 艺术家
        <label>时长</label>
| data4 = {{{artist|}}}
    </data>
 
    <data source="label">
| label5 = 歌曲名称
        <label>厂牌</label>
| data5 = {{{song_name|}}}
    </data>
 
    <header>排行榜成绩</header>
| label6 = 发行日期
    <data source="chart_positions">
| data6 = {{{release_date|}}}
        <label>排行榜位置</label>
 
    </data>
| label7 = 音乐类型
    <data source="certifications">
| data7 = {{{genre|}}}
        <label>认证</label>
 
    </data>
| label8 = 时长
    <header>其他信息</header>
| data8 = {{{length|}}}
    <data source="remarks">
 
        <label>备注</label>
| label9 = 厂牌
    </data>
| data9 = {{{label|}}}
</infobox>
 
<comments></comments>
<!-- 排行榜成绩 -->
| header10 = 排行榜成绩
| headerstyle10 = background-color:#f0f0f0; text-align:center;
 
| label11 = 排行榜位置
| data11 = {{{chart_positions|}}}
 
| label12 = 认证
| data12 = {{{certifications|}}}
 
<!-- 其他信息 -->
| header13 = 其他信息
| headerstyle13 = background-color:#f0f0f0; text-align:center;
 
| data14 = {{{remarks|}}}
 
}}
</includeonly>
<noinclude>
<noinclude>
<templatedata>
{{Documentation}}
{
"description": "用于展示单首歌曲信息的 infobox 模板。",
"params": {
"title": {
"label": "标题",
"description": "歌曲名称",
"type": "content",
"default": "{{PAGENAME}}",
"required": false
},
"image": {
"label": "封面图",
"description": "歌曲的封面图像",
"type": "wiki-file-name",
"required": false
},
"song_file": {
"label": "歌曲文件",
"description": "歌曲的音频文件或下载链接",
"type": "url",
"required": false
},
"artist": {
"label": "艺术家",
"description": "演唱该歌曲的艺术家或乐队",
"type": "string",
"required": true
},
"song_name": {
"label": "歌曲名称",
"description": "歌曲的正式名称",
"type": "string",
"required": true
},
"release_date": {
"label": "发行日期",
"description": "歌曲的发行日期",
"type": "string",
"required": false
},
"genre": {
"label": "音乐类型",
"description": "歌曲的音乐类型(如:流行、摇滚等)",
"type": "string",
"required": false
},
"length": {
"label": "时长",
"description": "歌曲的时长",
"type": "string",
"required": false
},
"label": {
"label": "厂牌",
"description": "歌曲所属的厂牌",
"type": "string",
"required": false
},
"chart_positions": {
"label": "排行榜位置",
"description": "歌曲在各大排行榜的排名",
"type": "string",
"required": false
},
"certifications": {
"label": "认证",
"description": "歌曲获得的认证(如金唱片、白金唱片等)",
"type": "string",
"required": false
},
"remarks": {
"label": "备注",
"description": "其他相关信息",
"type": "string",
"required": false
}
}
}
</templatedata>
</noinclude>
</noinclude>
[[分类:单曲]]
[[分类:歌曲]]

2026年6月3日 (三) 18:31的最新版本