"틀:Tprice"의 두 판 사이의 차이

Stardew Valley Wiki
둘러보기로 가기 검색하러 가기
(add data-sort-value)
1번째 줄: 1번째 줄:
 
<includeonly>{{#if:{{{1|}}}
 
<includeonly>{{#if:{{{1|}}}
| [[File:Gold.png|18px|link=]]{{formatnum:
+
|<span style="display: none;">data-sort-value="{{{1|}}}"</span>[[File:Gold.png|18px|link=]]{{formatnum:
 
   {{#ifeq:{{{1|}}}|furniture
 
   {{#ifeq:{{{1|}}}|furniture
 
     | 250–2500
 
     | 250–2500
     |<span style="display: none;">data-sort-value="{{{1|}}}"</span>{{#expr:
+
     |{{#expr:
 
           {{#ifexpr:100>{{{1|}}}*3
 
           {{#ifexpr:100>{{{1|}}}*3
 
           | 100
 
           | 100

2023년 5월 21일 (일) 20:15 판

이 틀 대한 자세한 내용은 영어 설명서 페이지를 참조하십시오.

용도

이 틀은 관련된 페이지에 다음과 같이 입력하여 사용할 수 있습니다:

{{Tprice}}

결과...
tprice 는 여행 카트에서 판매하는 품목의 가격을 계산하기 위해 사용됩니다.

예시

{{tprice|40}}

data-sort-value="40"Gold.png120–1,000골드

{{tprice|furniture}}

data-sort-value="furniture"Gold.png250–2,500골드