Difference between revisions of "Template:Api"
From Neocron Wiki
(Fixed TOC and div issue - Everyone please hail the template master Delphi I'm never doing one ever again!) |
|||
Line 1: | Line 1: | ||
+ | __TOC__ | ||
+ | <div class="api-documentation"> | ||
== {{PAGENAME}} - {{ #if:{{{tag|}}} | Tag <{{{tag}}}> }} {{ #if:{{{command|}}} | Command {{{command}}} }} == | == {{PAGENAME}} - {{ #if:{{{tag|}}} | Tag <{{{tag}}}> }} {{ #if:{{{command|}}} | Command {{{command}}} }} == | ||
{{ #ifeq:{{{thn_only}}}|yes|* THN Only command: Yes }} | {{ #ifeq:{{{thn_only}}}|yes|* THN Only command: Yes }} | ||
Line 38: | Line 40: | ||
-->{{#ifeq:{{{param_viewname}}}|opt|{{THNapi:Parameter - Viewname}}}}<!-- WS | -->{{#ifeq:{{{param_viewname}}}|opt|{{THNapi:Parameter - Viewname}}}}<!-- WS | ||
-->{{#ifeq:{{{param_viewoption}}}|opt|{{THNapi:Parameter - Viewoption}}}} | -->{{#ifeq:{{{param_viewoption}}}|opt|{{THNapi:Parameter - Viewoption}}}} | ||
− | + | </div> | |
{{ #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}}}]]}} |
Revision as of 20:27, 2 July 2008
Api -
- Usage: No information
Required parameters
Optional parameters
Template 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 }}