wesnoth-wiki-changes
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-wiki-changes] SyntaxWML


From: wiki
Subject: [Wesnoth-wiki-changes] SyntaxWML
Date: Sat, 16 Oct 2004 19:17 +0200

UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/125.4 
(KHTML, like Gecko) Safari/125.9
IP: 66.189.14.56
URI: http://wesnoth.slack.it/?SyntaxWML
 - - - - -
Index: SyntaxWML
===================================================================
RCS file: /home/wesnoth/cvsroot/wikiroot/SyntaxWML,v
retrieving revision 1.13
diff -u -r1.13 SyntaxWML
--- SyntaxWML   4 Sep 2004 22:56:56 -0000       1.13
+++ SyntaxWML   16 Oct 2004 17:17:09 -0000
@@ -11,10 +11,14 @@
 * ||//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//.)
+(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, you need to use 
||[set_variable]||(InternalActionsWML).
+* ||//key//=$//variable-name//|| is an another attribute.
+When this line is processed,
+the value of //key// for the tag that the attribute is in is set to the value 
of the WML variable //variable-name// (see VariablesWML, InternalActionsWML)
 * ||//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.
@@ -65,9 +69,6 @@
 
 * PreprocessorRef
 * ReferenceWML
-
-
-
 
 
 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]