「Template:曲目索引」:修訂間差異

出自Arcaea中文维基
無編輯摘要
(添加 textcolor 参数)
 
(未顯示由 3 位使用者於中間所作的 8 次修訂)
第1行: 第1行:
{{Navbox
{{Navbox
| state    = autocollapse
| state    = {{{state|{{{1|autocollapse}}}}}}
| name    = 曲目索引
| name    = {{{name| 曲目索引}}}
| title    = {{{曲包|}}}
| title    = {{{曲包|}}}
| imageleft  = {{{曲包封面|}}}
| imageleft  = {{{曲包封面|}}}
| image  = {{{第二曲包封面|}}}
| above    = 
| above    = 
| abovestyle = 
| abovestyle = 
| groupstyle = background:{{{color|}}}; 
| groupstyle = background:{{{color|}}};color:{{{textcolor|}}};
| titlestyle = background:{{{color|}}}; 
{{#if:{{{group4|}}}|height:36px|
  {{#if:{{{group3|}}}|height:48px|
   {{#if:{{{group2|}}}|height:72px
   }}
  }}
}}
| titlestyle = background:{{{color|}}};color:{{{textcolor|}}};
| listclass  = hlist
| listclass  = hlist
| group1   = {{{group1|}}}
| group1   = {{{group1|}}}
第18行: 第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中文維基中該模板的模板文檔,如果存在對應的同版本模板的話。