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.8 diff -u -r1.8 DescriptionWML --- DescriptionWML 14 Jun 2005 20:02:34 -0000 1.8 +++ DescriptionWML 14 Jun 2005 20:07:37 -0000 @@ -8,13 +8,13 @@ ||"*"+|| if it should be the default selection -||"&"+//image//+"="+//texts//|| main description; different texts separated by ||+|| +||"&"+"//image//"+"="+//texts//|| main description; different texts separated by ||+|| for example: - difficulty_descriptions="&" +elvish-fighter.png + "=" + _"Fighter" + _"(easiest)" + - ";*" + "&" +elvish-hero.png + "=" + _"Hero" + ";" + - "&" +elvish-champion.png + _"Champion" + _"(hardest)" + difficulty_descriptions="&" + "elvish-fighter.png" + "=" + _"Fighter" + _"(easiest)" + + ";*" + "&" + "elvish-hero.png" + "=" + _"Hero" + ";" + + "&" + "elvish-champion.png" + _"Champion" + _"(hardest)" The utility macros(see UtilWML) @@ -24,9 +24,9 @@ can be used to create descriptions more easily. The above example would become: - difficulty_descriptions={MENU_IMG_TXT2 elvish-fighter.png _"Fighter" _"(easiest)"} + - ";*" + {MENU_IMG_TXT elvish-hero.png _"Hero"} + ";" + - {MENU_IMG_TXT2 elvish-champion.png _"Champion" _"(hardest)"} + difficulty_descriptions={MENU_IMG_TXT2 "elvish-fighter.png" _"Fighter" _"(easiest)"} + + ";*" + {MENU_IMG_TXT "elvish-hero.png" _"Hero"} + ";" + + {MENU_IMG_TXT2 "elvish-champion.png" _"Champion" _"(hardest)"} ||See Also||
_______________________________________________ Wesnoth-wiki-changes mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/wesnoth-wiki-changes
