Template:Die
[[File:Die face {{{1}}}b.svg|32px|{{{1}}}]]
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]Example | Wikicode | Output |
---|---|---|
One die | {{die|1}} | ![]() |
Asian-style dice | {{die|1|4|color=red}} | ![]() ![]() |
Max dice | {{die|2|4|3|5|6|1}} | ![]() ![]() ![]() ![]() ![]() ![]() |
Separator | {{die|3|4|6|1|separator=+}} | ![]() ![]() ![]() ![]() |
Blank die | {{die|0}} | ![]() |
Kismet (dice game) | {{die|2|5|color=red}}{{die|3|4|color=green}} | ![]() ![]() ![]() ![]() |
Blue die | {{die|4|color=blue}} | ![]() |