Difference between revisions of "ReferenceWMLSyntax"
From The Battle for Wesnoth Wiki
m (→Formatting: fix WML indentation) |
(→Version Control: This section is obviously outdated. Instead link to DevFeature.) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 9: | Line 9: | ||
* '''[tag]''' description of [tag] | * '''[tag]''' description of [tag] | ||
− | ** ''key'' description of ''key''. | + | ** '''key''': description of ''key''. |
− | "''key''" can refer either to the key ''key'' or the value of ''key'' | + | "'''key'''" can refer either to the key ''key'' or the value of ''key'' |
− | * ''key2'' description of ''key2'' | + | * '''key2''': description of ''key2'' |
− | ** 'value' what happens when the attribute '''key2=value''' is set | + | ** '''value''': what happens when the attribute '''key2=value''' is set |
Example: | Example: | ||
Line 22: | Line 22: | ||
==== Version Control ==== | ==== Version Control ==== | ||
− | This | + | This wiki describes the stable version of Wesnoth, but also has marked notes about the development version. See [[DevFeature]]. |
− | |||
− | the | ||
− | |||
− | |||
==== Categorization ==== | ==== Categorization ==== |
Latest revision as of 21:24, 31 December 2011
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 describes the stable version of Wesnoth, but also has marked notes about the development version. See DevFeature.
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.
See Also
This page was last edited on 31 December 2011, at 21:24.