Latest Neocron News and Information

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

Difference between revisions of "Legacy THNapi:ItemDB Link"

From Neocron Wiki
Jump to: navigation, search
(New parameters Plural and Qty)
m (Spelling)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Links ==
+
{{api
 +
| tag = itemdb:link
 +
| command = ItemDB_Link
 +
| usages = Doing a quest guide and need to tell a player to find an item, but you dont want the icon. Use the link command. The little 'i' will show the item if the user hovers over the 'i' icon. There are also options to make the item plural, and add a qty to the link.
 +
| thn_only = no
 +
| param_items = yes
 +
| param_format = opt
 +
| param_order = opt
 +
| param_plural = opt
 +
| param_position = opt
 +
| param_qty = opt
 +
}}
  
Doing a quest guide and need to tell a player to find an item, but you dont want the icon. Use the link command. The little 'i' will show the item if the user hovers over the 'i' icon.
 
  
=== Example 1 ===
+
== Example 1 ==
  
 
Example:  '''<nowiki><itemdb:link items="957"/></nowiki>'''
 
Example:  '''<nowiki><itemdb:link items="957"/></nowiki>'''
Line 9: Line 19:
 
Kill the BramBossMob (Rank 512/512) and loot 10 x <itemdb:link items="957"/> from his body.
 
Kill the BramBossMob (Rank 512/512) and loot 10 x <itemdb:link items="957"/> from his body.
  
=== Example 2 - Postion param ===
+
== Example 2 - Position param ==
  
 
Example:  '''<nowiki><itemdb:link items="2182" position="left"/></nowiki>'''
 
Example:  '''<nowiki><itemdb:link items="2182" position="left"/></nowiki>'''
Line 15: Line 25:
 
This is a very nice gun - <itemdb:link items="2182" position="left"/>
 
This is a very nice gun - <itemdb:link items="2182" position="left"/>
  
=== Example 3 - Postion param  ===
+
== Example 3 - Position param  ==
  
 
Example:  '''<nowiki><itemdb:link items="2182" position="right"/></nowiki>'''
 
Example:  '''<nowiki><itemdb:link items="2182" position="right"/></nowiki>'''
Line 21: Line 31:
 
You can get this gun in the Dome of York - <itemdb:link items="2182" position="right"/>
 
You can get this gun in the Dome of York - <itemdb:link items="2182" position="right"/>
  
=== Example 4  - Postion param ===
+
== Example 4  - Position param ==
  
 
Example:  '''<nowiki><itemdb:link items="2182" position="none"/></nowiki>'''
 
Example:  '''<nowiki><itemdb:link items="2182" position="none"/></nowiki>'''
Line 27: Line 37:
 
You need to do a mission to get this item - <itemdb:link items="2182" position="none"/>
 
You need to do a mission to get this item - <itemdb:link items="2182" position="none"/>
  
=== Example 4 - Plural param ===
+
== Example 5 - Plural param ==
  
 
Example:  '''<nowiki><itemdb:link items="2182" plural="true"/></nowiki>'''
 
Example:  '''<nowiki><itemdb:link items="2182" plural="true"/></nowiki>'''
Line 33: Line 43:
 
Get these <itemdb:link items="2182" plural="true"/> now!
 
Get these <itemdb:link items="2182" plural="true"/> now!
  
=== Example 6 - Plural param ===
+
== Example 6 - Plural param ==
  
 
Example:  '''<nowiki><itemdb:link items="2182" plural="both"/></nowiki>'''
 
Example:  '''<nowiki><itemdb:link items="2182" plural="both"/></nowiki>'''
Line 39: Line 49:
 
Flib has some <itemdb:link items="2182" plural="both"/>
 
Flib has some <itemdb:link items="2182" plural="both"/>
  
=== Example 7 - Qty param ===
+
== Example 7 - Qty param ==
  
 
Example:  '''<nowiki><itemdb:link items="2182" qty="10"/></nowiki>'''
 
Example:  '''<nowiki><itemdb:link items="2182" qty="10"/></nowiki>'''
Line 45: Line 55:
 
Flib has some <itemdb:link items="2182" qty="10"/>
 
Flib has some <itemdb:link items="2182" qty="10"/>
  
=== Example 8  - Qty and plural param===
+
== Example 8  - Qty and plural param==
  
 
Example:  '''<nowiki><itemdb:link items="2182" qty="10" plural="false"/></nowiki>'''
 
Example:  '''<nowiki><itemdb:link items="2182" qty="10" plural="false"/></nowiki>'''
  
 
Flib has some <itemdb:link items="2182" qty="10" plural="false"/>
 
Flib has some <itemdb:link items="2182" qty="10" plural="false"/>
 
 
[[Category:THN API commands|Link]]
 
[[Category:Wiki Item DB tags|Link]]
 

Latest revision as of 20:42, 2 July 2008

ItemDB Link

  • Item DB Tag: <itemdb:link>
  • Web service function: ItemDB_Link
  • Usage: No information

Required parameters

THNapi:Parameter - Items

Optional parameters

THNapi:Parameter - FormatTHNapi:Parameter - OrderTHNapi:Parameter - PluralTHNapi:Parameter - PositionTHNapi:Parameter - Qty


Example 1

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

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

Example 2 - Position param

Example: <itemdb:link items="2182" position="left"/>

This is a very nice gun - <itemdb:link items="2182" position="left"/>

Example 3 - Position param

Example: <itemdb:link items="2182" position="right"/>

You can get this gun in the Dome of York - <itemdb:link items="2182" position="right"/>

Example 4 - Position param

Example: <itemdb:link items="2182" position="none"/>

You need to do a mission to get this item - <itemdb:link items="2182" position="none"/>

Example 5 - Plural param

Example: <itemdb:link items="2182" plural="true"/>

Get these <itemdb:link items="2182" plural="true"/> now!

Example 6 - Plural param

Example: <itemdb:link items="2182" plural="both"/>

Flib has some <itemdb:link items="2182" plural="both"/>

Example 7 - Qty param

Example: <itemdb:link items="2182" qty="10"/>

Flib has some <itemdb:link items="2182" qty="10"/>

Example 8 - Qty and plural param

Example: <itemdb:link items="2182" qty="10" plural="false"/>

Flib has some <itemdb:link items="2182" qty="10" plural="false"/>