Strict Standards: Declaration of action_plugin_importoldchangelog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /public_html/aaa/tmu/maniacreate/wiki/lib/plugins/importoldchangelog/action.php on line 8

Strict Standards: Declaration of action_plugin_useracl::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /public_html/aaa/tmu/maniacreate/wiki/lib/plugins/useracl/action.php on line 0

Deprecated: Assigning the return value of new by reference is deprecated in /public_html/aaa/tmu/maniacreate/wiki/inc/parserutils.php on line 202

Deprecated: Assigning the return value of new by reference is deprecated in /public_html/aaa/tmu/maniacreate/wiki/inc/parserutils.php on line 205

Deprecated: Assigning the return value of new by reference is deprecated in /public_html/aaa/tmu/maniacreate/wiki/inc/parserutils.php on line 314

Deprecated: Assigning the return value of new by reference is deprecated in /public_html/aaa/tmu/maniacreate/wiki/inc/parserutils.php on line 454

Strict Standards: Declaration of cache_instructions::retrieveCache() should be compatible with cache::retrieveCache($clean = true) in /public_html/aaa/tmu/maniacreate/wiki/inc/cache.php on line 291

Deprecated: Function split() is deprecated in /public_html/aaa/tmu/maniacreate/wiki/inc/auth.php on line 146

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /public_html/aaa/tmu/maniacreate/wiki/inc/auth.php on line 390

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /public_html/aaa/tmu/maniacreate/wiki/inc/auth.php on line 390

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /public_html/aaa/tmu/maniacreate/wiki/inc/auth.php on line 387

Strict Standards: Only variables should be passed by reference in /public_html/aaa/tmu/maniacreate/wiki/doku.php on line 69
xml [Manialinks Creator's Wiki]
 

Deprecated: Assigning the return value of new by reference is deprecated in /public_html/aaa/tmu/maniacreate/wiki/inc/parser/parser.php on line 66

Deprecated: Assigning the return value of new by reference is deprecated in /public_html/aaa/tmu/maniacreate/wiki/inc/parser/lexer.php on line 292

Deprecated: Assigning the return value of new by reference is deprecated in /public_html/aaa/tmu/maniacreate/wiki/inc/parser/handler.php on line 22

Deprecated: Assigning the return value of new by reference is deprecated in /public_html/aaa/tmu/maniacreate/wiki/inc/parser/handler.php on line 44

Deprecated: Assigning the return value of new by reference is deprecated in /public_html/aaa/tmu/maniacreate/wiki/inc/parser/handler.php on line 208

Deprecated: Assigning the return value of new by reference is deprecated in /public_html/aaa/tmu/maniacreate/wiki/inc/parser/handler.php on line 236

Deprecated: Assigning the return value of new by reference is deprecated in /public_html/aaa/tmu/maniacreate/wiki/inc/parser/handler.php on line 290

Deprecated: Assigning the return value of new by reference is deprecated in /public_html/aaa/tmu/maniacreate/wiki/inc/parser/handler.php on line 323

Deprecated: Assigning the return value of new by reference is deprecated in /public_html/aaa/tmu/maniacreate/wiki/inc/parser/handler.php on line 560

Deprecated: Assigning the return value of new by reference is deprecated in /public_html/aaa/tmu/maniacreate/wiki/inc/parser/xhtml.php on line 980

Balises et Attributs

(à verifier) uniquement pour le navigateur de mL dans le jeu. Pas les manialinks dans les courses.

  • manialink
    • type
    • format
    • textsize
    • posx (ne fonctionne pas)
    • posy (ne fonctionne pas)
  • background
    • bgcolor
    • bgborderx
    • bgbordery
  • line
    • width
    • height
    • bgcolor (ne fonctionne pas)
  • cell
    • width
    • height
    • bgcolor
  • icon
    • url
    • manialink
    • width
    • height
    • halign
    • valign ?
  • text
    • textsize
    • textcolor
    • halign (left, center, right)
    • valign ?

Mise en forme

  • $i: italique
  • $s: police ombrée
  • $w: écartement large
  • $n: écartement serré
  • $m: écartement normal
  • $g: couleur par défaut
  • $z: tout par défaut
  • $$: pour écrire un “$”
  • $000 à $fff: couleur, quelques exemples:
    • $000: noir
    • $f00: rouge
    • $0f0: vert
    • $00f: bleu
    • $f80: orange
    • $ff0: jaune
    • $f0f: rose
    • $0ff: bleu clair
    • $888: gris
    • $fff: blanc

XML Schema (by Gehef)

Voir ici: http://www.trackmania-lejeu.com/forum/viewtopic.php?t=20170

Je n’ai pas utilisé son shéma, parcque mon hébérgeur n’est pas à PHP 5, c’est trop contraignant en l’état des choses actuel. Mais il n’est pas exclut que je change de serveur...

<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ml="http://www.tm-united.com/manialink" targetNamespace="http://www.tm-united.com/manialink" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<element name="manialink">
		<complexType>
			<sequence>
				<element name="type" minOccurs="0">
					<simpleType>
						<restriction base="string">
							<enumeration value="default"/>
						</restriction>
					</simpleType>
				</element>
				<element name="background" minOccurs="0">
					<complexType>
						<attribute name="bgcolor" use="optional">
							<simpleType>
								<restriction base="ml:color"/>
							</simpleType>
						</attribute>
						<attribute name="bgborderx" type="ml:size" use="optional"/>
						<attribute name="bgbordery" type="ml:size" use="optional"/>
					</complexType>
				</element>
				<element name="format" minOccurs="0">
					<complexType>
						<attribute name="textsize" type="ml:textsize" use="optional"/>
						<attribute name="textcolor" type="ml:color" use="optional"/>
					</complexType>
				</element>
				<element ref="ml:line" minOccurs="0" maxOccurs="unbounded"/>
			</sequence>
		</complexType>
	</element>
	<element name="line">
		<complexType>
			<sequence>
				<element ref="ml:cell" minOccurs="0" maxOccurs="unbounded"/>
			</sequence>
			<attribute name="width" type="ml:size" use="optional"/>
			<attribute name="height" type="ml:size" use="optional"/>
			<attribute name="bgcolor" type="ml:color" use="optional"/>
		</complexType>
	</element>
	<element name="cell">
		<complexType>
			<choice minOccurs="0">
				<element name="text">
					<complexType>
						<simpleContent>
							<extension base="string">
								<attribute name="textsize" type="ml:textsize" use="optional"/>
								<attribute name="textcolor" type="ml:color" use="optional"/>
								<attribute name="halign" type="ml:halignement" use="optional"/>
							</extension>
						</simpleContent>
					</complexType>
				</element>
				<element name="icon">
					<complexType>
						<simpleContent>
							<extension base="string">
								<attribute name="width" type="ml:size" use="optional"/>
								<attribute name="height" type="ml:size" use="optional"/>
								<attribute name="halign" type="ml:halignement" use="optional"/>
								<attribute name="url" type="string" use="optional"/>
								<attribute name="manialink" type="string" use="optional"/>
							</extension>
						</simpleContent>
					</complexType>
				</element>
				<element name="video" type="ml:multimedia_item"/>
				<element name="audio" type="ml:multimedia_item"/>
			</choice>
			<attribute name="width" type="ml:size" use="optional"/>
			<attribute name="height" type="ml:size" use="optional"/>
			<attribute name="bgcolor" type="ml:color" use="optional"/>
		</complexType>
	</element>
	<complexType name="multimedia_item">
		<simpleContent>
			<extension base="string">
				<attribute name="width" type="ml:size" use="optional"/>
				<attribute name="height" type="ml:size" use="optional"/>
				<attribute name="halign" type="ml:halignement" use="optional"/>
				<attribute name="play" use="optional">
					<simpleType>
						<restriction base="string">
							<enumeration value="0"/>
							<enumeration value="1"/>
						</restriction>
					</simpleType>
				</attribute>
			</extension>
		</simpleContent>
	</complexType>
	<simpleType name="color">
		<restriction base="string">
			<length value="4"/>
			<pattern value="[a-fA-F0-9]*"/>
		</restriction>
	</simpleType>
	<simpleType name="halignement">
		<restriction base="string">
			<enumeration value="left"/>
			<enumeration value="center"/>
			<enumeration value="right"/>
		</restriction>
	</simpleType>
	<simpleType name="size">
		<restriction base="decimal">
			<minExclusive value="0" fixed="false"/>
		</restriction>
	</simpleType>
	<simpleType name="textsize">
		<restriction base="nonNegativeInteger"/></simpleType></schema>

A COMPLETER

 
xml.txt · Dernière modification: 06-03-2007 14:39 par admin
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki

Strict Standards: Only variables should be passed by reference in /public_html/aaa/tmu/maniacreate/wiki/doku.php on line 77