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

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

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

Usage

Same as {{demo}}, this template accepts one unnamed argument in nowiki tags. It will show the output of the argument in the same line.

For example, the code

{{demo inline|<nowiki>{{convert|2|mi|km}}</nowiki>}}

creates the following demo:

{{convert|2|mi|km}} → 2 miles (3.2 km)

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