UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.8) 
Gecko/20050511 Firefox/1.0.4
IP: 198.54.202.234
URI: http://wesnoth.slack.it/?SyntaxWML
 - - - - -
Index: SyntaxWML
===================================================================
RCS file: /home/wesnoth/cvsroot/wikiroot/SyntaxWML,v
retrieving revision 1.17
diff -u -r1.17 SyntaxWML
--- SyntaxWML   22 Jun 2005 09:33:00 -0000      1.17
+++ SyntaxWML   22 Jun 2005 09:43:39 -0000
@@ -9,17 +9,18 @@
 * ||[+//tag-name//] //data// [///tag-name//]|| means that //data//
 will be considered as part of the data for the most recent [//tagname//]
 * ||//key//=//value//|| is an attribute.
-When this line is processed,
-the value of //key// for the tag that the attribute is in is set to //value//.
-(All text from '=' until the end of the line is considered to be part of 
//value//, although //value// may be enclosed
-in quotes ( " ) to allow multiple-line
-values.)
+When this line is processed, the value of //key// for the tag
+that the attribute is in is set to //value//.
+(All text from '=' until the end of the line is considered to be
+part of //value//, although //value// may be enclosed
+in quotes ( " ) to allow multiple-line values.)
 Note that //key// is not a WML variable;
-the value it is set to has a use which is determined by C++ code, not WML code.
-In order to change the value of a WML variable,
+the value it is set to has a use which is determined by C++ code,
+not WML code. In order to change the value of a WML variable,
 you need to use ||[set_variable]|| (see InternalActionsWML).
 ||There should be no space between the key and the '=' symbol!||
-If there is whitespace, the attribute assignment currently seems to be ignored.
+If there is whitespace, the attribute assignment is ignored.
+Also note that the key cannot contain whitespace.
 * ||//translatable-key//= _ "//text//"|| is another attribute.
 //text// is English text that will be displayed in-game at some point.
 Gettext (see GetText) is used to determine what to display if English is not 
the current language.




_______________________________________________
Wesnoth-wiki-changes mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/wesnoth-wiki-changes

Reply via email to