Difference between revisions of "Legacy THNapi:ItemDB Icon"
From Neocron Wiki
(New page: = This command is due to be released with tne next Item DB update = This means this command won't work just yet! == Icon == This shows the Icon for an item. Clicking on an item will sho...) |
|||
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | = This | + | {{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>''' |
− | This | + | <itemdb:icon items="2182"/> This is the Backup SWAT gun. |
− | + | == Example 2 == | |
− | Example: '''<nowiki><itemdb:icon items=" | + | Example: '''<nowiki><itemdb:icon items="2182" style="default"/></nowiki>''' |
− | <itemdb:icon items=" | + | <itemdb:icon items="2182" style="default"/> This is the Backup SWAT gun. |
+ | == Example 3 == | ||
− | + | Example: '''<nowiki><itemdb:icon items="2182" style="none"/></nowiki>''' | |
− | + | ||
+ | <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.