V5.2templatename
templatename — The identifier for a template, in the generic programming sense.
Synopsis
templatename ::=
- Zero or more of:
- text
- Graphic inlines
- Indexing inlines
- Linking inlines
- Ubiquitous inlines
abbrev
acronym
alt
anchor
biblioref
coref
date
emphasis
(db._emphasis)firstterm
(db._firstterm)footnote
footnoteref
foreignphrase
(db._foreignphrase)glossterm
(db._glossterm)indexterm
(db.indexterm.endofrange)indexterm
(db.indexterm.singular)indexterm
(db.indexterm.startofrange)inlinemediaobject
link
olink
phrase
(db._phrase)quote
(db._quote)remark
subscript
superscript
trademark
wordasword
xref
Attributes
Common attributes and common linking attributes.
No additional attributes.
Description
The templatename
tag is used to identify the name of
a template. This is likely to occur only in documentation about
programming systems.
Processing expectations
Formatted inline.
Attributes
Common attributes and common linking attributes.
- any attribute
Any attribute in any other explicit namespace
Parents
These elements contain templatename
: bridgehead
, citation
, citetitle
, contrib
, emphasis
(db.emphasis), entry
, firstterm
(db.firstterm), glosssee
, glossseealso
, glossterm
(db.glossterm), inlinestagedir
, line
, link
, literallayout
, member
, meta
(db.meta.content), olink
, orgdiv
, para
, phrase
(db.phrase), primary
, quote
(db.quote), remark
, secondary
, see
, seealso
, simpara
, subtitle
, term
, termdef
, tertiary
, title
, titleabbrev
.
Children
The following elements occur in templatename
: text, abbrev
, acronym
, alt
, anchor
, biblioref
, coref
, date
, emphasis
(db._emphasis), firstterm
(db._firstterm), footnote
, footnoteref
, foreignphrase
(db._foreignphrase), glossterm
(db._glossterm), indexterm
(db.indexterm.endofrange), indexterm
(db.indexterm.singular), indexterm
(db.indexterm.startofrange), inlinemediaobject
, link
, olink
, phrase
(db._phrase), quote
(db._quote), remark
, subscript
, superscript
, trademark
, wordasword
, xref
.
Examples
1 |<article xmlns='http://docbook.org/ns/docbook'>
|<title>Example templatename</title>
||
<para>The <templatename>widget</templatename> template is instantiated
5 |to compose widgets.</para>
||
</article>
The widget
template is instantiated
to compose widgets.