User:Yaris678/Markup/doc

This template is used to present markup or code side by side with the rendered output. It is very similar to the Markup template but the two columns output are both based on the same input. This makes this template easier to use but there are some situations where it doesn't work.

Parameters:
 * unnamed 1: Content of row 1, columns 1 and 2
 * unnamed 2: Content of row 2, columns 1 and 2
 * through


 * unnamed 19: Content of row 19, columns 1 and 2
 * unnamed 20: Content of row 20, columns 1 and 2


 * t1: Title of column one; defaults to Markup
 * t2: Title of column two; defaults to Renders as
 * title: Title of table; defaults to none
 * notitle: When set, suppresses table and column titles
 * margin: set table left margin in em

Examples of this template working
Simple example:

With title:

Image:

Named character:

Examples of this template not working
Template:

We want the left side to show 🇺🇸. The template is parsed before being passed to Lua so the nowiki function returns the lower-level code for the template.

Table:

As with the Markup template, the vertical bars within the table code are interpreted as separating inputs to the template.

Footnotes and section headings: {{User:Yaris678/Markup| The quick brown fox jumps over the lazy dog.{{#tag:ref|A footnote. |group=nb}} The cow jumped over the moon.{{fact}}

Recent edits
Hello, and welcome to Wikipedia. Your recent edit appears to have added the name of a non-notable entity. In general, a person or organization added to a list should have a pre-existing article to establish notability. If you wish to create such an article, please confirm that your subject is notable according to Wikipedia's notability guideline. Thank you! Yaris678 (talk) 21:02, 4 May 2013 (UTC) }}

Headings aren't parsed on the right if they are the first thing. (And adding white space doesn't help.) Signatures are are parsed even on the left. Ideally it would show ~ on the left and Example (talk), on the right.