TQS Home
Trivia Quiz Shell Version 2.8 Now Available!Bot Productions Home
 
TQS 2.0

Back to Reference

WORD Element

Contains an individual hangman phrase, which is presented to the user.

Syntax
<WORD>word</WORD>
Attributes

None.

Placement

The WORD element must be a child of the HANGMAN element within an individual location element.

Children

No children are supported within the WORD element.

Remarks

The contents of this element is not limited to a single word, but can be a phrase or sentence.

TQS will display the guessable characters of this word/phrase as hyphens; when the user selects a letter that is in the phrase, that letter will be displayed. In TQS 2.0, the set of guessable letters is the standard 26-letter English alphabet. In versions 2.1 and later, the CHARSET attribute of the HANGMAN element may be used to specify an alternative character set.

Examples

The following will be displayed as ----- ----- ----

<HANGMAN>
  <WORD>THREE BLIND MICE</WORD>
  ...
</HANGMAN>

The following will be displayed as 3 -lind -ice

<HANGMAN>
  <WORD>3 Blind Mice</WORD>
  ...
</HANGMAN>

In TQS 2.1 and later, the following will be displayed as ---- ------------ ---

<HANGMAN
  CHARSET="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789">
  <WORD>1600 PENNSYLVANIA AVE</WORD>
  ...
</HANGMAN>


©2016 Bot Productions. All rights reserved.Last Updated: January 5, 2006