Difference between revisions of "Template:Api"
From Neocron Wiki
m (Minor layout changes) |
(Adding 4 new parameters for the next THN api release , tag, index cols and class) |
||
Line 20: | Line 20: | ||
-->{{#ifeq:{{{param_style}}}|yes| {{THNapi:Parameter - Style}}}}<!-- WS | -->{{#ifeq:{{{param_style}}}|yes| {{THNapi:Parameter - Style}}}}<!-- WS | ||
-->{{#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}}}}<!-- WS |
+ | -->{{#ifeq:{{{param_tag}}}|yes| {{THNapi:Parameter - Tag}}}}<!-- WS | ||
+ | -->{{#ifeq:{{{param_cols}}}|yes| {{THNapi:Parameter - Cols}}}}<!-- WS | ||
+ | -->{{#ifeq:{{{param_class}}}|yes| {{THNapi:Parameter - Class}}}}<!-- WS | ||
+ | -->{{#ifeq:{{{param_index}}}|yes| {{THNapi:Parameter - Index}}}} | ||
=== Optional parameters === | === Optional parameters === | ||
{{#ifeq:{{{param_items}}}|opt|{{THNapi:Parameter - Items}}}}<!-- WS | {{#ifeq:{{{param_items}}}|opt|{{THNapi:Parameter - Items}}}}<!-- WS | ||
Line 35: | Line 39: | ||
-->{{#ifeq:{{{param_style}}}|opt|{{THNapi:Parameter - Style}}}}<!-- WS | -->{{#ifeq:{{{param_style}}}|opt|{{THNapi:Parameter - Style}}}}<!-- WS | ||
-->{{#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}}}}<!-- WS |
+ | -->{{#ifeq:{{{param_tag}}}|opt| {{THNapi:Parameter - Tag}}}}<!-- WS | ||
+ | -->{{#ifeq:{{{param_cols}}}|opt{{THNapi:Parameter - Cols}}}}<!-- WS | ||
+ | -->{{#ifeq:{{{param_class}}}|opt| {{THNapi:Parameter - Class}}}}<!-- WS | ||
+ | -->{{#ifeq:{{{param_index}}}|opt| {{THNapi:Parameter - Index}}}} | ||
</div> | </div> | ||
{{ #if:{{{tag|}}} |[[Category:Wiki Item DB tags|{{{tag}}}]]}} | {{ #if:{{{tag|}}} |[[Category:Wiki Item DB tags|{{{tag}}}]]}} |
Revision as of 12:36, 14 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 }}