Difference between revisions of "Template:Automarkup/doc"

From blackwiki
Jump to navigation Jump to search
imported>Geekdiva
m (Misc copy and readability edits.)
imported>FeRDNYC
m (Disambiguate "code")
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
{{lua|Module:Automarkup}}
 
{{lua|Module:Automarkup}}
This template, as with {{tl|Markup}}, presents [[Markup language|markup]] or [[Code (computer programming)|code]] side by side with the [[Output (computing)|output]] it would render. However, the difference from the <nowiki>{{Markup}}</nowiki> template is you don't have to write the code examples twice. Although this saves time, the <nowiki>{{Automarkup}}</nowiki> template is more limited: it is not possible to use the [[Wiki markup]] <code>&lt;nowiki&gt;</code> tag to disable certain markup's function; other means have to be used, such as the templates {{tl|((}}, {{tl|!}}, {{tl|))}} or {{tl|Make code}}.
+
This template, as with {{tl|Markup}}, presents [[Markup language|markup]] or [[Source code|code]] side by side with the [[Output (computing)|output]] it would render. However, the difference from the <nowiki>{{Markup}}</nowiki> template is you don't have to write the code examples twice. Although this saves time, the <nowiki>{{Automarkup}}</nowiki> template is more limited: it is not possible to use the [[Wiki markup]] <code>&lt;nowiki&gt;</code> tag to disable certain markup's function; other means have to be used, such as the templates {{tl|((}}, {{tl|!}}, {{tl|))}} or {{tl|Make code}}.
  
 
== Usage ==
 
== Usage ==

Revision as of 09:27, 5 July 2018

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]]