AddOn: Difference between revisions

1 byte removed ,  5 September 2006
upgrade fix
(Add link to troubleshooting a mod)
(upgrade fix)
Line 1: Line 1:
{{breadcrumb1|Interface Customization}} {{tocright}}
{{breadcrumb1|Interface Customization}} {{tocright}}
== What is an AddOn? == <div style="margin-left: 3%;">
== What is an AddOn? ==
<div style="margin-left: 3%;">


AddOns are generally self-contained User Interface (UI) modification components. However, some AddOns can be dependent on other AddOns to work, and some AddOns are actually collections of other AddOns. There is no size restriction on AddOns - you can actually implement a whole AddOn collection as one big Lua+XML chunk.
AddOns are generally self-contained User Interface (UI) modification components. However, some AddOns can be dependent on other AddOns to work, and some AddOns are actually collections of other AddOns. There is no size restriction on AddOns - you can actually implement a whole AddOn collection as one big Lua+XML chunk.
Line 19: Line 20:
</div>
</div>


== How do I create an AddOn? == <div style="margin-left: 3%;">
== How do I create an AddOn? ==
<div style="margin-left: 3%;">


First of all, you need to create a new directory in Interface\AddOns. The name of this directory is kind of important, as it is what other AddOns use to refer to your AddOn (in dependencies).  Therefore, using version numbers in your AddOn directory name can be a bad idea; you will run the risk of having other AddOns "break" when you change the version.  This will probably lead to people either not depending on your AddOn or, worse, that they'll keep using an old version.
First of all, you need to create a new directory in Interface\AddOns. The name of this directory is kind of important, as it is what other AddOns use to refer to your AddOn (in dependencies).  Therefore, using version numbers in your AddOn directory name can be a bad idea; you will run the risk of having other AddOns "break" when you change the version.  This will probably lead to people either not depending on your AddOn or, worse, that they'll keep using an old version.
Line 27: Line 29:


</div>
</div>
== What is this .toc file? == <div style="margin-left: 3%;">
 
== What is this .toc file? ==
<div style="margin-left: 3%;">


{{infobox|'''.toc''' is short for "table of contents".}}
{{infobox|'''.toc''' is short for "table of contents".}}
Line 50: Line 54:


Please check out [[The TOC Format]] for a more detailed list.
Please check out [[The TOC Format]] for a more detailed list.


</div>
</div>


== See Also == <div style="margin-left: 3%;">
== See Also ==
<div style="margin-left: 3%;">
 
* [[UI Beginners Guide]] has plenty of reference links
* [[UI Beginners Guide]] has plenty of reference links
* [[The TOC Format]]
* [[The TOC Format]]
Anonymous user