Difference between revisions of "Legacy THNapi:ItemDB Icon"

From Neocron Wiki
Jump to: navigation, search
Line 5: Line 5:
 
This shows the Icon for an item. Clicking on an item will show the item details in a popup window.  
 
This shows the Icon for an item. Clicking on an item will show the item details in a popup window.  
  
=== Example ===
+
=== Example 1 ===
  
 
Example:  '''<nowiki><itemdb:icon items="1508"/></nowiki>'''
 
Example:  '''<nowiki><itemdb:icon items="1508"/></nowiki>'''
  
<itemdb:icon items="1508"/> This sword is one of many swords in the game.
+
<itemdb:icon items="1508"/> This is the Backup SWAT gun.
 +
 
 +
=== Example 2 ===
 +
 
 +
Example:  '''<nowiki><itemdb:icon items="1508" style="default"/></nowiki>'''
 +
 
 +
<itemdb:icon items="1508"/> This is the Backup SWAT gun.
 +
 
 +
=== Example 3 ===
 +
 
 +
Example:  '''<nowiki><itemdb:icon items="1508" style="none"/></nowiki>'''
 +
 
 +
<itemdb:icon items="1508"/> This is the Backup SWAT gun with no background.
  
  
 
[[Category:THN HTML API commands|Icon]]
 
[[Category:THN HTML API commands|Icon]]
 
[[Category:Wiki Item DB tags|Icon]]
 
[[Category:Wiki Item DB tags|Icon]]

Revision as of 16:24, 19 April 2008

Icon

Exclamation
Unreleased THN API Command
This command will be updated/released with the next THN API update.



This shows the Icon for an item. Clicking on an item will show the item details in a popup window.

Example 1

Example: <itemdb:icon items="1508"/>

<itemdb:icon items="1508"/> This is the Backup SWAT gun.

Example 2

Example: <itemdb:icon items="1508" style="default"/>

<itemdb:icon items="1508"/> This is the Backup SWAT gun.

Example 3

Example: <itemdb:icon items="1508" style="none"/>

<itemdb:icon items="1508"/> This is the Backup SWAT gun with no background.