Defines a default value for use with the <tmplinsert> tag. In
case the <tmplinsert> tag can't find a tag in the content
file it will use the default value for that tag, as defined with
<tmpldefault>.
tag=name
The name of the tag.
Attributes
- tag=name
-
The name of the tag.
<tmpldefault tag=title>
No title.
</tmpldefault>
<tmpldefault tag=type>
HTML
</tmpldefault>
The title is <tmplinsert tag=title>.
The document is a <tmplinsert tag=type> document.
...
Hello World
Hi there
"=> >
The title is Hello World.
The document is a HTML document.
Example
<tmpldefault tag=title>
No title.
</tmpldefault>
<tmpldefault tag=type>
HTML
</tmpldefault>
The title is <tmplinsert tag=title>.
The document is a <tmplinsert tag=type> document.
...
Hello World
Hi there
"=> >
The title is Hello World.
The document is a HTML document.
|