Template:Billiard ball number

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

This template is used for billiard ball categories.

Syntax[edit]

{{Billiard ball number|1}}
  • 1: Ball number as an integer (required).
  • 2: Image name (optional).

Function[edit]

  • This template passes the following parameters to Template:Number cat:
    • nt = ser
    • seriescat = Billiard balls (this places the category under Category:Billiard balls by number)
    • seriesprefix = Billiards (this is for creating the list of other billiard ball categories)
    • seriessuffix = balls (this is for creating the list of other billiard ball categories)
    • seriessort = Balls (this sorts the category under Category:Items numbered 1)
    • seriestype = items (this places the category under Category:Items numbered 1)
    • imagetype = file (if File:Billiardball1.png exists)
    • imagename = Billiardball1.png
    • n = 1 (this is the ball number)
    • debug = debug (only used for development)
  • Categorizes the category in Category:Number 1 on objects.