موضيل:إيرور

من ويكيپيديا

{{{1}}}

شرح د لقالب[شوف] [عدل] [تاريخ] [تحديت]
Information icon4.svg قالب ؤلا شرح لقالب مامطرجمش. عافاك عاون ف طّرجامة ديالو.


Create a parser function error message.

تخدام[بدل لكود]

  • {{خطأ|An examplary error}}An examplary error
  • Compare: {{#expr:Foo}}خطأ في التعبير: كلمة ما معروفاش "foo"
  • {{#iferror:{{خطأ|Foo}} | {{نعم}} | {{لا}} }}Yes Check Circle.svg

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

شوف تا[بدل لكود]