Template:Demo inline
Uses Lua: |
Purpose
editThis template shows the result of applying a given wikitext. It is useful for testing and demonstrating wikitext codes, templates and parser functions.
Usage
editFill in the wikitext at the dots:[1]
{{demo inline|<nowiki>...</nowiki>}}
Examples
edit''abc''
→ abc{{#expr:3*4}}
→ 12{{2x|abc}}
→ abcabc{{2x|{{#expr:3*4}}}}
→ 1212{{#expr:{{2x|3}}*4}}
→ 132
Similar templates
edit- abc
''abc''
- 12
{{#expr:3*4}}
- abcabc
{{2x|abc}}
- 1212
{{2x|{{#expr:3*4}}}}
- 132
{{#expr:{{2x|3}}*4}}
- abc
''abc''
- 12
{{#expr:3*4}}
- abcabc
{{2x|abc}}
- 1212
{{2x|{{#expr:3*4}}}}
- 132
{{#expr:{{2x|3}}*4}}
See also
editNotes
edit- ↑ For technical reasons the template could not be made such that the
<nowiki>
and</nowiki>
would not be needed.