قالب:خطأ/شرح
من أرابيكا، الموسوعة العربية الحرة
المزيد من اللغات
المزيد من الإجراءات
< قالب:خطأ
| هذه صفحة توثيق قالب:خطأ الفرعية، لشرح القالب وتصنيفه، وهي لا تدخل في استخدامه. |
Create a parser function error message.
الاستخدام
{{خطأ|An examplary error}}→ An examplary error- Compare:
{{#expr:Foo}}→ خطأ في التعبير: كلمة لم نتعرف عليها «foo». {{#iferror:{{خطأ|Foo}} | {{نعم}} | {{لا}} }}→
The tag to contain the error message can be given through the tag parameter, but it will only accept span, div, p, and strong, since those are the only tags recognized by the #iferror parser function. It defaults to strong, the tag genereated e.g. by #expre.
{{خطأ|An examplary error span|tag=span}}→ An examplary error span
شاهد أيضا