사용자
o00o/연습장3(비교)
| r80 vs r81 | ||
|---|---|---|
| 1 | [[분류:Slay the Spire 2]][[분류:양식상자 틀/게임]] | |
| 1 | 2 | ## a_i{?} = 효과의 {?}번째 & or *의 위치 |
| 2 | 3 | {{{#!if (a_c1=효과.indexOf("&",0)), (a_s1=효과.indexOf("*",0)), (a_c1 = (a_c1 == -1 ? 999 : a_c1)), (a_s1 = (a_s1 == -1 ? 999 : a_s1)), (a_i1 = (a_s1 < a_c1 ? a_s1 : a_c1)) |
| 3 | 4 | }}}{{{#!if (a_c2=효과.indexOf("&",a_i1+1)), (a_s2=효과.indexOf("*",a_i1+1)), (a_c2 = (a_c2 == -1 ? 999 : a_c2)), (a_s2 = (a_s2 == -1 ? 999 : a_s2)), (a_i2 = (a_s2 < a_c2 ? a_s2 : a_c2)) |
| ... | ... | |
| 45 | 46 | ## img_display = 표에서 이미지 표시 여부 |
| 46 | 47 | }}}{{{#!if (종류=="아이언클래드" && (type_clr="#831001", cost_file="sts2_ironclad_cost"))||(종류=="사일런트" && (type_clr="#179b05"))||(종류=="디펙트" && (type_clr="#0398e2"))||(종류=="네크로바인더" && (type_clr="#8f425e", cost_file="sts2_necrobinder_cost"))||(종류=="리젠트" && (type_clr="#ac5b00"))||(종류=="무색" && (type_clr="#808080"))||(!type_clr && (type_clr="#000000"), !cost_file && (cost_file="sts2_ironclad_cost")) |
| 47 | 48 | }}}{{{#!if (star_display = (!별 ? "none" : "display")), (img_display = (!사진 ? "none" : "display")) |
| 49 | ## 테이블 내의 클래스 스타일 | |
| 48 | 50 | }}}{{{#!style |
| 49 | 51 | table.sts-table { background: transparent; border: 2px solid @type_clr@;} |
| 50 | 52 | .sts-title, .sts-index, .sts-star-index { background: @type_clr@4D; } |
| ... | ... | |
| 54 | 56 | .sts-img { display: @img_display@;} |
| 55 | 57 | .sts-cost-container { display:inline-flex; height: 1.2em; vertical-align: sub;} |
| 56 | 58 | }}} |
| 59 | ## 표 시작 | |
| 60 | ## 행: 사진 / 이름 | |
| 57 | 61 | ||<|4><tableclass=sts-table><class=sts-img><nopad><width=250> [[파일:@사진@|width=100%]] ||<-5><class=sts-title><height=50> '''{{{+1 @이름=?@}}}'''[br]{{{#!if 영어이름 |
| 58 | 62 | {{{#!wiki style="font-size: 0.8em;" |
| 59 | 63 | (@영어이름@) |
| 60 | 64 | }}}}}} || |
| 65 | ## 행: 비용 / 별 | |
| 61 | 66 | ||<width=70><class=sts-index><height=40> '''비용'''{{{#!wiki class="sts-cost-container" |
| 62 | ||
| 63 | ||
| 67 | [[파일:@[email protected]|height=100%]]}}} || @비용=?@ ||<width=50><class=sts-star-index> '''별'''{{{#!wiki class="sts-cost-container" | |
| 68 | [[파일:sts2_regent_star.webp|height=100%]]}}} ||<class=sts-star-value> @별@ || | |
| 69 | ## 행: 효과 | |
| 70 | ## a_r0 + (a_i1에 따라 비용 or 별) + a_r1 + (a_i2에 따라 비용 or 별) + ... + a_r9 | |
| 64 | 71 | ||<class=sts-index> '''효과''' ||<-3><class=sts-full-content> {{{#!html <span>@a_r0@</span> |
| 65 | 72 | }}}{{{#!if 효과.substring(a_i1, a_i1+1) == "&" |
| 66 | 73 | {{{#!wiki class="sts-cost-container" |
| 67 | ||
| 74 | [[파일:@[email protected]|height=100%]] | |
| 68 | 75 | }}}}}}{{{#!if 효과.substring(a_i1, a_i1+1) == "*" |
| 69 | 76 | {{{#!wiki class="sts-cost-container" |
| 70 | ||
| 77 | [[파일:sts2_regent_star.webp|height=100%]] | |
| 71 | 78 | }}}}}}{{{#!html <span>@a_r1@</span> |
| 72 | 79 | }}}{{{#!if 효과.substring(a_i2, a_i2+1) == "&" |
| 73 | 80 | {{{#!wiki class="sts-cost-container" |
| 74 | ||
| 81 | [[파일:@[email protected]|height=100%]] | |
| 75 | 82 | }}}}}}{{{#!if 효과.substring(a_i2, a_i2+1) == "*" |
| 76 | 83 | {{{#!wiki class="sts-cost-container" |
| 77 | ||
| 84 | [[파일:sts2_regent_star.webp|height=100%]] | |
| 78 | 85 | }}}}}}{{{#!html <span>@a_r2@</span> |
| 79 | 86 | }}}{{{#!if 효과.substring(a_i3, a_i3+1) == "&" |
| 80 | 87 | {{{#!wiki class="sts-cost-container" |
| 81 | ||
| 88 | [[파일:@[email protected]|height=100%]] | |
| 82 | 89 | }}}}}}{{{#!if 효과.substring(a_i3, a_i3+1) == "*" |
| 83 | 90 | {{{#!wiki class="sts-cost-container" |
| 84 | ||
| 91 | [[파일:sts2_regent_star.webp|height=100%]] | |
| 85 | 92 | }}}}}}{{{#!html <span>@a_r3@</span> |
| 86 | 93 | }}}{{{#!if 효과.substring(a_i4, a_i4+1) == "&" |
| 87 | 94 | {{{#!wiki class="sts-cost-container" |
| 88 | ||
| 95 | [[파일:@[email protected]|height=100%]] | |
| 89 | 96 | }}}}}}{{{#!if 효과.substring(a_i4, a_i4+1) == "*" |
| 90 | 97 | {{{#!wiki class="sts-cost-container" |
| 91 | ||
| 98 | [[파일:sts2_regent_star.webp|height=100%]] | |
| 92 | 99 | }}}}}}{{{#!html <span>@a_r4@</span> |
| 93 | 100 | }}}{{{#!if 효과.substring(a_i5, a_i5+1) == "&" |
| 94 | 101 | {{{#!wiki class="sts-cost-container" |
| 95 | ||
| 102 | [[파일:@[email protected]|height=100%]] | |
| 96 | 103 | }}}}}}{{{#!if 효과.substring(a_i5, a_i5+1) == "*" |
| 97 | 104 | {{{#!wiki class="sts-cost-container" |
| 98 | ||
| 105 | [[파일:sts2_regent_star.webp|height=100%]] | |
| 99 | 106 | }}}}}}{{{#!html <span>@a_r5@</span> |
| 100 | 107 | }}}{{{#!if 효과.substring(a_i6, a_i6+1) == "&" |
| 101 | 108 | {{{#!wiki class="sts-cost-container" |
| 102 | ||
| 109 | [[파일:@[email protected]|height=100%]] | |
| 103 | 110 | }}}}}}{{{#!if 효과.substring(a_i6, a_i6+1) == "*" |
| 104 | 111 | {{{#!wiki class="sts-cost-container" |
| 105 | ||
| 112 | [[파일:sts2_regent_star.webp|height=100%]] | |
| 106 | 113 | }}}}}}{{{#!html <span>@a_r6@</span> |
| 107 | 114 | }}}{{{#!if 효과.substring(a_i7, a_i7+1) == "&" |
| 108 | 115 | {{{#!wiki class="sts-cost-container" |
| 109 | ||
| 116 | [[파일:@[email protected]|height=100%]] | |
| 110 | 117 | }}}}}}{{{#!if 효과.substring(a_i7, a_i7+1) == "*" |
| 111 | 118 | {{{#!wiki class="sts-cost-container" |
| 112 | ||
| 119 | [[파일:sts2_regent_star.webp|height=100%]] | |
| 113 | 120 | }}}}}}{{{#!html <span>@a_r7@</span> |
| 114 | 121 | }}}{{{#!if 효과.substring(a_i8, a_i8+1) == "&" |
| 115 | 122 | {{{#!wiki class="sts-cost-container" |
| 116 | ||
| 123 | [[파일:@[email protected]|height=100%]] | |
| 117 | 124 | }}}}}}{{{#!if 효과.substring(a_i8, a_i8+1) == "*" |
| 118 | 125 | {{{#!wiki class="sts-cost-container" |
| 119 | ||
| 126 | [[파일:sts2_regent_star.webp|height=100%]] | |
| 120 | 127 | }}}}}}{{{#!html <span>@a_r8@</span> |
| 121 | 128 | }}}{{{#!if 효과.substring(a_i9, a_i9+1) == "&" |
| 122 | 129 | {{{#!wiki class="sts-cost-container" |
| 123 | ||
| 130 | [[파일:@[email protected]|height=100%]] | |
| 124 | 131 | }}}}}}{{{#!if 효과.substring(a_i9, a_i9+1) == "*" |
| 125 | 132 | {{{#!wiki class="sts-cost-container" |
| 126 | ||
| 133 | [[파일:sts2_regent_star.webp|height=100%]] | |
| 127 | 134 | }}}}}}{{{#!html <span>@a_r9@</span> |
| 128 | 135 | }}} || |
| 136 | ## 행: 강화 | |
| 129 | 137 | ||<class=sts-index><height=60> '''강화''' ||<-3><class=sts-full-content> {{{#!html <span>@b_r0@</span> |
| 130 | 138 | }}}{{{#!if 강화.substring(b_i1, b_i1+1) == "&" |
| 131 | 139 | {{{#!wiki class="sts-cost-container" |
| 132 | ||
| 140 | [[파일:@[email protected]|height=100%]] | |
| 133 | 141 | }}}}}}{{{#!if 강화.substring(b_i1, b_i1+1) == "*" |
| 134 | 142 | {{{#!wiki class="sts-cost-container" |
| 135 | ||
| 143 | [[파일:sts2_regent_star.webp|height=100%]] | |
| 136 | 144 | }}}}}}{{{#!html <span>@b_r1@</span> |
| 137 | 145 | }}}{{{#!if 강화.substring(b_i2, b_i2+1) == "&" |
| 138 | 146 | {{{#!wiki class="sts-cost-container" |
| 139 | ||
| 147 | [[파일:@[email protected]|height=100%]] | |
| 140 | 148 | }}}}}}{{{#!if 강화.substring(b_i2, b_i2+1) == "*" |
| 141 | 149 | {{{#!wiki class="sts-cost-container" |
| 142 | ||
| 150 | [[파일:sts2_regent_star.webp|height=100%]] | |
| 143 | 151 | }}}}}}{{{#!html <span>@b_r2@</span> |
| 144 | 152 | }}}{{{#!if 강화.substring(b_i3, b_i3+1) == "&" |
| 145 | 153 | {{{#!wiki class="sts-cost-container" |
| 146 | ||
| 154 | [[파일:@[email protected]|height=100%]] | |
| 147 | 155 | }}}}}}{{{#!if 강화.substring(b_i3, b_i3+1) == "*" |
| 148 | 156 | {{{#!wiki class="sts-cost-container" |
| 149 | ||
| 157 | [[파일:sts2_regent_star.webp|height=100%]] | |
| 150 | 158 | }}}}}}{{{#!html <span>@b_r3@</span> |
| 151 | 159 | }}}{{{#!if 강화.substring(b_i4, b_i4+1) == "&" |
| 152 | 160 | {{{#!wiki class="sts-cost-container" |
| 153 | ||
| 161 | [[파일:@[email protected]|height=100%]] | |
| 154 | 162 | }}}}}}{{{#!if 강화.substring(b_i4, b_i4+1) == "*" |
| 155 | 163 | {{{#!wiki class="sts-cost-container" |
| 156 | ||
| 164 | [[파일:sts2_regent_star.webp|height=100%]] | |
| 157 | 165 | }}}}}}{{{#!html <span>@b_r4@</span> |
| 158 | 166 | }}}{{{#!if 강화.substring(b_i5, b_i5+1) == "&" |
| 159 | 167 | {{{#!wiki class="sts-cost-container" |
| 160 | ||
| 168 | [[파일:@[email protected]|height=100%]] | |
| 161 | 169 | }}}}}}{{{#!if 강화.substring(b_i5, b_i5+1) == "*" |
| 162 | 170 | {{{#!wiki class="sts-cost-container" |
| 163 | ||
| 171 | [[파일:sts2_regent_star.webp|height=100%]] | |
| 164 | 172 | }}}}}}{{{#!html <span>@b_r5@</span> |
| 165 | 173 | }}}{{{#!if 강화.substring(b_i6, b_i6+1) == "&" |
| 166 | 174 | {{{#!wiki class="sts-cost-container" |
| 167 | ||
| 175 | [[파일:@[email protected]|height=100%]] | |
| 168 | 176 | }}}}}}{{{#!if 강화.substring(b_i6, b_i6+1) == "*" |
| 169 | 177 | {{{#!wiki class="sts-cost-container" |
| 170 | ||
| 178 | [[파일:sts2_regent_star.webp|height=100%]] | |
| 171 | 179 | }}}}}}{{{#!html <span>@b_r6@</span> |
| 172 | 180 | }}}{{{#!if 강화.substring(b_i7, b_i7+1) == "&" |
| 173 | 181 | {{{#!wiki class="sts-cost-container" |
| 174 | ||
| 182 | [[파일:@[email protected]|height=100%]] | |
| 175 | 183 | }}}}}}{{{#!if 강화.substring(b_i7, b_i7+1) == "*" |
| 176 | 184 | {{{#!wiki class="sts-cost-container" |
| 177 | ||
| 185 | [[파일:sts2_regent_star.webp|height=100%]] | |
| 178 | 186 | }}}}}}{{{#!html <span>@b_r7@</span> |
| 179 | 187 | }}}{{{#!if 강화.substring(b_i8, b_i8+1) == "&" |
| 180 | 188 | {{{#!wiki class="sts-cost-container" |
| 181 | ||
| 189 | [[파일:@[email protected]|height=100%]] | |
| 182 | 190 | }}}}}}{{{#!if 강화.substring(b_i8, b_i8+1) == "*" |
| 183 | 191 | {{{#!wiki class="sts-cost-container" |
| 184 | ||
| 192 | [[파일:sts2_regent_star.webp|height=100%]] | |
| 185 | 193 | }}}}}}{{{#!html <span>@b_r8@</span> |
| 186 | 194 | }}}{{{#!if 강화.substring(b_i9, b_i9+1) == "&" |
| 187 | 195 | {{{#!wiki class="sts-cost-container" |
| 188 | ||
| 196 | [[파일:@[email protected]|height=100%]] | |
| 189 | 197 | }}}}}}{{{#!if 강화.substring(b_i9, b_i9+1) == "*" |
| 190 | 198 | {{{#!wiki class="sts-cost-container" |
| 191 | ||
| 199 | [[파일:sts2_regent_star.webp|height=100%]] | |
| 192 | 200 | }}}}}}{{{#!html <span>@b_r9@</span> |
| 193 | 201 | }}} || |
| 202 | [include(틀:Slay the Spire 2/카드/설명 문서)] |