Template:Preview warning

Revision as of 05:34, 5 August 2025 by Wikipedia>Theknightwho (Make substable.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit "Template:Preview warning/doc" to edit its documentation if it is available. (How does this work?)

Template:Preview warning emits a warning in preview. Modules should instead use the module interface _warning() in Module:If preview.

Usage

{{Preview warning|Warning text in preview}}

{{Preview warning|1=Warning text in preview}}

It will be prefaced by "Preview warning:" in bold. The template will emit an always-visible warning if no warning text is supplied.

Parameters

|1=
The warning text you want to provide.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Preview warning in articles based on its TemplateData.

TemplateData for Preview warning

Emits a warning in preview.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Warning text1

The warning text you want to provide.

Contentrequired

See also