Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:Preview warning/doc

From Wikipedia, the free encyclopedia

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

Usage

[edit]

{{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

[edit]
|1=
The warning text you want to provide.

TemplateData

[edit]
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

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Warning text1

The warning text you want to provide.

Contentrequired

See also

[edit]