Template:Rummy

From Wikipedia, the free encyclopedia
Jump to: navigation, search
J
Template documentation[view] [edit] [history] [purge]

This template is meant for the representation of Rummikub tiles.

Usage[edit]

This template takes two parameters:

  • The first is the value of the tile (1 to 13, default value is J).
  • The second is the colour. Four colours are predefined: blue (b), red (r), yellow (y) and black (k). Any other colour is accepted, and the default value is black.

Examples:

  • {{rummy|10|k}}
    10
  • {{rummy|7|b}}
    7
  • {{rummy|12|r}}
    12
  • {{rummy|4|y}}
    4
  • {{rummy}}
    J
  • {{rummy||r}}
    J
  • {{rummy|5|#33CC33}}
    5

Only four joker icons are defined: black J, red J, blue J and yellow J.