Latest Neocron News and Information

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

Difference between revisions of "Legacy THNapi:ItemDB Link Icon"

From Neocron Wiki
Jump to: navigation, search
(New release of THN API)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Link with Icon ==
+
{{api
 +
| tag = itemdb:link_icon
 +
| command = ItemDB_Link_Icon
 +
| usage = Doing a quest guide and need to tell a player to find an item, but you also do want an icon.
 +
| thn_only = no
 +
| param_items = yes
 +
| param_format = opt
 +
| param_plural = opt
 +
| param_qty = opt
 +
| param_size = opt
 +
}}
  
Doing a quest guide and need to tell a player to find an item, but you do want a small icon. Use the link_icon.
+
== Example 1 ==
  
=== Example 1 ===
+
Example:  '''<nowiki><itemdb:link_icon items="957"/></nowiki>'''
 +
 
 +
Kill the BramBossMob (Rank 512/512) and loot a <itemdb:link_icon items="957"/> from his body.
 +
 
 +
== Example 2 ==
 +
 
 +
Example:  '''<nowiki><itemdb:link_icon items="957" plural="true"/></nowiki>'''
 +
 
 +
Kill the BramBossMob (Rank 512/512) and loot the <itemdb:link_icon items="957" plural="true"/> from his body.
 +
 
 +
== Example 3 ==
 +
 
 +
Example:  '''<nowiki><itemdb:link_icon items="957" plural="both"/></nowiki>'''
  
Example:  '''<nowiki><itemdb:link_icon items="957"/></nowiki>'''
+
Kill the BramBossMob (Rank 512/512) and loot the <itemdb:link_icon items="957" plural="both"/> from his body.
 +
 
 +
== Example 4 ==
 +
 
 +
Example:  '''<nowiki><itemdb:link_icon items="957" qty="10"/></nowiki>'''
 +
 
 +
Kill the BramBossMob (Rank 512/512) and loot the <itemdb:link_icon items="957" qty="10"/> from his body.
 +
 
 +
== Example 5 ==
 +
 
 +
Example:  '''<nowiki><itemdb:link_icon items="957" qty="10" plural="false"/></nowiki>'''
 +
 
 +
Kill the BramBossMob (Rank 512/512) and loot the <itemdb:link_icon items="957" qty="10" plural="false"/> from his body.
 +
 
 +
== Example 5 ==
  
Kill the BramBossMob (Rank 512/512) and loot 10 x <itemdb:link_icon items="957"/> from his body.
+
Example:  '''<nowiki><itemdb:link_icon items="957" qty="10" plural="both"/></nowiki>'''
  
[[Category:THN API commands|Link Icon]]
+
Kill the BramBossMob (Rank 512/512) and loot the <itemdb:link_icon items="957" qty="10" plural="both"/> from his body.
[[Category:Wiki Item DB tags|Link Icon]]
 

Latest revision as of 20:48, 2 July 2008

ItemDB Link Icon

  • Item DB Tag: <itemdb:link_icon>
  • Web service function: ItemDB_Link_Icon
  • Usage: Doing a quest guide and need to tell a player to find an item, but you also do want an icon.

Required parameters

THNapi:Parameter - Items

Optional parameters

THNapi:Parameter - FormatTHNapi:Parameter - PluralTHNapi:Parameter - QtyTHNapi:Parameter - Size


Example 1

Example: <itemdb:link_icon items="957"/>

Kill the BramBossMob (Rank 512/512) and loot a <itemdb:link_icon items="957"/> from his body.

Example 2

Example: <itemdb:link_icon items="957" plural="true"/>

Kill the BramBossMob (Rank 512/512) and loot the <itemdb:link_icon items="957" plural="true"/> from his body.

Example 3

Example: <itemdb:link_icon items="957" plural="both"/>

Kill the BramBossMob (Rank 512/512) and loot the <itemdb:link_icon items="957" plural="both"/> from his body.

Example 4

Example: <itemdb:link_icon items="957" qty="10"/>

Kill the BramBossMob (Rank 512/512) and loot the <itemdb:link_icon items="957" qty="10"/> from his body.

Example 5

Example: <itemdb:link_icon items="957" qty="10" plural="false"/>

Kill the BramBossMob (Rank 512/512) and loot the <itemdb:link_icon items="957" qty="10" plural="false"/> from his body.

Example 5

Example: <itemdb:link_icon items="957" qty="10" plural="both"/>

Kill the BramBossMob (Rank 512/512) and loot the <itemdb:link_icon items="957" qty="10" plural="both"/> from his body.