Template:Userapi: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (This revision and previous are available under: CC BY-SA 3.0. See list of authors in previous history below.)
 
(One intermediate revision by one other user 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>&rarr; [[: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}}}}&larr; {{#ifeq:{{PAGENAME}}|AddOn defined functions|[[User defined functions|Snippets]]|[[AddOn defined functions]]{{#ifeq:{{#var:tTYPE}}|USERAPI|&nbsp;&lt;&nbsp;[[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.

AddOn defined functions