사용자:Beattube/variable: 두 판 사이의 차이
백괴게임>BANIP 잔글편집 요약 없음 |
백괴게임>BANIP 잔글편집 요약 없음 |
||
1번째 줄: | 1번째 줄: | ||
<!-- 점수 평균값 계산 -->{{#vardefine:평균|{{#expr:({{{6}}} + {{{7}}} + {{{8}}}) / 3}}}}{{#vardefine:평균2|{{{5}}}}}{{#vardefine:평균3|{{#expr:({{{5}}} + {{{6}}} + {{{7}}}) / 3}}}}{{#vardefine:평균4|{{#expr:({{{5}}} + {{{6}}} + {{{7}}} + {{{8}}} + {{{9}}}) / 5}}}}{{#vardefine:레벨|{{#expr: 100 - 0{{#sub:{{#var:평균}}|0|2}}}}}}<!-- | {{#switch:{{#var:현재값}}|1={{#vardefine:}} | ||
|2=<!-- 점수 평균값 계산 -->{{#vardefine:평균|{{#expr:({{{6}}} + {{{7}}} + {{{8}}}) / 3}}}}{{#vardefine:평균2|{{{5}}}}}{{#vardefine:평균3|{{#expr:({{{5}}} + {{{6}}} + {{{7}}}) / 3}}}}{{#vardefine:평균4|{{#expr:({{{5}}} + {{{6}}} + {{{7}}} + {{{8}}} + {{{9}}}) / 5}}}}{{#vardefine:레벨|{{#expr: 100 - 0{{#sub:{{#var:평균}}|0|2}}}}}}<!-- | |||
레벨과 속성에따른 색상값 출력 | 레벨과 속성에따른 색상값 출력 | ||
-->{{#vardefine:색상|{{#switch:{{{10}}}|乱打={{#ifexpr:{{#var:레벨}} >= 15|BDC3DE|{{#ifexpr:{{#var:레벨}} >= 10|CCD3ED|{{#ifexpr:{{#var:레벨}} >= 5|DEE4FF|EDF0FC}}}}}}|集合={{#ifexpr:{{#var:레벨}} >= 15|DEBDBD|{{#ifexpr:{{#var:레벨}} >= 10|EDCCCC|{{#ifexpr:{{#var:레벨}} >= 5|FFDEDE|FDEDED}}}}}}|#default=E5E5E5}}}}<!-- | -->{{#vardefine:색상|{{#switch:{{{10}}}|乱打={{#ifexpr:{{#var:레벨}} >= 15|BDC3DE|{{#ifexpr:{{#var:레벨}} >= 10|CCD3ED|{{#ifexpr:{{#var:레벨}} >= 5|DEE4FF|EDF0FC}}}}}}|集合={{#ifexpr:{{#var:레벨}} >= 15|DEBDBD|{{#ifexpr:{{#var:레벨}} >= 10|EDCCCC|{{#ifexpr:{{#var:레벨}} >= 5|FFDEDE|FDEDED}}}}}}|#default=E5E5E5}}}}<!-- | ||
31번째 줄: | 33번째 줄: | ||
| {{{4}}} | | {{{4}}} | ||
|{{#switch:{{CGI}}|0={{#expr:{{#var:평균}} round 3}}{{#ifeq:{{#len:{{#expr:{{#var:평균}} round 3}}}}|5|0|}}|1={{#expr:{{#var:평균2}} round 3}}{{#ifeq:{{#len:{{#expr:{{#var:평균2}} round 3}}}}|5|0|}}|2={{#expr:{{#var:평균3}} round 3}}{{#ifeq:{{#len:{{#expr:{{#var:평균3}} round 3}}}}|5|0|}}|3={{#expr:{{#var:평균4}} round 3}}{{#ifeq:{{#len:{{#expr:{{#var:평균4}} round 3}}}}|5|0|}}}}点 | |{{#switch:{{CGI}}|0={{#expr:{{#var:평균}} round 3}}{{#ifeq:{{#len:{{#expr:{{#var:평균}} round 3}}}}|5|0|}}|1={{#expr:{{#var:평균2}} round 3}}{{#ifeq:{{#len:{{#expr:{{#var:평균2}} round 3}}}}|5|0|}}|2={{#expr:{{#var:평균3}} round 3}}{{#ifeq:{{#len:{{#expr:{{#var:평균3}} round 3}}}}|5|0|}}|3={{#expr:{{#var:평균4}} round 3}}{{#ifeq:{{#len:{{#expr:{{#var:평균4}} round 3}}}}|5|0|}}}}点 | ||
|{{#ifeq:{{#var:갱신일}}|更新日|情報なし|{{#var:갱신일}}}} | |{{#ifeq:{{#var:갱신일}}|更新日|情報なし|{{#var:갱신일}}}}}} |