Template:Demo inline/doc
This is a documentation subpage for Template:Demo inline. It contains usage information, categories, and other content that is not part of the original template page. |
Uses Lua: |
Purpose[edit]
This template shows the result of applying a given wikitext. It is useful for testing and demonstrating wikitext codes, templates and parser functions.
Usage[edit]
Fill 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]
Template:Demo[edit]
- abc
''abc''
- 12
{{#expr:3*4}}
- abcabc
{{2x|abc}}
- 1212
{{2x|{{#expr:3*4}}}}
- 132
{{#expr:{{2x|3}}*4}}
Template:Automarkup[edit]
- abc
''abc''
- 12
{{#expr:3*4}}
- abcabc
{{2x|abc}}
- 1212
{{2x|{{#expr:3*4}}}}
- 132
{{#expr:{{2x|3}}*4}}
See also[edit]
Notes[edit]
- ↑ For technical reasons the template could not be made such that the
<nowiki>
and</nowiki>
would not be needed.