Template:demo/documentation

This template displays Wikicode followed by the output of the Wikicode below it. It is similar to but more powerful than temp demo.

Examples
1. A simple example:

&lt;nowiki>&lt;/nowiki> results in the following (not including the horizontal separators):

undefined

2. A more complex example:

&lt;nowiki>&lt;/nowiki> results in the following (not including the horizontal separators):

undefined

Parameters

 * 1
 * The Wikicode, which must be wrapped in.


 * sep
 * The text separating the Wikicode and its output (default is blank). Use  to force extra blank lines.


 * br
 * The number of blank lines separating the Wikicode from its output, if sep is not supplied.


 * 1
 * If specified, place the output above the Wikicode.


 * 1
 * If specified, remove categories output by the Wikicode, to avoid the documentation page containing the demo from being put in a category.


 * style
 * The syntax highlighting style; passed directly to the  extension tag.