الگو:دمو
این الگو از لوآ استفاده میکند: |
استفاده
ویرایشThis template simply places template code in a <pre>...</pre>
tag and then places the template below the pre tag.
{{دمو |br = |demo_kill_categories = |<nowiki>{{your template}}</nowiki> }}
IMPORTANT: You must wrap include <nowiki>...</nowiki>
tags around the source to be demonstrated (or use {{escape}}, which has a demo-escape example), like so:
{{دمو|<nowiki>[template source]</nowiki>}}
- Failure to wrap
<nowiki>...</nowiki>
tags around the source may cause the source to be executed before it reaches this template:✗ ناموفق
✗ ناموفق