Template:Payoff matrix/doc

This template allows simple construction of 2-player, 2-strategy payoff matrices in game theory and other articles.

Usage
Insert the following before each applicable page's description:  If specified, the  parameter must be one of the following values:   (default), , or   (to make the payoff matrix inline with the content). To learn more about the CSS  property you can either see W3Schools or Mozilla Developer Network (MDN).

To change each cell's color, include a valid color label (e.g.: " " or " ") in the,  ,  ,   parameters.

The width of the matrix is controlled by the  parameter, whose default value is 225 pixels (or each matrix column being 75 pixels wide). You may set this value either to a fixed size (in pixels, default, such as " "), or an absolute size represented (such as " ").

All parameters are not required: