Template:Automarkup/doc: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
 
m (1 revision imported: Templates and CSS files)
 
(No difference)

Latest revision as of 18:16, 4 December 2022

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
{{As of|2015}}

As of 2015

See also