「Template:曲目索引」:修訂間差異
(添加显示在右侧的第二曲包封面) |
(添加 textcolor 参数) |
||
第7行: | 第7行: | ||
| above = | | above = | ||
| abovestyle = | | abovestyle = | ||
| groupstyle = background:{{{color|}}}; | | groupstyle = background:{{{color|}}};color:{{{textcolor|}}}; | ||
{{#if:{{{group4|}}}|height:36px| | {{#if:{{{group4|}}}|height:36px| | ||
{{#if:{{{group3|}}}|height:48px| | {{#if:{{{group3|}}}|height:48px| | ||
第14行: | 第14行: | ||
}} | }} | ||
}} | }} | ||
| titlestyle = background:{{{color|}}}; | | titlestyle = background:{{{color|}}};color:{{{textcolor|}}}; | ||
| listclass = hlist | | listclass = hlist | ||
| group1 = {{{group1|}}} | | group1 = {{{group1|}}} | ||
第25行: | 第25行: | ||
| list4 = {{{list4|}}} | | list4 = {{{list4|}}} | ||
| below = {{{below|}}} | | below = {{{below|}}} | ||
| belowstyle = background:{{{color|}}}; | | belowstyle = background:{{{color|}}};color:{{{textcolor|}}}; | ||
}}<noinclude>{{doc}}[[分类:工具模板]]</noinclude> | }}<noinclude>{{doc}}[[分类:工具模板]]</noinclude> |
於 2023年11月29日 (三) 12:41 的修訂
用法
{{曲目索引 |曲包=曲包名 |曲包封面=[[File:example.jpg|75px]] |color=group、title和below的背景色代码 |textcolor=group、title和below的文本颜色代码 |group1= |list1= |group2= |list2= |group3= |list3= |group4= |list4= |below= }}
注意事項
注意在導航模板的列表項目中使用{{·}}
。(包括空格)
事實上,可以通過換行列表(如下)的方式來進行編寫。
* [[Lumia]] * [[memoryfactory.lzh]]
如果對應曲包有兩個封面,請使用第二曲包封面
參數。
效果
|
上述文檔嵌入自Template:曲目索引/doc。(編輯 | 歷史)
您還可以檢視Rotaeno中文維基中該模板的模板文檔,如果存在對應的同版本模板的話。