Difference between revisions of "Template:Automarkup/doc"
Jump to navigation
Jump to search
imported>Zyxw (update see also & categories) |
imported>Timrollpickering m (→See also: per Wikipedia:Categories for discussion/Log/2018 December 7, replaced: Template-related templates → Template namespace templates) |
||
| Line 19: | Line 19: | ||
[[Category:Template namespace templates]] | [[Category:Template namespace templates]] | ||
[[Category:Template test cases| ]] | [[Category:Template test cases| ]] | ||
| − | [[Category:Template | + | [[Category:Template namespace templates]] |
[[Category:Wikipedia utility templates]] | [[Category:Wikipedia utility templates]] | ||
[[Category:Wikitext processing templates]] | [[Category:Wikitext processing templates]] | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 21:47, 17 December 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>>}}}}
|
| ||||||
See also
- Template:Demo and Template:Demo-inline which use Module:Demo
- Template:Nowiki template demo which uses Module:Template test case