To install an add-on please go to the title screen of Battle for Wesnoth. Select "Add-ons" from the menu and click "OK" to connect to add-ons.wesnoth.org. Select the add-on you want to install from the list and click "OK". The download will commence immediately. Wesnoth will then automatically install and load the add-on so you can use it.
Note: Hover over the icons to see the description of the add-on.
""") for name in ["style.css", "jquery.js", "tablesorter.js", "asc.gif", "bg.gif", "desc.gif"]: os.system("cp -u data/tools/addon_manager/" + name + " " + path) campaigns = data.get_or_create_sub("campaigns") w("%s | " % header) w("|||||
---|---|---|---|---|---|
%s %s | ' % (
name, v("description", "(no description)")))
w("%s " % name) w("Version: %s " % v("version", "unknown")) w("Author: %s | " % v("author", "unknown"))
MiB = 1024 * 1024
w("%.2fMiB" % (float(v("size", "unknown")) / MiB))
if url:
link = url.rstrip("/") + "/" + v("name") + ".tar.bz2"
w(" download | " % link)
else:
w("")
downloads = int(v("downloads", "0"))
w("%d down " % (downloads)) w("%s up | " % v("uploads", "unknown"))
timestamp = int(v("timestamp", "0"))
t = time.localtime(timestamp)
w("%d%s | " % (timestamp, time.strftime("%b %d %Y", t))) w("%s | " % v("translate", "")) w("