Difference between revisions of "Template:Automarkup"
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 |
|---|---|
| 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>>}}}}
|
| ||||||
See also
- Template:Demo and Template:Demo-inline which use Module:Demo
- Template:Nowiki template demo which uses Module:Template test case
| The above documentation is transcluded from Template:Automarkup/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |