Difference between revisions of "Legacy THNapi:ItemDB Link"

From Neocron Wiki
Jump to: navigation, search
(New release of THN API)
(New parameters Plural and Qty)
Line 9: Line 9:
 
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 - Postion param ===
  
 
Example:  '''<nowiki><itemdb:link items="2182" position="left"/></nowiki>'''
 
Example:  '''<nowiki><itemdb:link items="2182" position="left"/></nowiki>'''
Line 15: Line 15:
 
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 - Postion param  ===
  
 
Example:  '''<nowiki><itemdb:link items="2182" position="right"/></nowiki>'''
 
Example:  '''<nowiki><itemdb:link items="2182" position="right"/></nowiki>'''
Line 21: Line 21:
 
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 - Postion param ===
  
 
Example:  '''<nowiki><itemdb:link items="2182" position="none"/></nowiki>'''
 
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"/>
 
You need to do a mission to get this item - <itemdb:link items="2182" position="none"/>
 +
 +
=== Example 4  - 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"/>
 +
  
 
[[Category:THN API commands|Link]]
 
[[Category:THN API commands|Link]]
 
[[Category:Wiki Item DB tags|Link]]
 
[[Category:Wiki Item DB tags|Link]]

Revision as of 20:04, 8 May 2008

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. The little 'i' will show the item if the user hovers over the 'i' icon.

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 - Postion param

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

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

Example 3 - Postion 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 - Postion 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 4 - 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"/>