Home

textthumbCaption

TextthumbCaption is a parameter used in some wiki templates to specify the caption text that accompanies a thumbnail image. It is not part of the core MediaWiki software, but a convention adopted by custom templates and extensions to separate caption handling from other image rendering options. In template-driven wikis, image rendering often includes file name, size, alignment, and caption; a dedicated textthumbCaption parameter allows authors to store and manipulate the visible caption text independently of the image source or styling commands.

Typical usage involves assigning the caption text to the textthumbCaption field within a template call. For

Rationale and benefits include easier translation workflows, more consistent styling across galleries, and improved accessibility by

Limitations and compatibility: textthumbCaption is not a standardized feature across all wikis. Its support depends on

example,
a
template
that
renders
thumbnails
might
look
like
{{Thumbnail|Image.jpg|textthumbCaption=An
example
image|width=200px}}.
Some
templates
also
provide
a
separate
caption
parameter
or
use
textthumbCaption
in
combination
with
other
parameters
to
support
localization,
formatting,
or
accessibility
needs.
enabling
targeted
handling
of
caption
text.
Separating
caption
text
into
a
distinct
parameter
allows
templates
to
apply
specific
CSS
classes
or
markup
to
captions
while
keeping
the
image
rendering
logic
intact.
the
specific
template
or
extension
in
use,
and
without
a
compatible
implementation,
the
parameter
may
be
ignored.
When
editing,
consult
the
template
documentation
for
the
correct
parameter
name,
behavior,
and
any
syntax
nuances.
Related
concepts
include
thumbnail
formatting,
caption,
alt
text,
and
template-based
image
rendering.