Template:Demo/Doc

This template is used to create a demonstration of a mediawiki technique.

It shows both what you type and what you get. Such as:

I want this in bold

With mediawiki markup you only have to type the demonstration once, like this: I want this in italic to get: I want this in italic

If your demonstration includes a call to template, include it twice and put the first call inside 's, like this:

&lt;/nowiki> To get: undefined

If you don't use 's, the template will be expanded in the "You type" section.

For clarity the first and second use of the demonstration text are aligned under each other. That way you when you are editing the text, can see that they are character identical. In order to avoid an extra blank line, the line break is commented out with.

If you want to include multiple examples in one table, use Template:Demo table.