Template:Automarkup
Jump to navigation
Jump to search
Script error: No such module "Automarkup".
Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).
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>>}}}} |
Script error: No such module "Automarkup". |
See also
- Template:markup
- Template:mra, which addresses the same issue.
- Template:Demo and Template:Demo-inline which use Module:Demo
- Template:Nowiki template demo which uses Module:Template test case
This template is based (in parts) on the Template:Automarkup from the free encyclopedia wikipedia and is licensed under GNU license for free documentation and the Creative Commons Attribution/Share Alike. On wikipedia there is a List of authors accessible. More about importing from wikipedia on page Imedwiki:Importing from wikipedia.