The two infoboxes shown to the right are examples of using this template for a generic locomotive model (the EMD GP30 example) and for a specific locomotive (the John Bull example). The necessary code for each locomotive example is displayed on the left.
Note: although I prefer to use the "| option = value" method, as opposed to the "option = value|" method both examples work fine on all examples of this template. However, if you choose to use the "| option = value" method, be sure to omit the | (pipe) at the end of the template name (e.g. "{{Infobox Locomotive Auto" and not "{{Infobox Locomotive Auto|" ), as the pipe will be placed on the newline instead..