Latest Neocron News and Information

  • New test server patch #563 has been released to Vedeena

Difference between revisions of "Legacy THNapi:ItemDB Icon"

From Neocron Wiki
Jump to: navigation, search
Line 1: Line 1:
== Icon ==
+
{{api
 +
| tag = itemdb:icon
 +
| command = ItemDB_Icon
 +
| usages = 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
 +
}}
  
This shows the Icon for an item. Clicking on an item will show the item details in a popup window.
+
== Example 1 ==
 
 
=== Required Parameters ===
 
 
 
{{THNapi:Parameter - Items}}
 
 
 
=== Optional Parameters ===
 
 
 
{{THNapi:Parameter - Order}}
 
{{THNapi:Parameter - Format}}
 
{{THNapi:Parameter - Style}}
 
 
 
=== Example 1 ===
 
  
 
Example:  '''<nowiki><itemdb:icon items="2182"/></nowiki>'''
 
Example:  '''<nowiki><itemdb:icon items="2182"/></nowiki>'''
Line 19: 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 2 ==
  
 
Example:  '''<nowiki><itemdb:icon items="2182" style="default"/></nowiki>'''
 
Example:  '''<nowiki><itemdb:icon items="2182" style="default"/></nowiki>'''
Line 25: 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 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.
 
 
[[Category:THN API commands]]
 
[[Category:Wiki Item DB tags|ItemDB:Icon]]
 

Revision as of 19:26, 2 July 2008

ItemDB Icon

  • Item DB Tag: <itemdb:icon>
  • Web service function: ItemDB_Icon
  • Usage: No information

Required parameters

THNapi:Parameter - Items

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.