Template:Demo/doc: Difference between revisions
(copy from https://dev.fandom.com/wiki/Template:Demo/doc) |
(No difference)
|
Latest revision as of 21:56, 26 September 2024
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}}