틀:ItemTooltip
둘러보기로 이동
검색으로 이동
Documentation The documentation below is transcluded from 틀:ItemTooltip/doc. (edit | history)
[purge]
Get the tooltip of an item by its ID.
Usage
{{itemTooltip|<id>|right=<text>|lang=<lang>}}
- Unnamed Parameter 1
ID of the item.
- right (optional)
Replacement for "<right>" in the tooltip. Default is Right click
.
- lang (optional)
Language code. Default is {{lang}}
. Currently we have 9 languages (as in game): de/en/es/fr/it/pl/pt/ru/zh. All other lang codes will use en database.
Example
Code | Result | Note |
---|---|---|
{{itemTooltip|937}} |
틀:Red (expected: Explodes when stepped on) | |
{{itemTooltip|3006}} |
틀:Red (expected: Drains life from enemies ) | |
{{itemTooltip| 3006 }} |
틀:Red (expected: Drains life from enemies ) | |
{{itemTooltip|757}} |
Terra Blade has no tooltip. | |
{{itemTooltip|2999}} |
틀:Red (expected: Right click to have more minions) | There is a "<right>" in the raw tooltip. |
{{itemTooltip|2999|right={{key|open}}}} |
틀:Red (expected: 틀:Key to have more minions) | Use 틀:Key for "<right>". |
{{itemTooltip|2999|right= Right click }} |
틀:Red (expected: Right click to have more minions ) | |
{{itemTooltip|3006|lang=es}} |
package.lua 80번째 줄에서 Lua 오류: module 'Module:GameText/loaddata-es' not found. 틀:Red (expected: Absorbe vida de los enemigos ) | i18n support. |
분류:
- Pages using DynamicPageList3 dplvar parser function
- Pages using DynamicPageList3 parser function
- Pages using DynamicPageList3 dplreplace parser function
- 스크립트 오류가 있는 문서
- I18n-ready templates
- Templates with unit test failed
- Templates