틀:값

Terraria Wiki
이동: 둘러보기, 검색

이 틀은 아이템의 가격을 표시하기 위한 틀입니다.


사용법

{{값
| 백금
| 금
| 은
| 동
| [[링크 = {{예/'''아니오'''}}]]
| [[내용 = {{예/'''아니오'''}}]]
}}
{{값|백금|금|은|동|선택항목1|선택항목2}}

참고

  • Values of "0", "" or null are not displayed.
  • The values can also be a range.
  • The template is inside a nowrap.
This Gives
{{값|1}} 1 백금화.gif
{{값|0|1}} 1 금화.gif
{{값|0|0|1|}} 1 은화.gif
{{값|0|0|0|1}} 1 동화.gif
{{값|1|2|0|4}} 1 백금화.gif 2 금화.gif 4 동화.gif

Inside a sentence:

Further Options

There are two optional option fields:

  • "link" specifies wether you want to link to the icon page. "yes" means there are links. "no" means there are no links. Anything else, or blank, will use the template's current default of "no"
    • It is recommended to use links for the first use of the template in a page, but not afterwards.
  • "text" option allows specifying wether the values are icons, or raw text. "yes" means text will be used. "no" means icons will be used. Anything else, or blank, will use the template's current default of "no" (use icons).
This Gives
{{값|0|1|1|링크=예}} 1 금화.gif 1 은화.gif
{{값|0|1|1|내용=예}} 1 금 1 은
{{값|0|1|1|링크=예|내용=예}} 1  1