قالب:Automarkup/doc
| هذه صفحة توثيق فرعية لـ قالب:Automarkup. تتضمن معلومات الاستعمال، التصنيفات وأي محتوى آخر ليس من محتويات الأصل لصفحة القالب. |
| 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>>}}}}
|
خطأ: لا توجد وحدة بهذا الاسم "Automarkup". |
See also
- {{Markup}}
- {{mra}}, which addresses the same issue.
- {{Demo}} and {{Demo-inline}}, which use Module:Demo
- {{Nowiki template demo}}, which uses Module:Template test case