Difference between revisions of "Legacy THNapi:API related commands"

From Neocron Wiki
Jump to: navigation, search
Line 3: Line 3:
 
These commands access the Item DB API layer, and perform API related functions.
 
These commands access the Item DB API layer, and perform API related functions.
  
== Command list (HTML format) ==
+
{{THNapi:show commands html}}
 
 
This shows the available commands in a HTML format.
 
 
 
=== Example ===
 
Example: '''<nowiki><api:show_commands_html/></nowiki>'''
 
<api:show_commands_html/>
 
  
 
== Command list (XML format) ==
 
== Command list (XML format) ==

Revision as of 09:57, 26 February 2008

API Commands

These commands access the Item DB API layer, and perform API related functions.

THNapi:Show commands html

Command list (XML format)

This shows the available commands in the webpack XML format. It is planned at some stage to possibly have an automactic update.

Example

Example: <api:show_commands_xml/>

The output is not shown, as the Item DB sends a XML content type header, which will screw up the rendering of the page. Any user putting this command in a page, will be hit with a Nerf bat.