메뉴 여닫기
환경 설정 메뉴 여닫기
개인 메뉴 여닫기
로그인하지 않음
지금 편집한다면 당신의 IP 주소가 공개될 수 있습니다.

틀:ElementEfficacyBar: 두 판 사이의 차이

kiseki
잔글 판 1개를 가져왔습니다
Sync template from Fandom (current code; pending manual translation)
 
1번째 줄: 1번째 줄:
{{#switch:{{{3|Crossbell}}}
{{#switch:{{{3|Crossbell}}}
|Sora={{PercentBar|{{#expr:trunc({{{1|100}}} / 25)}}|on={{{2|Earth}}}|off=Off|game=Sora|max=8|w=24px}}
|Sora={{PercentBar|{{#expr:trunc({{{1|100}}} / 25)}}|on={{{2|Earth}}}|off=Off|game=Sora|max=8|w=24px}}
|Crossbell={{ContinuousPercentBar|{{#expr:{{{1|100}}} round 0}}|color={{Choose7Elements|{{{2|Earth}}}|#f5c69d|#9daef4|#f59d9d|#a4f59d|#cbcbca|#f9f4d8|#d9edf8}}
|bg=#969796
|grad=yes
|color_grad_top={{Choose7Elements|{{{2|Earth}}}|#c49e7c|#828cb7|#c4807c|#87bf7c|#a5a19b|#c7bea4|#afb9ba}}
|color_grad_btm={{Choose7Elements|{{{2|Earth}}}|#ffd5a6|#aab9ff|#ffa8a6|#b1ffa6|#dedad7|#ffffe7|#edfeff}}
|bg_grad_top=#52514e
|bg_grad_btm=#969796
|w=200}}
|Sen={{ContinuousPercentBar|{{#expr:{{{1|100}}} / 2 round 0}}|color={{Choose7Elements|{{{2|Earth}}}|#e69c63|#859dc5|#c7848e|#9ac686|#a5aab0|#e6e0a6|#e6e6e6}}
|Sen={{ContinuousPercentBar|{{#expr:{{{1|100}}} / 2 round 0}}|color={{Choose7Elements|{{{2|Earth}}}|#e69c63|#859dc5|#c7848e|#9ac686|#a5aab0|#e6e0a6|#e6e6e6}}
|bg=#444444
|bg=#444444
8번째 줄: 16번째 줄:
|bg_grad_top=#3d3d3d
|bg_grad_top=#3d3d3d
|bg_grad_btm=#525252}}
|bg_grad_btm=#525252}}
|Crossbell={{ContinuousPercentBar|{{#expr:{{{1|100}}} round 0}}|color={{Choose7Elements|{{{2|Earth}}}|#f5c69d|#9daef4|#f59d9d|#a4f59d|#cbcbca|#f9f4d8|#d9edf8}}
|Sen III={{ContinuousPercentBar|{{#expr:{{{1|100}}} / 2 round 0}}|color={{Choose7Elements|{{{2|Earth}}}|#986736|#2898d1|#e27360|#7da657|#898989|#c2af66|#cccccc}}
|bg=#969796
|bg=#444444
|grad=yes
|color_grad_top={{Choose7Elements|{{{2|Earth}}}|#80562d|#1d6f99|#b35b4c|#608043|#666666|#998a50|#b3b3b3}}
|color_grad_btm={{Choose7Elements|{{{2|Earth}}}|#cc8a48|#2ca7e6|#f27b67|#9acc6b|#a6a6a6|#e6cf79|#e6e6e6}}
|bg_grad_top=#3d3d3d
|bg_grad_btm=#525252}}
|Kuro={{ContinuousPercentBar|{{#expr:{{{1|100}}} / 2 round 0}}|color={{Choose7Elements|{{{2|Earth}}}|#d69a5d|#398dcc|#bf4a48|#12b37a|#775f94|#999a6c|#bf9fb7}}
|bg=#444444
|grad=yes
|grad=yes
|color_grad_top={{Choose7Elements|{{{2|Earth}}}|#c49e7c|#828cb7|#c4807c|#87bf7c|#a5a19b|#c7bea4|#afb9ba}}
|color_grad_top={{Choose7Elements|{{{2|Earth}}}|#b3804e|#327cb4|#a5403e|#0f9767|#675280|#999a6c|#a68a9f}}
|color_grad_btm={{Choose7Elements|{{{2|Earth}}}|#ffd5a6|#aab9ff|#ffa8a6|#b1ffa6|#dedad7|#ffffe7|#edfeff}}
|color_grad_btm={{Choose7Elements|{{{2|Earth}}}|#e6a564|#409ee6|#d95451|#14cc8b|#9073b3|#cbcc8f|#e6bfdc}}
|bg_grad_top=#52514e
|bg_grad_top=#3d3d3d
|bg_grad_btm=#969796
|bg_grad_btm=#525252}}
|w=200}}
|Akatsuki={{ContinuousPercentBar|{{#expr:{{{1|100}}} / 2 round 0}}|color={{Choose7Elements|{{{2|Earth}}}|#f7aa39|#3982ef|#ef3839|#63fb5a|#424142|#efe444|#bdc3bd}}
|Akatsuki={{ContinuousPercentBar|{{#expr:{{{1|100}}} / 2 round 0}}|color={{Choose7Elements|{{{2|Earth}}}|#f7aa39|#3982ef|#ef3839|#63fb5a|#424142|#efe444|#bdc3bd}}
|bg=#080e17
|bg=#080e17

2026년 7월 2일 (목) 19:07 기준 최신판

Template documentation (for the above template, sometimes partially or fully invisible)[view] [edit] [history] [refresh]
This template makes use of one or more other templates to function.
Depends on: {{Choose7Elements}}, {{ContinuousPercentBar}}, {{PercentBar}}, and {{Percent}}

This template shows an Elemental Efficacy amount styled for the given game and element.

Syntax

{{ElementEfficacyBar|Value|Element|Game}}

Parameters

  • Value: The value (between 0 and 200) to show.
  • Element: The element to color the bar for. One of Earth, Water, Fire, Wind, Time, Space, Mirage.
  • Game: The game to style the bar for.

Examples

For most games, the colors and gradients are chosen by this template and {{Choose7Elements}}, and a call to {{ContinuousPercentBar}} is made. For Trails in the Sky games, this template chooses the {{Percent}} icons and creates a call to {{PercentBar}} instead.

Element↓ Game→ Value "Sora" "Crossbell"
"Earth" 25
"Water" 45
"Fire" 65
"Wind" 85
"Time" 105
"Space" 125
"Mirage" 145
Element↓ Game→ Value "Sen" "Akatsuki"
"Earth" 25
"Water" 45
"Fire" 65
"Wind" 85
"Time" 105
"Space" 125
"Mirage" 145
Element↓ Game→ Value "Kuro" "Kuro"
"Earth" 25
"Water" 45
"Fire" 65
"Wind" 85
"Time" 105
"Space" 125
"Mirage" 145
The above text is transcluded from 틀:ElementEfficacyBar/doc; you can change it or view its history. (How does this work?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to 틀:ElementEfficacyBar/doc. (View all subpages of this page.)