Template:Markup example/doc

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
This is the documentation subpage of Template:Markup example. It contains usage information that is not part of the underlying template.
{{Markup example|<nowiki>...</nowiki>}}

Renders a side-by-side view of some raw wiki markup and what it will look like when saved to a page. This can be used to demonstrate basic wikitext functions, as well as for displaying live examples of template usage within documentation.

Parameters

unnamed parameter 1
Markup content. Usually this will be wrapped with a <nowiki> tag to prevent premature expansion.
inline
Optional. If y, preview will be rendered with an inline code block and an arrow, rather than as a side-by-side table.
list
Optional. If y, each line of input will be interpreted as a single markup example, and all the lines will be rendered in a list of inline examples. Very useful for dense template example pages, such as {{game icon}}.