Latest Neocron News and Information

  • New retail server patch #557 has been released to Titan

Difference between revisions of "Legacy THNapi:ItemDB Link"

From Neocron Wiki
Jump to: navigation, search
(New release of THN API)
m (Spelling)
 
(7 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 ===
+
== 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 ===
+
== 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 ===
+
== 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"/>
  
[[Category:THN API commands|Link]]
+
== Example 5  - Plural param ==
[[Category:Wiki Item DB tags|Link]]
+
 
 +
Example:  '''<nowiki><itemdb:link items="2182" plural="true"/></nowiki>'''
 +
 
 +
Get these <itemdb:link items="2182" plural="true"/> now!
 +
 
 +
== Example 6 - Plural param ==
 +
 
 +
Example:  '''<nowiki><itemdb:link items="2182" plural="both"/></nowiki>'''
 +
 
 +
Flib has some <itemdb:link items="2182" plural="both"/>
 +
 
 +
== Example 7 - Qty param ==
 +
 
 +
Example:  '''<nowiki><itemdb:link items="2182" qty="10"/></nowiki>'''
 +
 
 +
Flib has some <itemdb:link items="2182" qty="10"/>
 +
 
 +
== Example 8  - Qty and plural param==
 +
 
 +
Example:  '''<nowiki><itemdb:link items="2182" qty="10" plural="false"/></nowiki>'''
 +
 
 +
Flib has some <itemdb:link items="2182" qty="10" plural="false"/>

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"/>