跳至內容

模板:Automarkup

維基百科,自由的百科全書

原始碼 效果
文件圖示 模板文件[檢視] [編輯] [歷史] [清除快取]

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{{))}}}}

原始碼 效果
{{As of|2015}}

截至2015年 (2015-Missing required parameter 1=month!)

使用[編輯]

參見[編輯]