模板:Automarkup/doc
外观
此页面是Template:Automarkup的模板文档。 此页面可能包含了模板的使用说明、分类和其他内容。 |
此模板使用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}}.
使用
[编辑]代码 | 效果 | ||||||
---|---|---|---|---|---|---|---|
{{Automarkup|{{((}}As of{{!}}2015{{))}}}} |
| ||||||
使用
[编辑]参见
[编辑]- Template:Demo、Template:Demo-inline,使用Module:Demo
- Template:Nowiki template demo,使用Module:Template test case