Template:曲目单元:修订间差异

删除538字节 、​ 2020年8月4日 (星期二)
无编辑摘要
(撤销Star0讨论)的版本12100)
标签撤销
无编辑摘要
 
(未显示2个用户的20个中间版本)
第1行: 第1行:
<noinclude> 这个模板的使用方式为:<br>
<noinclude>{{documentation}}</noinclude><includeonly>
<nowiki>曲目单元|曲名|难度(ftr不填)|定数(仅11+)</nowiki>
{|style="float:left; text-align:center;word-warp:break-word;" width="100px"
</noinclude>
 
<includeonly>{|style="float:left; text-align:center;word-warp:break-word;"" width="100px"
|-
|-
[[文件:Songs {{ 曲目封面图片名称获取|{{{1}}} }}{{#switch: 1
[[文件:Songs {{{2}}}{{#switch: {{{3}}}
| {{#ifeq: {{{2}}}|PST|1|0}} = _pst
| FTR =  
| {{#ifeq: {{{2}}}|PRS|1|0}} = _prs
| BYD = _byd
| {{#ifeq: {{{2}}}|FTR|1|0}} =  
}}{{#if: {{{文件类型|}}}
| {{#ifeq: {{{2}}}|BYD|1|0}} = _byd
|.{{{文件类型|}}}
| {{#if: {{{2}}}|0|1}} }}{{#switch: 1
|{{#ifeq: {{PAGEID:文件:Songs {{{2}}}.jpg}} |0||.jpg}}
| {{#if: {{{文件类型|}}}|1|0}} =.{{{文件类型|}}}
{{#ifeq: {{PAGEID:文件:Songs {{{2}}}.png}} |0||.png}}
| {{#ifeq: {{PAGEID:文件:Songs {{曲目封面图片名称获取|{{{1}}} }}.jpg}} |0|0|1}} =.jpg
{{#ifeq: {{PAGEID:文件:Songs {{{2}}}.jpeg}} |0||.jpeg}}
| {{#ifeq: {{PAGEID:文件:Songs {{ 曲目封面图片名称获取|{{{1}}} }}.png}} |0|0|1}} =.png
| {{#ifeq: {{PAGEID:文件:Songs {{曲目封面图片名称获取|{{{1}}} }}.jpeg}} |0|0|1}} =.jpeg
}}|110px|无框|居中|link={{{1}}}]]
}}|110px|无框|居中|link={{{1}}}]]
{{#ifeq:{{{3|}}}|无 文件 名||{{!}}-
{{#ifeq:{{{ 模式|}}}|无 名||{{!}}-
{{!}} style="height: 45px;"{{!}} [[{{{1}}}]]}}
{{!}} style="height: 45px;"{{!}} [[{{{1}}}]]}}
|-
|-
|{{#switch: 1
|{{#switch: {{{3}}}
| {{#ifeq:{{{2|}}}|PST|1|0}} = <span style="color:#0A82BE">'''PST'''</span>
  | PST = <span style="color:#0A82BE">'''PST'''</span>
| {{#ifeq:{{{2|}}}|PRS|1|0}} = <span style="color:#648C3C">'''PRS'''</span>
  | PRS = <span style="color:#648C3C">'''PRS'''</span>
| {{#ifeq:{{{2|}}}|FTR|1|0}} = <span style="color:#501948">'''FTR'''</span>
  | FTR = <span style="color:#501948">'''FTR'''</span>
| {{#ifeq:{{{2|}}}|BYD|1|0}} = <span style="color:#822328">'''BYD'''</span>
  | BYD = <span style="color:#822328">'''BYD'''</span>
| {{#if:{{{2|}}}|0|1}} = <span style="color:#501948">'''FTR'''</span>
}} {{{定数|}}}
}} {{#if: {{{定数|}}} | {{{定数}}} | }}
|}</includeonly><noinclude>[[分类:嵌入模板]]</noinclude>
|}</includeonly>
1,602

个编辑