Difference between revisions of "ReferenceWMLSyntax"

From The Battle for Wesnoth Wiki
 
m (formatting)
Line 7: Line 7:
 
* '''[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
Line 20: Line 20:
  
 
* [[ReferenceWML]]
 
* [[ReferenceWML]]
 
 
 

Revision as of 16:05, 31 August 2005

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

See Also