Difference between revisions of "ReferenceWMLSyntax"
From The Battle for Wesnoth Wiki
(→Version Control: This section is obviously outdated. Instead link to DevFeature.) |
|||
(10 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{WML Tags}} | ||
== Wiki Syntax == | == Wiki Syntax == | ||
+ | |||
+ | ==== Formatting ==== | ||
This page is an example of how these wikis should be formatted: | This page is an example of how these wikis should be formatted: | ||
Line 6: | Line 9: | ||
* '''[tag]''' description of [tag] | * '''[tag]''' description of [tag] | ||
− | ** ''key'' description of ''key''. | + | ** '''key''': description of ''key''. |
− | "''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: | ||
[tag] | [tag] | ||
− | + | key=0 | |
[/tag] | [/tag] | ||
key2=value | 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 <nowiki>[[Category: WML Reference]]</nowiki> at the bottom of the page under the "See Also" section. | ||
== See Also == | == See Also == | ||
Line 21: | Line 34: | ||
* [[ReferenceWML]] | * [[ReferenceWML]] | ||
− | + | [[Category: WML Reference]] | |
− |
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.