「Template:难度标识」:修訂間差異

出自Arcaea中文维基
(添加分类)
無編輯摘要
第1行: 第1行:
<noinclude>{{documentation}}[[分类:工具模板]]</noinclude><includeonly>
<noinclude>{{documentation}}[[分类:工具模板]]</noinclude><includeonly><span style="{{{style|}}} color:
{{#switch: {{uc:{{{1}}}}}
{{#switch: {{uc:{{{1}}}}}
   | FTR = <span style="color:#501948">'''Future'''
   | FTR = #501948">'''Future'''
   | BYD = <span style="color:#822328">'''Beyond'''
   | BYD = #822328">'''Beyond'''
   | FUTURE = <span style="color:#501948">'''Future'''
   | FUTURE = #501948">'''Future'''
   | BEYOND = <span style="color:#822328">'''Beyond'''
   | BEYOND = #822328">'''Beyond'''
   | PRS = <span style="color:#648C3C">'''Present'''
   | PRS = #648C3C">'''Present'''
   | PST = <span style="color:#0A82BE">'''Past'''
   | PST = #0A82BE">'''Past'''
   | PRESENT = <span style="color:#648C3C">'''Present'''
   | PRESENT = #648C3C">'''Present'''
   | PAST = <span style="color:#0A82BE">'''Past'''
   | PAST = #0A82BE">'''Past'''
}} {{#if:{{{2|}}}|'''{{{2}}}'''|}}</span>
}} {{#if:{{{2|}}}|'''{{{2}}}'''|}}</span>
<includeonly>
<includeonly>

於 2020年10月13日 (二) 10:40 的修訂

模板文檔[查看] [編輯] [歷史] [清除緩存]

該模板用於在單曲攻略等需要標註曲目難度和等級的場合使用,輸出帶有難度對應顏色的難度和等級。

參數 說明 填寫內容 必填/選填
1 難度 PST/PRS/FTR/BYD/ETR/Past/Present/Future/Beyond/Eternal 必填
2 等級 數字標級 選填

以下為使用例。

模板的下一行應該是攻略正文,不需要額外空行。

代碼 實際效果
{{难度标识|BYD|11}} Beyond 11
{{难度标识|ETR|10}} <span style=" color:
10
{{难度标识|FTR|6}} Future 6
{{难度标识|Present|9}} Present 9
{{难度标识|PST|1}} Past 1
{{难度标识|Beyond|}} Beyond
{{难度标识|FTR|?}} Future ?

上述文檔嵌入自Template:難度標識/doc(編輯 | 歷史)
您還可以檢視Rotaeno中文維基中該模板的模板文檔,如果存在對應的同版本模板的話。