Difference between revisions of "Legacy THNapi:Item list commands"

From Neocron Wiki
Jump to: navigation, search
(New page: = Item list commands = == Show list of items == Sometimes you want to show items in a list, like the Monk WoC PA1 and the Normal Monk PA3 to show it has better resists. === Example === ...)
 
m (THNapi:HTML API - Item list commands moved to THNapi:Item list commands: HTML is no longer relevant)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
= Item list commands =
 
= Item list commands =
  
== Show list of items ==
+
{{THNapi:Show list}}
  
Sometimes you want to show items in a list, like the Monk WoC PA1 and the Normal Monk PA3 to show it has better resists.
+
{{THNapi:Show group list}}
  
=== Example ===
+
{{THNapi:Show view}}
 
 
Example: '''<nowiki><itemdb:show_list items="2228,2227"></nowiki>'''
 
 
 
<itemdb:show_list items="2228,2227"/>
 
 
 
== Show all items from a group ==
 
 
 
Typing item ID's is a pain, and often you want to show a complete list of items. Lets look at all the MNPU parts.
 
 
 
=== Example ===
 
Example: '''<nowiki><itemdb:show_group_list="/parts/fsm"/></nowiki>'''
 
 
 
<itemdb:show_group_list group="/parts/fsm"/>
 
 
 
== Show all items from a view ==
 
 
 
The THN has quite a few special lists, which I call views. The views pick up specific data, such as Epic items, woc items, or provide access to special functions.
 
 
 
Anyway here is a list of Mr Jone. items
 
 
 
=== Example ===
 
 
 
Example: '''<nowiki>
 
<itemdb:show_view viewname="mr-jones"/></nowiki>'''
 
 
 
<itemdb:show_view viewname="mr-jones"/>
 
  
 
=== List of views ===
 
=== List of views ===
Line 43: Line 17:
 
* woc - All Woc Items
 
* woc - All Woc Items
 
* ppu - PPU items
 
* ppu - PPU items
 +
 +
 +
[[Category:THN API commands|Item list commands]]
 +
[[Category:Wiki Item DB tags|Item item commands]]

Latest revision as of 10:35, 22 April 2008

Item list commands

THNapi:Show list

THNapi:Show group list

THNapi:Show view

List of views

Not all views on the THN Item DB are available. Some are reserved for internal use, and some views need some extra parameters, which is not supported in this current version. Here are the current available views.

  • rare - All Rare Items
  • mr-jones - All Mr Jones Items
  • recycle - All Recycle Items
  • epic - All Epic Items
  • woc - All Woc Items
  • ppu - PPU items