dev
Documentation icon Template documentation
[view] [edit] [history] [purge]

Note: parts of or the entire template might not be visible without values provided.

Demo is a template that demonstrates how a piece of wikitext renders on a page. It is a copy of Wikpedia's demo template.

Usage

The template takes one unnamed argument: a wikitext wrapped in nowiki tags. It will display the entered wikitext in a pre block and the rendered output below it.

For example, the code

{{demo|'''Bold Text'''}}

creates the following demo:

'''Bold Text'''

Bold Text

TemplateData

Demonstrates how a piece of wikitext renders on a page.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Content1

The wikitext to use. Must be wrapped in nowiki tags.

Contentrequired

See also