UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050517 
Firefox/1.0.4 (Debian package 1.0.4-2)
IP: 64.81.113.168
URI: http://wesnoth.slack.it/?DescriptionWML
 - - - - -
Index: DescriptionWML
===================================================================
RCS file: /home/wesnoth/cvsroot/wikiroot/DescriptionWML,v
retrieving revision 1.5
diff -u -r1.5 DescriptionWML
--- DescriptionWML      10 May 2005 12:46:47 -0000      1.5
+++ DescriptionWML      14 Jun 2005 16:24:31 -0000
@@ -1,21 +1,19 @@
 Descriptions are used to create menus with options that have text and an image
 (the image is called the //icon//).
 
-A description consists of:
+Descriptions are now described through macros, so a description should look 
like one of these:
 
-an '&' sign, followed by the filename of an icon, then an equal sign (||=||), 
then text.
+||{MENU_IMG_TXT2 //icon//}||
 
-The description will appear as the icon, followed by the text.
+||{MENU_IMG_TXT2 //icon// //text//}||
 
-If a key uses multiple descriptions, then they must be separated by 
semicolons(||;||).
-The default selection is preceded by a star(||*||).
+The description will appear as the image //icon//, followed by text //text// 
if applicable.
 
-For example:
-
-<tt>difficulty_descriptions="&elvish-fighter.png=Fighter,(easiest);*elvish-hero.png=Hero;&elvish-champion.png=Champion,(hardest)"</tt>
+Different descriptions are separated with the plus('+') sign.
+If a key uses multiple descriptions, then they must be separated by 
semicolons(||";"||).
+The default selection is preceded by a star(||"*"||).
 
-Preferably, images are included with macros from utils.cfg, and text should 
always be translatable, so the above would
-better be written as:
+For example:
 
 <tt>
 difficulty_descriptions={MENU_IMG_TXT2 elvish-fighter.png _"Fighter" 
_"(easiest)"} +




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

Reply via email to