Template:Codex demo
Appearance
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | 1 text content | What to wrap in codex messaging | Unknown | required |
| Codex | cdx | Whether to wrap in the Codex message (i.e. for demoing)
| Boolean | optional |
| Message type | cdxType | Type of message for the Codex demo | Unknown | optional |
| Div | div | Whether the text is wrapped in a div tag | Unknown | optional |