templatename — The identifier for a template, in the generic programming sense.


templatename ::=


Common attributes and common linking attributes.

No additional attributes.


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.


Common attributes and common linking attributes.

any attribute

Any attribute in any other explicit namespace


These elements contain templatename: bridgehead, caption (db.html.caption), citation, citetitle, classsynopsis, classsynopsisinfo, code, contrib, emphasis (db.emphasis), entry, enumitemdescription, fieldsynopsis, firstterm (db.firstterm), funcdef, funcsynopsisinfo, glosssee, glossseealso, glossterm (db.glossterm), link, literallayout, macrodef, member, meta (db.meta.content), methodparam, methodsynopsis, olink, orgdiv, para, paramdef, phrase (db.phrase), primary, primaryie, programlisting, quote (db.quote), refdescriptor, refentrytitle, refname, refpurpose, remark, screen, secondary, secondaryie, see, seealso, seealsoie, seeie, seg, segtitle, simpara, subtitle, synopsis, synopsisinfo, td, template, term, termdef, tertiary, tertiaryie, th, title, titleabbrev, tocentry, type.


The following elements occur in templatename: text, abbrev, acronym, alt, anchor, annotation, 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, replaceable, subscript, superscript, trademark, wordasword, xref.


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>

The widget template is instantiated to compose widgets.