Edge Rewrite
Jump to content

Template:Die/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This template accepts up to six pips arguments, and two optional arguments: color and separator:

{{Die|<color>|<separator>|[pips1]|...|[pips6]}}

Where pips is a number from 0 to 6, and separator is between each die. color can be "blue" or defaults to black. The colors "red" and "green" are also partially supported with "red" supporting 1, 2, 4, and 5 pips, and the "green" supporting 3 and 4 pips (see examples). Template supports up to six dice.

Examples

[edit]
ExampleWikicodeOutput
One die {{die|1}} 1
Asian-style dice {{die|1|4|color=red}} 14
Max dice {{die|2|4|3|5|6|1}} 243561
Separator {{die|3|4|6|1|separator=+}} 3+4+6+1
Blank die {{die|0}} 0
Kismet (dice game) {{die|2|5|color=red}}{{die|3|4|color=green}} 2534
Blue die {{die|4|color=blue}} 4