Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:Payoff matrix/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

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 =       |

See also

[edit]