Jump to content

Formula:Error formalis

E Vicipaedia
(Redirectum de Formula:FormattingError)
Icon documentationis Documentatio formulae[ostende] [recense] [historiam inspice] [purga]
Hanc paginam, in spatio Formulae nominali, oportet Latine convertere.

Formula transitoria

Huic formulae licet sine transclusionibus manere, quia caduco usu adhiberi solet.

Outputs an error message in red into the page and adds the page to Categoria:Paginae cum erroribus formalibus. An anchor (FormattingError) is inserted at the start of the error message, so you can find any errors on a page easily by adding #FormattingError at the end of the URL (e.g. Template:val/test#FormattingError). Used in complex templates that check their arguments for validity, so incorrect use can be spotted while editing a page or afterwards.

Vicitextus:

{{Error formalis|Error: Gallia est omnis divisa in partes tres}}

vel

{{Error formalis|Error: Gallia est omnis divisa in partes tres|propositum=exhibitio}}

Effectus:

Error: Gallia est omnis divisa in partes tres

When using the nocategory argument, the error message is displayed as usual, but the page is not added to Categoria:Paginae cum erroribus formalibus. This is useful in documentation pages for templates that use {{Error formalis}} and show what errors they can generate without adding these documentation pages to the category. For an example of this, see {{LinkForElement}}.

This template can be evaluated using the {{#iferror:}} parser function:

  • {{#iferror:{{val|XX}}|error|OK}}error

Ulteriora si cupis

[fontem recensere]

Categoriae vestigatoriae

Haec formula categoriis vestigatoriis utitur: