Jump to content

Template:Automarkup/doc

From Simple English Wikipedia, the free encyclopedia
Revision as of 23:51, 8 August 2021 by imported>MeritedElm63160 (Created page with "{{Documentation subpage}} {{lua|Module:Automarkup}} This template, as with {{tl|Markup}}, presents markup or code side by side with the 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

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

Markup Renders as
{{As of|2015}}

As of 2015

Related pages[change]