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
  • ''abc''
    
    abc
  • {{#expr:3*4}}
    
    12
  • {{2x|abc}}
    
    abcabc
  • {{2x|{{#expr:3*4}}}}
    
    1212
  • {{#expr:{{2x|3}}*4}}
    
    132
  • ''abc''
    
    abc
  • {{#expr:3*4}}
    
    12
  • {{2x|abc}}
    
    abcabc
  • {{2x|{{#expr:3*4}}}}
    
    1212
  • {{#expr:{{2x|3}}*4}}
    
    132


See also

edit

Notes

edit
  1. For technical reasons the template could not be made such that the <nowiki> and </nowiki> would not be needed.