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

From Neocron Wiki
Jump to: navigation, search
(Removed categories)
 
(11 intermediate revisions by the same user not shown)
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.
+
{{THNapi:show commands xml}}
 
 
=== Example ===
 
Example: '''<nowiki><api:show_commands_html/></nowiki>'''
 
<api: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: '''<nowiki><api:show_commands_xml/></nowiki>'''
 
 
 
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.
 
 
 
[[Category:THN HTML API commands|API Commands]]
 

Latest revision as of 15:39, 4 July 2008

API Commands

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

THNapi:Show commands html

THNapi:Show commands xml