Difference between revisions of "Template:Api"

From Neocron Wiki
Jump to: navigation, search
m
Line 25: Line 25:
  
 
{{#ifeq:{{{param_items}}}|opt|
 
{{#ifeq:{{{param_items}}}|opt|
 +
 
{{THNapi:Parameter - Items}}
 
{{THNapi:Parameter - Items}}
 +
 
}}<!-- WS
 
}}<!-- WS
 
-->{{#ifeq:{{{param_faction}}}|opt|
 
-->{{#ifeq:{{{param_faction}}}|opt|
 +
 
{{THNapi:Parameter - Faction}}
 
{{THNapi:Parameter - Faction}}
 +
 
}}<!-- WS
 
}}<!-- WS
 
-->{{#ifeq:{{{param_format}}}|opt|
 
-->{{#ifeq:{{{param_format}}}|opt|
 +
 
{{THNapi:Parameter - Format}}
 
{{THNapi:Parameter - Format}}
 +
 
}}<!-- WS
 
}}<!-- WS
 
-->{{#ifeq:{{{param_group}}}|opt|
 
-->{{#ifeq:{{{param_group}}}|opt|
 +
 
{{THNapi:Parameter - Group}}
 
{{THNapi:Parameter - Group}}
 +
 
}}<!-- WS
 
}}<!-- WS
 
-->{{#ifeq:{{{param_level}}}|opt|
 
-->{{#ifeq:{{{param_level}}}|opt|
 +
 
{{THNapi:Parameter - Level}}
 
{{THNapi:Parameter - Level}}
 +
 
}}<!-- WS
 
}}<!-- WS
 
-->{{#ifeq:{{{param_order}}}|opt|
 
-->{{#ifeq:{{{param_order}}}|opt|
 +
 
{{THNapi:Parameter - Order}}
 
{{THNapi:Parameter - Order}}
 +
 
}}<!-- WS
 
}}<!-- WS
 
-->{{#ifeq:{{{param_page}}}|opt|
 
-->{{#ifeq:{{{param_page}}}|opt|
 +
 
{{THNapi:Parameter - Page}}
 
{{THNapi:Parameter - Page}}
 +
 
}}<!-- WS
 
}}<!-- WS
 
-->{{#ifeq:{{{param_plural}}}|opt|
 
-->{{#ifeq:{{{param_plural}}}|opt|
 +
 
{{THNapi:Parameter - Plural}}
 
{{THNapi:Parameter - Plural}}
 +
 
}}<!-- WS
 
}}<!-- WS
-->{{#ifeq:{{{param_position}}}|opt|{{THNapi:Parameter - Position}}
+
-->{{#ifeq:{{{param_position}}}|opt|
 +
 
 +
{{THNapi:Parameter - Position}}
 +
 
 
}}<!-- WS
 
}}<!-- WS
 
-->{{#ifeq:{{{param_qty}}}|opt|
 
-->{{#ifeq:{{{param_qty}}}|opt|
 +
 
{{THNapi:Parameter - Qty}}
 
{{THNapi:Parameter - Qty}}
 +
 
}}<!-- WS
 
}}<!-- WS
 
-->{{#ifeq:{{{param_size}}}|opt|
 
-->{{#ifeq:{{{param_size}}}|opt|
 +
 
{{THNapi:Parameter - Size}}
 
{{THNapi:Parameter - Size}}
 +
 
}}<!-- WS
 
}}<!-- WS
 
-->{{#ifeq:{{{param_style}}}|opt|
 
-->{{#ifeq:{{{param_style}}}|opt|
 +
 
{{THNapi:Parameter - Style}}
 
{{THNapi:Parameter - Style}}
 +
 
}}<!-- WS
 
}}<!-- WS
 
-->{{#ifeq:{{{param_viewname}}}|opt|
 
-->{{#ifeq:{{{param_viewname}}}|opt|
 +
 
{{THNapi:Parameter - Viewname}}
 
{{THNapi:Parameter - Viewname}}
 +
 
}}<!-- WS
 
}}<!-- WS
 
-->{{#ifeq:{{{param_viewoption}}}|opt|
 
-->{{#ifeq:{{{param_viewoption}}}|opt|
 +
 
{{THNapi:Parameter - Viewoption}}
 
{{THNapi:Parameter - Viewoption}}
 +
 
}}
 
}}
  

Revision as of 19:52, 2 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
}}