Difference between revisions of "Template:Automarkup/doc"
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 [[ | + | 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><nowiki></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 is a documentation subpage for Template:Automarkup. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
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>>}}}}
|
| ||||||