Latest Neocron News and Information
- New test server patch #564 has been released to Vedeena
Difference between revisions of "Legacy THNapi:ItemDB Icon"
From Neocron Wiki
(New release of THN API) |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | == Icon == | + | {{api |
+ | | tag = itemdb:icon | ||
+ | | command = ItemDB_Icon | ||
+ | | usage = This shows the Icon for an item. Clicking on an item will show the item details in a popup window. | ||
+ | | thn_ony = no | ||
+ | | param_items = yes | ||
+ | | param_format = opt | ||
+ | | param_order = opt | ||
+ | | param_plural = opt | ||
+ | | param_size = opt | ||
+ | | param_style = opt | ||
+ | }} | ||
− | + | == Example 1 == | |
− | |||
− | |||
Example: '''<nowiki><itemdb:icon items="2182"/></nowiki>''' | Example: '''<nowiki><itemdb:icon items="2182"/></nowiki>''' | ||
Line 9: | Line 18: | ||
<itemdb:icon items="2182"/> This is the Backup SWAT gun. | <itemdb:icon items="2182"/> This is the Backup SWAT gun. | ||
− | + | == Example 2 == | |
Example: '''<nowiki><itemdb:icon items="2182" style="default"/></nowiki>''' | Example: '''<nowiki><itemdb:icon items="2182" style="default"/></nowiki>''' | ||
Line 15: | Line 24: | ||
<itemdb:icon items="2182" style="default"/> This is the Backup SWAT gun. | <itemdb:icon items="2182" style="default"/> This is the Backup SWAT gun. | ||
− | + | == Example 3 == | |
Example: '''<nowiki><itemdb:icon items="2182" style="none"/></nowiki>''' | Example: '''<nowiki><itemdb:icon items="2182" style="none"/></nowiki>''' | ||
<itemdb:icon items="2182" style="none"/> This is the Backup SWAT gun with no background. | <itemdb:icon items="2182" style="none"/> This is the Backup SWAT gun with no background. | ||
− | |||
− | |||
− | |||
− |
Latest revision as of 20:03, 2 July 2008
ItemDB Icon
- Item DB Tag: <itemdb:icon>
- Web service function: ItemDB_Icon
- Usage: This shows the Icon for an item. Clicking on an item will show the item details in a popup window.
Required parameters
Optional parameters
THNapi:Parameter - FormatTHNapi:Parameter - OrderTHNapi:Parameter - PluralTHNapi:Parameter - SizeTHNapi:Parameter - Style
Example 1
Example: <itemdb:icon items="2182"/>
<itemdb:icon items="2182"/> This is the Backup SWAT gun.
Example 2
Example: <itemdb:icon items="2182" style="default"/>
<itemdb:icon items="2182" style="default"/> This is the Backup SWAT gun.
Example 3
Example: <itemdb:icon items="2182" style="none"/>
<itemdb:icon items="2182" style="none"/> This is the Backup SWAT gun with no background.