الگو:دمو/توضیحات
آخرین ویرایش :
۲۶ اردیبهشت ۱۴۰۱
| این زیرصفحهٔ مستندات الگو:دمو است. این شامل اطلاعات استفاده، الگوها، پیوندهای بین زبانی و سایر اطلاعات است که در اصل الگو صفحه قرار نمیگیرد. |
| این الگو از لوآ استفاده میکند: |
استفاده
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:✗ Fail
✗ Fail