Add TOC
authoralmikes@aol.com
Sun, 21 Dec 2014 01:08:03 +0000
changeset 527 908428bf4a03
parent 526 f910cf3241fc
child 528 88cc64932e78
Add TOC
LuaLibraries.wiki
--- a/LuaLibraries.wiki	Sun Dec 21 01:04:48 2014 +0000
+++ b/LuaLibraries.wiki	Sun Dec 21 01:08:03 2014 +0000
@@ -12,6 +12,9 @@
 <code language="lua">loadfile(GetDataPath() .. "Scripts/<Library Name>.lua")()</code>
 This does not work with new Hedgewars versions anymore and causes the script to break. You have to replace it with `HedgewarsScriptLoad`. *Calls to `loadfile` are one of the most common reasons why old scripts do not work in recent Hedgewars versions.*
 
+= Table of Contents =
+
+<wiki:toc max_depth="2" />
 = Locale =
 
 This library allows you to translate string and should be used whenever a script has text. It loads the appropriate locale file and check automatically.