Template:If/errmsg/doc

From blackwiki
< Template:If‎ | errmsg
Revision as of 15:56, 3 December 2010 by imported>Wikid77 (created, as documentation subpage, for Template:If/errmsg which displays specially-formatted messages for Template:If)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The Template:If/errmsg is used to display advisory messages for the Template:If which can process if-expressions without removing the leading or trailing spaces within then/else clauses of the logic.

Usage:  {{If/errmsg |{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}}}

The template passes the values of parameters {1}, {2}, {3} and {4} so that they can be displayed to clue the reader into spotting which instance (of using Template:If) had triggered the message.