「Template:难度标识」:修訂間差異
無編輯摘要 |
小 (集中颜色) |
||
行 1: | 行 1: | ||
<noinclude>{{documentation}}[[分类:工具模板]]</noinclude><includeonly><span style="{{{style|}}} | <templatestyles src="模板:Difficulties.css" /><!-- | ||
--><noinclude>{{documentation}}[[分类:工具模板]]</noinclude><!-- | |||
--><includeonly><span style="{{{style|}}}" class=" | |||
{{#switch: {{uc:{{{1}}}}} | {{#switch: {{uc:{{{1}}}}} | ||
| FTR = | | FTR = text-ftr">'''Future''' | ||
| BYD = | | BYD = text-byd">'''Beyond''' | ||
| FUTURE = | | FUTURE = text-ftr">'''Future''' | ||
| BEYOND = | | BEYOND = text-byd">'''Beyond''' | ||
| PRS = | | PRS = text-prs">'''Present''' | ||
| PST = | | PST = text-pst">'''Past''' | ||
| PRESENT = | | PRESENT = text-prs">'''Present''' | ||
| PAST = | | PAST = text-pst">'''Past''' | ||
}} {{#if:{{{2|}}}|'''{{{2}}}'''|}}</span> | }} {{#if:{{{2|}}}|'''{{{2}}}'''|}}</span> | ||
<includeonly> | <includeonly> |
於 2024年2月29日 (四) 18:32 的修訂
該模板用於在單曲攻略等需要標註曲目難度和等級的場合使用,輸出帶有難度對應顏色的難度和等級。
參數 | 說明 | 填寫內容 | 必填/選填 |
---|---|---|---|
1 | 難度 | PST/PRS/FTR/BYD/ETR/Past/Present/Future/Beyond/Eternal | 必填 |
2 | 等級 | 數字標級 | 選填 |
以下為使用例。
模板的下一行應該是攻略正文,不需要額外空行。
代碼 | 實際效果 |
---|---|
{{难度标识|BYD|11}}
|
Beyond 11 |
{{难度标识|ETR|10}}
|
<span style="" class="
10 |
{{难度标识|FTR|6}}
|
Future 6 |
{{难度标识|Present|9}}
|
Present 9 |
{{难度标识|PST|1}}
|
Past 1 |
{{难度标识|Beyond|}}
|
Beyond |
{{难度标识|FTR|?}}
|
Future ? |
上述文檔嵌入自Template:難度標識/doc。(編輯 | 歷史)
您還可以檢視Rotaeno中文維基中該模板的模板文檔,如果存在對應的同版本模板的話。