StyleTagclassoutput.t[765]

Style tag. This defines an HTML-like tag that can be used in output text to display an author-customizable substitution string.

Each StyleTag object defines the name of the tag, which can be invoked in output text using the syntax "<.name>" - we require the period after the opening angle-bracket to plainly distinguish the sequence as a style tag, not a regular HTML tag.

Each StyleTag also defines the text string that should be substituted for each occurrence of the "<.name>" sequence in output text, and, optionally, another string that is substituted for occurrences of the "closing" version of the tag, invoked with the syntax "<./name>".

class StyleTag :   object

Superclass Tree   (in declaration order)

StyleTag
        object

Subclass Tree  

StyleTag
        HtmlStyleTag

Global Objects  

announceObjStyleTag  assumeStyleTag  notificationStyleTag  parserStyleTag  roomdescStyleTag  roomnameStyleTag  roomparaStyleTag  tipStyleTag 

Summary of Properties  

closeText  openText  tagName 

Summary of Methods  

(none)

Properties  

closeTextoutput.t[780]

Closing text - this is substituted for each instance of the tag with a '/' prefix (<./xxx>). Note that non-container tags don't have closing text at all.

openTextoutput.t[773]
opening text - this is substituted for each instance of the tag without a '/' prefix

tagNameoutput.t[767]
name of the tag - the tag appears in source text in <.xxx> notation

Methods  

(none)

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3