Template:Citybus Route

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

This template is used for CityBus (Hong Kong) route categories.

Syntax[edit]

{{Citybus Route|1|2|3|4}}
  • 1: Route number prefix (optional)
  • 2: Route number as an integer (required)
  • 3: Route number suffix (optional)
  • 4: Route status (optional; default is 'current', otherwise enter 'cancelled')

Function[edit]

  • This template passes the following parameters to Template:Number cat:
    • nt = ser
    • seriescat = CityBus Routes, Hong Kong (this places the category under Category:CityBus routes, Hong Kong)
    • seriesprefix = Citybus Route (this is for creating the list of other Citybus route categories)
    • seriestype = bus routes (this places the category under Category:Bus routes designated 1)
    • n = 2 (this is the route number)
    • nprefix = 1 (this is the route prefix if present)
    • nsuffix = 3 (this is the route suffix if present)
    • debug = debug (only used for development)