Difference between revisions of "ReferenceWMLSyntax"

From The Battle for Wesnoth Wiki
m (formatting)
(I hope this falls under wiki syntax - added notes for WML version control)
Line 16: Line 16:
 
  [/tag]
 
  [/tag]
 
  key2=value
 
  key2=value
 +
 +
== Reminders ==
 +
 +
For WML features not present in the 1.0 branch, please precede the reference text with the template <nowiki>{{DevFeature}}</nowiki>.  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 <nowiki>{{DevFeature}}</nowiki>.
 +
 +
The <nowiki>{{DevFeature}}</nowiki> code turns into this: {{DevFeature}} (dynamically updated from the template page [[Template:DevFeature]])
  
 
== See Also ==
 
== See Also ==
  
 
* [[ReferenceWML]]
 
* [[ReferenceWML]]

Revision as of 04:55, 29 January 2006

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