Latest Neocron News and Information

  • New test server patch #564 has been released to Vedeena

Difference between revisions of "Template:Api"

From Neocron Wiki
Jump to: navigation, search
(Fixed TOC and div issue - Everyone please hail the template master Delphi I'm never doing one ever again!)
m (Minor layout changes)
Line 6: Line 6:
 
{{ #if:{{{command|}}} | * Web service function: '''{{{command}}}''' }}
 
{{ #if:{{{command|}}} | * Web service function: '''{{{command}}}''' }}
 
* Usage: {{ #if:{{{usage|}}}|{{{usage}}}|No information}}
 
* Usage: {{ #if:{{{usage|}}}|{{{usage}}}|No information}}
 
 
=== Required parameters ===
 
=== Required parameters ===
 
 
{{#ifeq:{{{param_items}}}|yes| {{THNapi:Parameter - Items}}}}<!-- WS
 
{{#ifeq:{{{param_items}}}|yes| {{THNapi:Parameter - Items}}}}<!-- WS
 
-->{{#ifeq:{{{param_faction}}}|yes| {{THNapi:Parameter - Faction}}}}<!-- WS
 
-->{{#ifeq:{{{param_faction}}}|yes| {{THNapi:Parameter - Faction}}}}<!-- WS
Line 23: Line 21:
 
-->{{#ifeq:{{{param_viewname}}}|yes| {{THNapi:Parameter - Viewname}}}}<!-- WS
 
-->{{#ifeq:{{{param_viewname}}}|yes| {{THNapi:Parameter - Viewname}}}}<!-- WS
 
-->{{#ifeq:{{{param_viewoption}}}|yes| {{THNapi:Parameter - Viewoption}}}}
 
-->{{#ifeq:{{{param_viewoption}}}|yes| {{THNapi:Parameter - Viewoption}}}}
 
 
=== Optional parameters ===
 
=== Optional parameters ===
 
 
{{#ifeq:{{{param_items}}}|opt|{{THNapi:Parameter - Items}}}}<!-- WS
 
{{#ifeq:{{{param_items}}}|opt|{{THNapi:Parameter - Items}}}}<!-- WS
 
-->{{#ifeq:{{{param_faction}}}|opt|{{THNapi:Parameter - Faction}}}}<!-- WS
 
-->{{#ifeq:{{{param_faction}}}|opt|{{THNapi:Parameter - Faction}}}}<!-- WS
Line 43: Line 39:
 
{{ #if:{{{tag|}}} |[[Category:Wiki Item DB tags|{{{tag}}}]]}}
 
{{ #if:{{{tag|}}} |[[Category:Wiki Item DB tags|{{{tag}}}]]}}
 
{{ #if:{{{command|}}} |[[Category:THN API commands|{{{command}}}]]}}
 
{{ #if:{{{command|}}} |[[Category:THN API commands|{{{command}}}]]}}
 
 
<noinclude>
 
<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 10:42, 4 July 2008

Api -

  • Usage: No information

Required parameters

Optional parameters


Template-info.pngTemplate Documentation[edit]

This documentation is transcluded from Template:Api/doc. (edit | history)

{{api
 | tag = tag:name
 | command = comand_name
 | usage = What it does
 | thn_only = no
 | param_items = yes/no/opt
 | param_faction = yes/no/opt
 | param_format = yes/no/opt
 | param_group = yes/no/opt
 | param_level = yes/no/opt
 | param_order = yes/no/opt
 | param_page = yes/no/opt
 | param_plural = yes/no/opt
 | param_position = yes/no/opt
 | param_qty = yes/no/opt
 | param_size = yes/no/opt
 | param_style = yes/no/opt
 | param_viewname = yes/no/opt
 | param_viewoption = yes/no/opt
 | param_tag = yes/no/opt
 | param_cols = yes/no/opt
 | param_class = yes/no/opt
 | param_index = yes/no/opt
}}