Template:Userapi: Difference between revisions
Jump to navigation
Jump to search
(New page: Please use this template in all User defined functions where the function is declared as a local. Category:Interface Customization/Templates ---- <onlyinclude><includeonly>[[Categ...) |
m (This revision and previous are available under: CC BY-SA 3.0. See list of authors in previous history below.) |
||
(9 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
''Use this at the top of all [[AddOn defined functions]] information pages (not WoW API or Widget pages!).'' Any pages with this template will be added to [[:Category:AddOn defined functions]] and [[:Category:Snippets]]. | |||
[[Category:Interface customization templates|{{PAGENAME}}]] | |||
---- | |||
;Template | |||
<onlyinclude><div style="float: right; margin-left: 2em; margin-bottom: 1em;">{{apinav}} | |||
{{#vardefine:tTYPE|{{{1|{{#sub:{{PAGENAME}}|0|7}}}}}}}{{#vardefine:tNAME|{{#ifeq:{{#var:tTYPE|}}|USERAPI|{{#sub:{{PAGENAME}}|8|0}}|{{PAGENAME}}}}}} | |||
<div style="margin-left: 1em; margin-right: 1em;"><small>→ [[:Category:AddOn defined functions|AddOn Funcs]]</small></div></div><includeonly>{{#ifeq:{{PAGENAME}}|AddOn defined functions|[[Category:UI Snippets]]|}}[[Category:AddOn defined functions]][[Category:Snippets]]{{#if:{{{nosort|}}}||{{#ifeq:{{#var:tTYPE}}|USERAPI|{{DEFAULTSORT:{{#var:tNAME}}}}|}}}}</includeonly>{{notebox|This page documents a [[AddOn defined functions|''user-defined API'']] that is provided by third-party addons.}}{{#ifeq:{{#var:tTYPE}}|USERAPI|__NOTOC__|{{tocright}}}}← {{#ifeq:{{PAGENAME}}|AddOn defined functions|[[User defined functions|Snippets]]|[[AddOn defined functions]]{{#ifeq:{{#var:tTYPE}}|USERAPI| < [[AddOn defined functions#{{#var:tNAME}}|{{#var:tNAME}}]]}}}}</onlyinclude> |
Latest revision as of 17:57, 21 September 2013
Use this at the top of all AddOn defined functions information pages (not WoW API or Widget pages!). Any pages with this template will be added to Category:AddOn defined functions and Category:Snippets.
- Template
This page documents a user-defined API that is provided by third-party addons.