WML Reference Guide

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Locked
User avatar
Development Team
Battle for Wesnoth
Location: Wesnoth.org
Contact:

WML Reference Guide

Post by Development Team »

People often use WML attribute or tag names that are misspelled or just plain fictitious when trying to debug WML — or even tag structures that (to the trained eye) are logical to the writer but have no basis in reality. You should always look up the proper format first, and we have a dedicated section in the wiki to help you:
This is the complete user's manual for WML. It should be the first place to look for answers to any WML questions since it is detailed and rather accurate. It is intended to be an accurate reference for the current stable series, and anything that applies to the current development series is marked as such. If the WML reference seems lacking in some area, do not hesitate to post about it and ask in the WML Workshop forum.
There are also now some tutorials available to help you get started with WML coding. If the WML tutorials are confusing or you see something that might be wrong, feel free to post about it and ask in the WML Workshop forum.

Good luck with all of your WML-related endeavors!

Updated this post slightly again. (zookeeper)
Updated this post to 1.6/1.7+. (fabi)
Updated post for 1.8/1.9+ and reformatted. (shadowmaster)
Updated post to not depend on specific version number. (Ravana)
Added tutorial link (Sapient)
Last edited by scott on December 14th, 2006, 9:18 pm, edited 2 times in total.
Locked