قالب:Error/doc

من ويكيبيديا، الموسوعه الحره

Create a parser function error message.

Usage[تعديل]

  • {{error|An examplary error}}
  • Compare: {{#expr:Foo}}غلط تعبيري: كلمة مش متعرف عليها "foo"
  • {{#iferror:{{error|Foo}} | {{y}} | {{n}} }}Green tickY

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.

  • {{error|An examplary error span|tag=span}}

See also[تعديل]