WoW:TOC format: Difference between revisions

Line 67: Line 67:
There are two big reasons:
There are two big reasons:
# Code differences
# Code differences
#: There are differences big enough between two editions of WoW, that it would be easier to use two or more different coded or XML files, and need a different .toc files to load different sets of code for an edition.
#: There are big enough differences between two editions of WoW for an addon, that it would be easier to just use two or more different code or XML files. And then eould need different .toc files to load different sets of code for an edition.
# The 'Interface' version numbers
# The 'Interface' version numbers
#: Each edition has its own series of interface version numbers. Because of this and because you only have one '## Interface:' line to specify the number, you will actually need a .toc file for each supported edition. Otherwise, users will have to click the 'load outdated' checkbox to load your addon.
#: Each edition has its own series of interface version numbers. Because of this and because you only have one '## Interface:' line to specify the number, you will actually need a .toc file for each supported edition. Otherwise, users will have to click the 'load outdated' checkbox to load your addon.