Wikia

Psychology Wiki

Payoff matrix

Talk1
34,142pages on
this wiki

Template page

Revision as of 08:12, February 3, 2007 by Dr Joe Kiff (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Left Right
Up 0, 0 0, 0
Down 0, 0 0, 0
Payoff matrix

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

There are no required fields:

  • Strategies 1U, 1D default to "Up", "Down", 2L, 2R to "Left", "Right".
  • Cell payoffs UL, UR, DL, DR all default to "0, 0".
  • The Name field defaults to the page name.
  • The Float field defaults to "right", but can also be set to "left" or "none" (for inline use).
  • The Width field defaults to "225" pixels (cell widths: 75|75|75), but can also be set to other absolute or percentage values.

Standard matrix format:

{{Payoff matrix | Name =
                | 2L =            | 2R =            |
1U =            | UL =            | UR =            |
1D =            | DL =            | DR =            |
Float =         | Width =                           }}

Default color for all cells is white. To color the cells, include color labels (e.g. "silver" or "#C0C0C0") in the ULc, URc, DLc and DRc fields:

ULc =       | URc =       | DLc =       | DRc =       |

Around Wikia's network

Random Wiki