Template:Automarkup/doc
This is a documentation subpage for Template:Automarkup. It may contain 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 asLua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value). |
---|---|
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