Interface administrators, moderator
2,756
edits
No edit summary |
No edit summary |
||
Line 46: | Line 46: | ||
The info element contains who made the script, the type of script and the version of the script.<br> | The info element contains who made the script, the type of script and the version of the script.<br> | ||
You would have a script element for each script file you wish to load, each with a "type" attribute that refers to what side the script will run on (server or client), a language attribute that tells the server/client which language the script file uses (see [[ | You would have a script element for each script file you wish to load, each with a "type" attribute that refers to what side the script will run on (server or client), a language attribute that tells the server/client which language the script file uses (see [[ScriptingLanguages|supported scripting languages]]), and a "src" attribute with the file name as a relative path (i.e. "example.js" or "foo/bar.js". | ||
Below is a list of all accepted meta.xml nodes. | Below is a list of all accepted meta.xml nodes. |