Documentation | This is a documentation subpage for Template:Error (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
This is used when making templates that print out errors similar to parser function error.
{{#expr:2+2}}
→ 4{{#expr:10/0}}
→Division by zero.{{#expr:what}}
→ Expression error: Unrecognized word "what".{{error|You have an error.}}
→ Template:Error{{#expr:123*456-78+9/0^12}}
→ Division by zero.{{error|Division by zero.}}
→ Template:Error