User:Levi OP/Templates/Wiki Source Render/doc

Usage
is a template used to show code examples of wikitext along with rendered version of the code. It could be used on the talk page of an article, or on a project page, to show how certain code runs and works.

Parameters
1 The wikitext that will be displayed on the right left side of the example. This text will also automatically be rendered adjacent to the plain text, if no separate text to be rendered is provided. (see directly below)

2 The wikitext to be rendered on the right side of the example. This is an optional parameter for examples where you want the back-end code to differ from the code in the example for a technical reason. For example, if you have a heading in your example, you want to use Fake heading in this argument so that the heading in your example is not added to the table of contents of the page.

title takes text, and displays it as the label on the top of the table.

Examples
Using only 1:

Using 1 and 2: {{User:Levi_OP/Templates/Wiki Source Render|&lt;nowiki>

Heading
Here is some text

And now a new line &lt;/nowiki>|&lt;nowiki>

Here is some text

And now a new line &lt;/nowiki>}} {{User:Levi_OP/Templates/Wiki Source Render|

Heading
Here is some text

And now a new line |

Here is some text

And now a new line }}

Using title: