قالب:خطأ/شرح

من أرابيكا، الموسوعة الحرة
اذهب إلى التنقل اذهب إلى البحث

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

شاهد أيضا