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:Codex demo/doc

From Wikipedia, the free encyclopedia

This template allows for previewing how other templates might appear in Codex interface messages. Intended for doc and testcase pages.

Usage

[edit]

General case to enable demo calls of a template used in Codex interface messages:

{{Codex demo|text=
|cdxType=simulated message type
}}

Examples

[edit]
{{Codex demo|text=
Foo
|cdxType=error
}}

Template data

[edit]

No description.

Template parameters

ParameterDescriptionTypeStatus
Text1 text content

What to wrap in codex messaging

Unknownrequired
Codexcdx

Whether to wrap in the Codex message (i.e. for demoing)

Default
no
Booleanoptional
Message typecdxType

Type of message for the Codex demo

Unknownoptional
Divdiv

Whether the text is wrapped in a div tag

Unknownoptional