ReferenceWMLSyntax

From The Battle for Wesnoth Wiki
Revision as of 04:55, 29 January 2006 by Scott (talk | contribs) (I hope this falls under wiki syntax - added notes for WML version control)

Wiki Syntax

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

Reminders

For WML features not present in the 1.0 branch, please precede the reference text with the template {{DevFeature}}. Doing this will use the standardized "development version only WML" flag.

Please do not delete WML reference text that is valid for version 1.0 if a new feature obsoletes, deprecates, or replaces it. Just put the new reference text beneath it and mark it with {{DevFeature}}.

The {{DevFeature}} code turns into this: Template:DevFeature (dynamically updated from the template page Template:DevFeature)

See Also