Template:Ontario Bus License Plates format

From CPTDB Wiki
Jump to navigation Jump to search

This template is meant for the fleet pages to link to the Ontario Bus License Plate pages. It is split into 3 parts for easier linking to a specific page.

Variables:

  • series= the series the plates are in, if they are 1980 series plates, or prolonged plates, you must put 1980 here. If it is a 2009 series plate, you must put 2009. If you fail to include this, it will not work.
  • first2= the first two digits of the plate. For example, if the plate is "310 7BF", then you would put "31" in this section.
  • middle2= the middle two digits of the plate. It is VERY IMPORTANT to include the space between the two letters. Using the previous example above, you would put "0 7" in this section.
  • last2= the last two digits of the plate. Using the previous example above, you would put "BF" here.

The purpose of this template is to provide a standard format for the Ontario fleet pages. Reason we have to be separated into different sections is because of the lack of the ability to split it up in the programming. If you wish to update the format, you may do so in the sub-template pages found at the bottom of this page, however be certain to update both the 1980 and 2009 pages in the same manner if you should choose to edit the sub-templates.

Examples

For the 2009 series
You write:

{{Ontario Bus License Plates format|series=2009|first2=31|middle2=0 7|last2=BF}}

You get:
310 7BF

For the 1980 series
You write:

{{Ontario Bus License Plates format|series=1980|first2=BL|middle2=5 7|last2=99}}

You get:
BL5 799

Links

Sub-templates