Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
Template:Userfunc
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
''Use this at the top of all [[User defined functions]] information pages (not WoW API or Widget pages!).'' Any pages with this template will be added to [[:Category:User defined functions]] and [[:Category:Snippets]]. ;Syntax * toc [1|0] - default is 0 [[Category:Interface customization templates|{{PAGENAME}}]] ---- ;Template <onlyinclude>{{notebox|This page documents a [[User defined functions|''user-defined function'']] that you can copy and paste into your addon. Replace PREFIX with your addon or lib prefix to avoid conflicts between different versions of these functions.|float=none|width=auto}}<!-- -->{{#ifeq:{{#var:tTYPE}}|USERAPI|__NOTOC__|{{#ifeq:{{{toc|0}}}|0|__NOTOC__|{{tocright}}}}}}<!-- -->{{#ifeq:{{PAGENAME}}|User defined functions||← [[User defined functions]]<!-- -->{{#ifeq:{{#var:tTYPE}}|USERAPI| < [[User defined functions#{{#var:tNAME}}|{{#var:tNAME}}]]}}}}<div style="float: right; margin-left: 2em; margin-bottom: 1em;">{{apinav|toc={{{toc|0}}}}} {{#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:User defined functions|Snippets]]</small></div></div><includeonly>{{#ifeq:{{PAGENAME}}|User defined functions|[[Category:UI Snippets]]|}}[[Category:User defined functions]][[Category:Snippets]]{{#if:{{{nosort|}}}||{{#ifeq:{{#var:tTYPE}}|USERAPI|{{DEFAULTSORT:{{#var:tNAME}}}}|}}}}</includeonly></onlyinclude>
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Notebox
(
edit
)