Difference between revisions of "ReferenceWMLSyntax"
From The Battle for Wesnoth Wiki
(Highlight attributes) |
(→Version Control) |
||
Line 23: | Line 23: | ||
This WIKI follows the WML syntax of the Trunk branch, whatever it is at any given time. Please remove deprecated entries and update new ones without keeping older references. | This WIKI follows the WML syntax of the Trunk branch, whatever it is at any given time. Please remove deprecated entries and update new ones without keeping older references. | ||
− | |||
− | |||
When a new stable version of Wesnoth is released the WML wiki will be snapshoted and put online separately in a read-only section | When a new stable version of Wesnoth is released the WML wiki will be snapshoted and put online separately in a read-only section |
Revision as of 17:41, 19 February 2008
Wiki Syntax
Formatting
This page is an example of how these wikis should be formatted:
Description of the page
- [tag] description of [tag]
- key: description of key.
"key" can refer either to the key key or the value of key
- key2: description of key2
- value: what happens when the attribute key2=value is set
Example:
[tag] key=0 [/tag] key2=value
Version Control
This WIKI follows the WML syntax of the Trunk branch, whatever it is at any given time. Please remove deprecated entries and update new ones without keeping older references.
When a new stable version of Wesnoth is released the WML wiki will be snapshoted and put online separately in a read-only section
Categorization
WML reference pages should be placed into the category "WML reference." This allows someone to easily bring up all the WML-related pages at once.
To do this, add the text [[Category: WML Reference]] at the bottom of the page under the "See Also" section.