模板: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
上述文件嵌入自Template:Automarkup/doc。 (編輯 | 歷史) 編者可以在本模板的沙盒 (建立 | 鏡像)和測試樣例 (建立)頁面進行實驗。 請在/doc子頁面中添加分類。本模板的子頁面。 |