Game Element (Data): Difference between revisions
From HLKitWiki
Jump to navigationJump to search
Line 20: | Line 20: | ||
==Example== | ==Example== | ||
The following example demonstrates what a "game" element might look like. All default values are assumed for optional attributes. | The following example demonstrates what a "game" element might look like. All default values are assumed for omitted optional attributes. | ||
<pre> | <pre> | ||
Line 26: | Line 26: | ||
name="Sample Game Systems" | name="Sample Game Systems" | ||
publisher="Game Company" | publisher="Game Company" | ||
website="www.gamecompany.com"> | website="www.gamecompany.com" | ||
copyright="Copyright 2008 by Game Company"> | |||
</game> | </game> | ||
</pre> | </pre> |
Revision as of 03:55, 23 November 2008
Context: HL Kit … Kit Reference … Definition File Reference
The game system information section defines the name of the game system, the manufacturer, and copyright information. The XML element name is "game" and the complete list of attributes is below.
game Text – Name of the game system. Maximum length is 50 characters. publisher Text – Name of the manufacturer or publisher of the game system. Maximum length is 50 characters. website Text – URL of the publisher’s web-site. Maximum length is 100 characters. copyright (Optional) Text – Appropriate copyright and trademark declaration for the game system and data files. Maximum length is 250 characters. Default: Empty.
Example
The following example demonstrates what a "game" element might look like. All default values are assumed for omitted optional attributes.
<game name="Sample Game Systems" publisher="Game Company" website="www.gamecompany.com" copyright="Copyright 2008 by Game Company"> </game>