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 page: == Links == Doing a quest guide and need to tell a player to find an item, but you dont want the icon. Use the link command. === Example === Example: '''<nowiki><itemdb:link items="957...)
 
m (Spelling)
 
(15 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.
 
  
=== Example ===
+
== 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.
  
[[Category:THN HTML API commands|Link]]
+
== Example 2 - Position param ==
[[Category:Wiki Item DB tags|Link]]
+
 
 +
Example:  '''<nowiki><itemdb:link items="2182" position="left"/></nowiki>'''
 +
 
 +
This is a very nice gun - <itemdb:link items="2182" position="left"/>
 +
 
 +
== Example 3 - Position param  ==
 +
 
 +
Example:  '''<nowiki><itemdb:link items="2182" position="right"/></nowiki>'''
 +
 
 +
You can get this gun in the Dome of York - <itemdb:link items="2182" position="right"/>
 +
 
 +
== Example 4  - Position param ==
 +
 
 +
Example:  '''<nowiki><itemdb:link items="2182" position="none"/></nowiki>'''
 +
 
 +
You need to do a mission to get this item - <itemdb:link items="2182" position="none"/>
 +
 
 +
== Example 5  - Plural param ==
 +
 
 +
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"/>