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

(update template to use module)
 
(사용자 2명의 중간 판 8개는 보이지 않습니다)
1번째 줄: 1번째 줄:
 
<includeonly>{{#if:{{{1|}}}
 
<includeonly>{{#if:{{{1|}}}
| [[File:Gold.png|18px|alt=Coin Icon|link=]]{{formatnum:
+
|<span style="display: none;">data-sort-value="{{{1|}}}"</span><!--
  {{#ifeq:{{{1|}}}|furniture
+
-->{{#invoke:Tcartprice|tprice
    | 250〜2500
+
|price = {{{1|}}}
    | {{#ifeq:{{{math|true}}}|false
+
|separator = –
      | {{{1|}}}
+
|gold = 골드
      | {{#expr:
+
|spacearoundseparator = false
          {{#ifexpr:100>{{{1|}}}*3
+
}}
          | 100
+
|}}</includeonly><noinclude>{{Englishdoc}}<br />tprice 는 여행 카트에서 판매하는 품목의 가격을 계산하기 위해 사용됩니다.
          | {{{1|}}}*3
+
 
          }}
+
==예시==
        }}~{{#expr:
+
 
          {{#ifexpr:1000>{{{1|}}}*5
+
<pre>{{tprice|40}}</pre>
          | 1000
+
 
          | {{{1|}}}*5
+
{{tprice|40}}
          }}
+
 
        }}
+
<pre>{{tprice|furniture}}</pre>
      }}
+
 
    }}
+
{{tprice|furniture}}
  }}골드
+
</noinclude>
}}</includeonly><noinclude>{{Englishdoc}}</noinclude>
 

2023년 6월 18일 (일) 18:08 기준 최신판

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

용도

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

{{Tprice}}

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

예시

{{tprice|40}}

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

{{tprice|furniture}}

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