Template talk:Error

From FlightGear wiki
Jump to navigation Jump to search

Maybe template name as well

Maybe we should add a parameter for the template name as well. It could otherwise be a bit difficult to see where the error occurred when this template is used by a template that is used by other templates.

I suggest the following usage {{error|template|message}} and rendering the error like <big style="color: red;">{{tl|template}} message<big> (a link to the template will get you to the documentation quickly).

Johan G (Talk | contribs) 03:27, 26 October 2015 (EDT)

Added an optional template parameter, but in a backward compatible way. In essence {{error|message|template}}.
Johan G (Talk | contribs) 05:33, 29 October 2015 (EDT)