Difference between revisions of "Template:Automarkup"

From blackwiki
Jump to navigation Jump to search
imported>Petr Matas
(Created page with '{{#invoke:Automarkup|main}}<noinclude> {{doc}} </noinclude>')
 
imported>Petr Matas
 
Line 1: Line 1:
{{#invoke:Automarkup|main}}<noinclude>
+
<nowiki />{{#invoke:Automarkup|main}}<noinclude>
 
{{doc}}
 
{{doc}}
 
</noinclude>
 
</noinclude>

Latest revision as of 17:21, 14 December 2015

Markup Renders as
Template documentation[view] [edit] [history] [purge]

This template, as with {{Markup}}, presents markup or code side by side with the output it would render. However, the difference from the {{Markup}} template is you don't have to write the code examples twice. Although this saves time, the {{Automarkup}} template is more limited: it is not possible to use the Wiki markup <nowiki> tag to disable certain markup's function; other means have to be used, such as the templates {{((}}, {{!}}, {{))}} or {{Make code}}.

Usage

Markup Renders as
{{Automarkup|{{Make code|<<As of!2015>>}}}}

Markup Renders as
[[:Template:MultiReplace]]

See also