Template:Demo/doc
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:
Lua error in package.lua at line 80: module 'Dev:Arguments' not found.
TemplateData
Demonstrates how a piece of wikitext renders on a page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Content | 1 | The wikitext to use. Must be wrapped in nowiki tags. | Content | required |
See also
- {{Demo inline}}